Re: [PATCH v2 00/14] iio: accel: bma220 improvements

Jonathan Cameron
2025-09-10T18:18:43Z

On Wed, 10 Sep 2025 10:57:05 +0300
Petre Rodan <petre.rodan@subdimension.ro> wrote:

> 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.
>
> Contains fixes based on feedback from Krzysztof, David and Jonathan.
>
> First time pushing with b4, crossing fingers.
Worked nicely as far as I can see. I should try it myself at some point.
I've been using magic finger memory to format patches for far too long :)

Anyhow, this is coming together nicely. Don't rush a new version out
for a few days though to give others time to take a look.

thanks,

Jonathan

>
> Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
> ---
> Petre Rodan (14):
> dt-bindings: iio: accel: bosch,bma220 cleanup typo
> dt-bindings: iio: accel: bosch,bma220 setup SPI clock mode
> dt-bindings: iio: accel: bosch,bma220 change irq type
> iio: accel: bma220: split original driver
> iio: accel: bma220: add open firmware table
> iio: accel: bma220: add get regulator check
> iio: accel: bma220: reset registers during init stage
> iio: accel: bma220: migrate to regmap API
> 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
>
> .../bindings/iio/accel/bosch,bma220.yaml | 9 +-
> MAINTAINERS | 7 +
> drivers/iio/accel/Kconfig | 18 +-
> drivers/iio/accel/Makefile | 4 +-
> drivers/iio/accel/bma220.h | 20 +
> drivers/iio/accel/bma220_core.c | 617 +++++++++++++++++++++
> drivers/iio/accel/bma220_i2c.c | 61 ++
> drivers/iio/accel/bma220_spi.c | 318 +----------
> 8 files changed, 757 insertions(+), 297 deletions(-)
> ---
> base-commit: 19dc57d72d2b9365ef185286886c432f980cff55
> change-id: 20250907-bma220_improvements-e31641777e61
>
> Best regards,