summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2023-01-06 11:22:37 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-01-08 13:01:02 +0000
commit4aaf3e40272d9699d84b04f09aa6c2166b7e4aba (patch)
treeeff52de92d74f34d4caa8a997ef3a088bbd592a5 /Documentation/devicetree/bindings
parenteae3e6f1c86f4499325cdaa3df4b90cd1f32464c (diff)
downloadlinux-stable-4aaf3e40272d9699d84b04f09aa6c2166b7e4aba.tar.gz
linux-stable-4aaf3e40272d9699d84b04f09aa6c2166b7e4aba.tar.bz2
linux-stable-4aaf3e40272d9699d84b04f09aa6c2166b7e4aba.zip
dt-bindings: iio: st-sensors: Add LSM303C accelerometer+magnetometer
The ST LSM303C [1] is a accelerometer and magnetometer combo sensor compatible with the existing ST sensor bindings. Accelerometer and magnetometer are exposed through separate I2C/SPI devices, so document separate compatibles with -accel and -magn suffix. [1]: https://www.st.com/resource/en/datasheet/lsm303c.pdf Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20230106102239.9647-2-stephan@gerhold.net Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/iio/st,st-sensors.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
index 250439b13152..c6201976378f 100644
--- a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
+++ b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
@@ -39,6 +39,7 @@ properties:
- st,lis3lv02dl-accel
- st,lng2dm-accel
- st,lsm303agr-accel
+ - st,lsm303c-accel
- st,lsm303dl-accel
- st,lsm303dlh-accel
- st,lsm303dlhc-accel
@@ -66,6 +67,7 @@ properties:
- st,lis2mdl
- st,lis3mdl-magn
- st,lsm303agr-magn
+ - st,lsm303c-magn
- st,lsm303dlh-magn
- st,lsm303dlhc-magn
- st,lsm303dlm-magn