diff mbox series

[2/2] dt-bindings: iio: imu: st_lsm6dsx: add ism330is

Message ID a7a8a00037952928364269615ee8b6da4547795b.1669279604.git.lorenzo@kernel.org (mailing list archive)
State Accepted
Headers show
Series add support for ISM330IS | expand

Commit Message

Lorenzo Bianconi Nov. 24, 2022, 8:49 a.m. UTC
Add device bindings for ism330is IMU sensor.
Use lsm6dso16is as fallback device for ism330is since it implements all the
features currently supported by ism330is.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Krzysztof Kozlowski Nov. 24, 2022, 10:21 a.m. UTC | #1
On 24/11/2022 09:49, Lorenzo Bianconi wrote:
> Add device bindings for ism330is IMU sensor.
> Use lsm6dso16is as fallback device for ism330is since it implements all the
> features currently supported by ism330is.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

There were few changes to this binding (new compatibles) and the names
are similar, so I hope the end result is correct... Briefly it looks fine:

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
index 07d5aee7e442..68b481c63318 100644
--- a/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
+++ b/Documentation/devicetree/bindings/iio/imu/st,lsm6dsx.yaml
@@ -43,6 +43,9 @@  properties:
       - items:
           - const: st,lsm6dsv16x
           - const: st,lsm6dsv
+      - items:
+          - const: st,ism330is
+          - const: st,lsm6dso16is
 
   reg:
     maxItems: 1