All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Support ROHM KX132ACR-LBZ Accelerometer
@ 2023-09-28  8:45 Matti Vaittinen
  2023-09-28  8:45 ` [PATCH v2 1/2] dt-bindings: iio: Add KX132ACR-LBZ accelerometer Matti Vaittinen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Matti Vaittinen @ 2023-09-28  8:45 UTC (permalink / raw)
  To: Matti Vaittinen, Matti Vaittinen
  Cc: Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Matti Vaittinen, Mehdi Djait,
	linux-iio, devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1676 bytes --]

The ROHM KX132ACR-LBZ is an accelerometer for industrial applications.
It has a subset of KX022A (NOTE: Not KX132-1211) 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 (except the
WHO_AM_I register value).

This series adds own DT compatible for the KX132ACR-LBZ and also own
chip-info in driver to allow handling the different 'WHO_AM_I' value.
The separation of the Kionix KX022A and ROHM KX132ACR-LBZ does also
allow adding support for the KX022A tilt/free fall/tap engines which are
not present on KX132ACR-LBZ.

Revision history:
v1 => v2:
 - Add KX132ACR-LBZ into list of the supported ICs in Kconfig

Matti Vaittinen (2):
  dt-bindings: iio: Add KX132ACR-LBZ accelerometer
  iio: kx022a: Support ROHM KX132ACR-LBZ

 .../bindings/iio/accel/kionix,kx022a.yaml     | 10 +++---
 drivers/iio/accel/Kconfig                     |  4 +--
 drivers/iio/accel/kionix-kx022a-i2c.c         |  4 ++-
 drivers/iio/accel/kionix-kx022a-spi.c         |  4 ++-
 drivers/iio/accel/kionix-kx022a.c             | 34 ++++++++++++++++++-
 drivers/iio/accel/kionix-kx022a.h             |  2 ++
 6 files changed, 49 insertions(+), 9 deletions(-)


base-commit: 5e99f692d4e32e3250ab18d511894ca797407aec
-- 
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 =] 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-30 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28  8:45 [PATCH v2 0/2] Support ROHM KX132ACR-LBZ Accelerometer Matti Vaittinen
2023-09-28  8:45 ` [PATCH v2 1/2] dt-bindings: iio: Add KX132ACR-LBZ accelerometer Matti Vaittinen
2023-09-29 14:27   ` Conor Dooley
2023-09-28  8:45 ` [PATCH v2 2/2] iio: kx022a: Support ROHM KX132ACR-LBZ Matti Vaittinen
2023-09-30 17:33 ` [PATCH v2 0/2] Support ROHM KX132ACR-LBZ Accelerometer Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.