Series of patches that switch the driver to the regmap API, add i2c
connectivity, tap/low-g/high-g/slope event detection and a large number
of sysfs mappings while keeping backward compatibility.
Tested in I2C and SPI modes with two different sensors.
Petre Rodan (10):
dt-bindings: iio: accel: bosch,BMA220 improvements
iio: accel: BMA220 split original spi driver
iio: accel: BMA220 migrate to regmap SPI
iio: accel: BMA220 add i2c module
iio: accel: BMA220 make use of the watchdog functionality
iio: accel: BMA220 add LPF cut-off frequency mapping
iio: accel: BMA220 add debugfs reg access
iio: accel: BMA220 add events
iio: accel: BMA220 add event attrs
iio: accel: BMA220 add maintainer
.../bindings/iio/accel/bosch,bma220.yaml | 20 +-
MAINTAINERS | 7 +
drivers/iio/accel/Kconfig | 18 +-
drivers/iio/accel/Makefile | 4 +-
drivers/iio/accel/bma220.h | 21 +
drivers/iio/accel/bma220_core.c | 1551 +++++++++++++++++
drivers/iio/accel/bma220_i2c.c | 62 +
drivers/iio/accel/bma220_spi.c | 313 +---
8 files changed, 1702 insertions(+), 294 deletions(-)
create mode 100644 drivers/iio/accel/bma220.h
create mode 100644 drivers/iio/accel/bma220_core.c
create mode 100644 drivers/iio/accel/bma220_i2c.c
--
2.49.1