diff mbox series

[v2,1/2] dt-bindings: iio: Add KX132ACR-LBZ accelerometer

Message ID 5c9e03ffad5e6e5970d6e71fb02eab4b652e109f.1695879676.git.mazziesaccount@gmail.com (mailing list archive)
State Accepted
Headers show
Series Support ROHM KX132ACR-LBZ Accelerometer | expand

Commit Message

Matti Vaittinen Sept. 28, 2023, 8:45 a.m. UTC
ROHM KX132ACR-LBZ is an accelerometer for industrial applications. It
has a subset of KX022A functionalities, dropping support for tap, free
fall and tilt detection engines. Also, the register interface is an exact
subset of what is found on KX022A.

Extend the kionix,kx022a.yaml file to support the KX132ACR-LBZ device

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
---
 .../devicetree/bindings/iio/accel/kionix,kx022a.yaml   | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Comments

Conor Dooley Sept. 29, 2023, 2:27 p.m. UTC | #1
On Thu, Sep 28, 2023 at 11:45:21AM +0300, Matti Vaittinen wrote:
> ROHM KX132ACR-LBZ is an accelerometer for industrial applications. It
> has a subset of KX022A functionalities, dropping support for tap, free
> fall and tilt detection engines. Also, the register interface is an exact
> subset of what is found on KX022A.

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> 
> Extend the kionix,kx022a.yaml file to support the KX132ACR-LBZ device
> 
> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
> ---
>  .../devicetree/bindings/iio/accel/kionix,kx022a.yaml   | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
> index 034b69614416..66ea894dbe55 100644
> --- a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
> @@ -4,21 +4,23 @@
>  $id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: ROHM/Kionix KX022A and KX132-1211 Accelerometers
> +title: ROHM/Kionix KX022A, KX132-1211 and KX132ACR-LBZ Accelerometers
>  
>  maintainers:
>    - Matti Vaittinen <mazziesaccount@gmail.com>
>  
>  description: |
> -  KX022A and KX132-1211 are 3-axis accelerometers supporting +/- 2G, 4G, 8G and
> -  16G ranges, variable output data-rates and a hardware-fifo buffering.
> -  KX022A and KX132-1211 can be accessed either via I2C or SPI.
> +  KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting
> +  +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a
> +  hardware-fifo buffering. These accelerometers can be accessed either
> +  via I2C or SPI.
>  
>  properties:
>    compatible:
>      enum:
>        - kionix,kx022a
>        - kionix,kx132-1211
> +      - rohm,kx132acr-lbz
>  
>    reg:
>      maxItems: 1
> -- 
> 2.41.0
> 
> 
> -- 
> Matti Vaittinen, Linux device drivers
> ROHM Semiconductors, Finland SWDC
> Kiviharjunlenkki 1E
> 90220 OULU
> FINLAND
> 
> ~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
> Simon says - in Latin please.
> ~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
> Thanks to Simon Glass for the translation =]
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
index 034b69614416..66ea894dbe55 100644
--- a/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml
@@ -4,21 +4,23 @@ 
 $id: http://devicetree.org/schemas/iio/accel/kionix,kx022a.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: ROHM/Kionix KX022A and KX132-1211 Accelerometers
+title: ROHM/Kionix KX022A, KX132-1211 and KX132ACR-LBZ Accelerometers
 
 maintainers:
   - Matti Vaittinen <mazziesaccount@gmail.com>
 
 description: |
-  KX022A and KX132-1211 are 3-axis accelerometers supporting +/- 2G, 4G, 8G and
-  16G ranges, variable output data-rates and a hardware-fifo buffering.
-  KX022A and KX132-1211 can be accessed either via I2C or SPI.
+  KX022A, KX132ACR-LBZ and KX132-1211 are 3-axis accelerometers supporting
+  +/- 2G, 4G, 8G and 16G ranges, variable output data-rates and a
+  hardware-fifo buffering. These accelerometers can be accessed either
+  via I2C or SPI.
 
 properties:
   compatible:
     enum:
       - kionix,kx022a
       - kionix,kx132-1211
+      - rohm,kx132acr-lbz
 
   reg:
     maxItems: 1