Skip to content

Support ROHM KX134ACR-LBZ

Matti Vaittinen linux-devicetree linux-iio lkml llvm oe-kbuild-all 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 9 repliesIn review
  2. v28 patches 11 repliesSuperseded
  3. v11 patch 9 repliesSuperseded

Changes in v3 from the cover letter

- Drop applied reset delay time fix
- Drop the part converting the gts-helpers to use cleanup
- Add patch which gets rid of the lock+disable and unlock+enable functions. This depends on not yet in IIO-tree if_not_cond_guard().

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iio: accel: kx022a: Use cleanup.h helpersdrivers/iio/accel/kionix-kx022a.c+23 -381 reply
2/7iio: accel: kx022a: Support ICs with different G-rangesdrivers/iio/accel/kionix-kx022a.c drivers/iio/accel/kionix-kx022a.h+23 -112 replies
3/7dt-bindings: ROHM KX134ACR-LBZDocumentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml+3 -10 replies
4/7iio: kx022a: Support ROHM KX134ACR-LBZdrivers/iio/accel/kionix-kx022a-i2c.c drivers/iio/accel/kionix-kx022a-spi.c drivers/iio/accel/kionix-kx022a.c +1 more+42 -01 reply
5/7dt-bindings: iio: kx022a: Support KX134-1211Documentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml+6 -50 replies
6/7iio: accel: kx022a: Support KX134-1211drivers/iio/accel/kionix-kx022a-i2c.c drivers/iio/accel/kionix-kx022a-spi.c drivers/iio/accel/kionix-kx022a.c +1 more+36 -01 reply
7/7iio: accel: kx022a: align with subsystem waydrivers/iio/accel/kionix-kx022a.c+48 -734 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchConor Dooley
1/7
2/7
3/7A-b
4/7
5/7A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] Support ROHM KX134ACR-LBZ

This patch series introduces support for ROHM KX134ACR-LBZ and KX134-1211 accelerometers.

The KX134ACR-LBZ is almost identical to the KX132ACR-LBZ. Similarly the KX134-1211 is almost identical to the KX132-1211. The differencies visible to the driver are different g-ranges and the "Who am I" -identification register's values.

This series also converts the kx022a driver to use __cleanup - based scoped unlock operations.

The last patch depends on the if_not_cond_guard() - which is not yet in iio/testing. All other patches should be working as they are.

Revision history:
v2 => v3:
- Drop applied reset delay time fix
- Drop the part converting the gts-helpers to use cleanup
- Add patch which gets rid of the lock+disable and unlock+enable functions. This depends on not yet in IIO-tree if_not_cond_guard().
v1 => v2:
- Rebased on iio-fixes to avoid conflicts with queued fixes.
- Added the reset delay change to the series to avoid conflicts. Was previously sent as an individual patch:
https://lore.kernel.org/all/ZzWfXbjaDkFnu_Jg@mva-rohm/
- Added support for kx134-1211

---

Matti Vaittinen (7):
iio: accel: kx022a: Use cleanup.h helpers
iio: accel: kx022a: Support ICs with different G-ranges
dt-bindings: ROHM KX134ACR-LBZ
iio: kx022a: Support ROHM KX134ACR-LBZ
dt-bindings: iio: kx022a: Support KX134-1211
iio: accel: kx022a: Support KX134-1211
iio: accel: kx022a: align with subsystem way

 .../bindings/iio/accel/kionix,kx022a.yaml     |  11 +-
 drivers/iio/accel/kionix-kx022a-i2c.c         |   4 +
 drivers/iio/accel/kionix-kx022a-spi.c         |   4 +
 drivers/iio/accel/kionix-kx022a.c             | 262 ++++++++++--------
 drivers/iio/accel/kionix-kx022a.h             |   6 +
 5 files changed, 170 insertions(+), 117 deletions(-)

base-commit: a61ff7eac77e86de828fe28c4e42b8ae9ec2b195

Signature · 1 line
2.47.0