diff mbox series

[v2,2/3] dt-bindings: iio: st: Add Silan SC7A20 accelerometer

Message ID 20220202235049.8051-3-samuel@sholland.org
State Accepted
Commit cb432e7dda793bd3e1821a3bacc23fe07630e80a
Headers show
Series None | expand

Commit Message

Samuel Holland Feb. 2, 2022, 11:50 p.m. UTC
This chip is not an ST part, but it appears to be register-compatible
with the LIS2DH, so it can use the same binding.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---

Changes in v2:
 - Move the new compatible to its own section

 Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
index 71de5631ebae..9735a2048255 100644
--- a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
+++ b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
@@ -46,6 +46,9 @@  properties:
           - st,lsm330d-accel
           - st,lsm330dl-accel
           - st,lsm330dlc-accel
+      - description: Silan Accelerometers
+        enum:
+          - silan,sc7a20
       - description: STMicroelectronics Gyroscopes
         enum:
           - st,l3g4200d-gyro