Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: imu: st_lsm6dsx: add asm330lhhx device bindings

Add device bindings for asm330lhhx IMU sensor.
Use lsm6dsr as fallback device for asm330lhhx since it implements all
the features currently supported by asm330lhhx.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/2e5304b7e11085d4e701b4b591fd79cc54f01301.1649100168.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Lorenzo Bianconi and committed by
Jonathan Cameron
180ab171 fdd70d7a

+21 -17
+21 -17
Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
··· 14 14 15 15 properties: 16 16 compatible: 17 - enum: 18 - - st,lsm6ds3 19 - - st,lsm6ds3h 20 - - st,lsm6dsl 21 - - st,lsm6dsm 22 - - st,ism330dlc 23 - - st,lsm6dso 24 - - st,asm330lhh 25 - - st,lsm6dsox 26 - - st,lsm6dsr 27 - - st,lsm6ds3tr-c 28 - - st,ism330dhcx 29 - - st,lsm9ds1-imu 30 - - st,lsm6ds0 31 - - st,lsm6dsrx 32 - - st,lsm6dst 33 - - st,lsm6dsop 17 + oneOf: 18 + - enum: 19 + - st,lsm6ds3 20 + - st,lsm6ds3h 21 + - st,lsm6dsl 22 + - st,lsm6dsm 23 + - st,ism330dlc 24 + - st,lsm6dso 25 + - st,asm330lhh 26 + - st,lsm6dsox 27 + - st,lsm6dsr 28 + - st,lsm6ds3tr-c 29 + - st,ism330dhcx 30 + - st,lsm9ds1-imu 31 + - st,lsm6ds0 32 + - st,lsm6dsrx 33 + - st,lsm6dst 34 + - st,lsm6dsop 35 + - items: 36 + - const: st,asm330lhhx 37 + - const: st,lsm6dsr 34 38 35 39 reg: 36 40 maxItems: 1