diff mbox series

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

Message ID 20220202235049.8051-3-samuel@sholland.org (mailing list archive)
State Accepted
Headers show
Series iio: Silan SC7A20 accelerometer support | 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(+)

Comments

Linus Walleij Feb. 3, 2022, 4:35 p.m. UTC | #1
On Thu, Feb 3, 2022 at 12:50 AM Samuel Holland <samuel@sholland.org> wrote:

> 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>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Rob Herring (Arm) Feb. 9, 2022, 9:59 p.m. UTC | #2
On Wed, 02 Feb 2022 17:50:47 -0600, Samuel Holland wrote:
> 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(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
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