From b1102e8c654ffbeee5e076ac0aac4f844e9ce211 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Sun, 7 Apr 2024 22:43:56 -0600 Subject: [PATCH] bma4xx: Set default supported channels in DTS Once added, these should be accessible via the devicetree macros. Signed-off-by: Yuval Peress --- dts/bindings/sensor/bosch,bma4xx-common.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dts/bindings/sensor/bosch,bma4xx-common.yaml b/dts/bindings/sensor/bosch,bma4xx-common.yaml index f7053021850c38f..5ab3756a89b0fbf 100644 --- a/dts/bindings/sensor/bosch,bma4xx-common.yaml +++ b/dts/bindings/sensor/bosch,bma4xx-common.yaml @@ -7,3 +7,10 @@ properties: description: | Identifies pin for the INT1 signal on the sensor. The sensor INT2,3,4 signals are not supported by the driver. + supported-channels: + default: + - SENSOR_CHAN_ACCEL_X + - SENSOR_CHAN_ACCEL_Y + - SENSOR_CHAN_ACCEL_Z + - SENSOR_CHAN_ACCEL_XYZ + - SENSOR_CHAN_DIE_TEMP