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 <[email protected]>
---
.../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 <[email protected]>
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 =]
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 <[email protected]>
Thanks,
Conor.
>
> Extend the kionix,kx022a.yaml file to support the KX132ACR-LBZ device
>
> Signed-off-by: Matti Vaittinen <[email protected]>
> ---
> .../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 <[email protected]>
>
> 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 =]