Skip to content

Support ROHM KX134ACR-LBZ

Matti Vaittinen linux-devicetree linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio: gts: Simplify using __freedrivers/iio/industrialio-gts-helper.c+7 -100 replies
2/5iio: accel: kx022a: Use cleanup.h helpersdrivers/iio/accel/kionix-kx022a.c+23 -380 replies
3/5iio: accel: kx022a: Support ICs with different G-rangesdrivers/iio/accel/kionix-kx022a.c drivers/iio/accel/kionix-kx022a.h+23 -110 replies
4/5dt-bindings: ROHM KX134ACR-LBZDocumentation/devicetree/bindings/iio/accel/kionix,kx022a.yaml+3 -12 replies
5/5iio: 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 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

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

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

Read the v1 thread

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

Patch series introducing support for ROHM KX134ACR-LBZ accelerometer

This series adds support for ROHM KX124ACR-LBZ. The KX134ACR-LBZ is almost identical to the KX132ACR-LBZ. The differencies visible to the driver are different g-ranges and the "Who am I" -identification register's value.

This series does also convert parts of the GTS helpers and the kx022a driver to use __cleanup - based scoped free/unlock operations.

The patch 1/5 contains GTS helper change, which is independent from the rest of the series. It can be applied/rejected independently.

Patch 2/5 changes kx022a to use scoped mutexes. It can also be applied as an independent improvement even if the kx134acr-lbz support was not added.

Patches 3-5/5 are all related to supporting kx134acr-lbz. 3/5 adding mechanisms for supporting sensors with different g-ranges, 4/5 being the binding doc and 5/5 bringing the actual support in the driver.

---

Matti Vaittinen (5):
iio: gts: Simplify using __free
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

 .../bindings/iio/accel/kionix,kx022a.yaml     |   4 +-
 drivers/iio/accel/kionix-kx022a-i2c.c         |   2 +
 drivers/iio/accel/kionix-kx022a-spi.c         |   2 +
 drivers/iio/accel/kionix-kx022a.c             | 129 +++++++++++-------
 drivers/iio/accel/kionix-kx022a.h             |   4 +
 drivers/iio/industrialio-gts-helper.c         |  17 +--
 6 files changed, 98 insertions(+), 60 deletions(-)

base-commit: 20fd1383cd616d61b2a79967da1221dc6cfb8430

Signature · 1 line
2.47.0