[PATCH v4 00/19] iio: accel: bma220 improvements

Petre Rodan posted 19 patches 2 months, 1 week ago
MAINTAINERS                     |   7 +
drivers/iio/accel/Kconfig       |  19 +-
drivers/iio/accel/Makefile      |   4 +-
drivers/iio/accel/bma220.h      |  22 ++
drivers/iio/accel/bma220_core.c | 603 ++++++++++++++++++++++++++++++++++++++++
drivers/iio/accel/bma220_i2c.c  |  58 ++++
drivers/iio/accel/bma220_spi.c  | 319 ++-------------------
7 files changed, 735 insertions(+), 297 deletions(-)
[PATCH v4 00/19] iio: accel: bma220 improvements
Posted by Petre Rodan 2 months, 1 week ago
Series of patches that switch the driver to the regmap API and add
i2c connectivity.

Tested in I2C and SPI modes with two different sensors.

Event-related code was skipped since the patch series was getting too
large.

Bindings have been merged into testing branch, but this series is still
based on 'togreg'.

Contains fixes based on feedback from Krzysztof, David, Jonathan and Andy.

Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
---
Changes in v4:
- fixes based on Andy's feedback
- patch reordering (Andy)
- Link to v3: https://lore.kernel.org/r/20250913-b4-bma220_improvements-v3-0-0b97279b4e45@subdimension.ro

---
Petre Rodan (19):
      iio: accel: bma220: remove incorrect kernel-doc marking
      iio: accel: bma220: relax constraints during probe()
      iio: accel: bma220: cleanup license string
      iio: accel: bma220: shorten spi->dev calls
      iio: accel: bma220: move bma220_power function
      iio: accel: bma220: cleanup includes
      iio: accel: bma220: split original driver
      iio: accel: bma220: add open firmware table
      iio: accel: bma220: turn power supplies on
      iio: accel: bma220: reset registers during init stage
      iio: accel: bma220: migrate to regmap API
      iio: accel: bma220: populate buffer ts in trigger handler
      iio: accel: bma220: use find_match_table fct
      iio: accel: bma220: add i2c module
      iio: accel: bma220: add i2c watchdog feature
      iio: accel: bma220: add interrupt trigger
      iio: accel: bma220: add LPF cut-off frequency mapping
      iio: accel: bma220: add debugfs reg access
      iio: accel: bma220: add maintainer

 MAINTAINERS                     |   7 +
 drivers/iio/accel/Kconfig       |  19 +-
 drivers/iio/accel/Makefile      |   4 +-
 drivers/iio/accel/bma220.h      |  22 ++
 drivers/iio/accel/bma220_core.c | 603 ++++++++++++++++++++++++++++++++++++++++
 drivers/iio/accel/bma220_i2c.c  |  58 ++++
 drivers/iio/accel/bma220_spi.c  | 319 ++-------------------
 7 files changed, 735 insertions(+), 297 deletions(-)
---
base-commit: 561285d048053fec8a3d6d1e3ddc60df11c393a0
change-id: 20250913-b4-bma220_improvements-ad0b3df025bb

Best regards,
-- 
Petre Rodan <petre.rodan@subdimension.ro>