| From: |
| Petre Rodan <petre.rodan-AT-subdimension.ro> |
| To: |
| Jonathan Cameron <jic23-AT-kernel.org>, David Lechner <dlechner-AT-baylibre.com>, Nuno Sá <nuno.sa-AT-analog.com>, Andy Shevchenko <andy-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org> |
| Subject: |
| [PATCH v3 00/18] iio: accel: bma220 improvements |
| Date: |
| Sat, 13 Sep 2025 18:39:21 +0300 |
| Message-ID: |
| <20250913-b4-bma220_improvements-v3-0-0b97279b4e45@subdimension.ro> |
| Cc: |
| Jonathan Cameron <Jonathan.Cameron-AT-huawei.com>, linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Petre Rodan <petre.rodan-AT-subdimension.ro>, Krzysztof Kozlowski <krzysztof.kozlowski-AT-linaro.org> |
| Archive-link: |
| Article |
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.
b4 lost track [1] of the patch series after the v2->v3 rebase.
probably my fault. expecting weirdness.
[1] CRITICAL: This is not a prep-managed branch.
Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro>
---
Petre Rodan (18):
dt-bindings: iio: accel: bosch,bma220 cleanup typo
dt-bindings: iio: accel: bosch,bma220 setup SPI clock mode
dt-bindings: iio: accel: bosch,bma220 set irq type in example block
iio: accel: bma220: split original driver
iio: accel: bma220: add open firmware table
iio: accel: bma220: turn power supplies on
iio: accel: bma220: move bma220_power() fct
iio: accel: bma220: reset registers during init stage
iio: accel: bma220: relax constraints during probe()
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
.../bindings/iio/accel/bosch,bma220.yaml | 9 +-
MAINTAINERS | 7 +
drivers/iio/accel/Kconfig | 19 +-
drivers/iio/accel/Makefile | 4 +-
drivers/iio/accel/bma220.h | 20 +
drivers/iio/accel/bma220_core.c | 611 +++++++++++++++++++++
drivers/iio/accel/bma220_i2c.c | 58 ++
drivers/iio/accel/bma220_spi.c | 318 +----------
8 files changed, 749 insertions(+), 297 deletions(-)
---
base-commit: 661facba437e37c1685606825b9fd59be3f78771
change-id: 20250913-b4-bma220_improvements-ad0b3df025bb
Best regards,
--
Petre Rodan <petre.rodan@subdimension.ro>