[PATCH 0/1] iio: add driver for Bosch BMA400 accelerometer

From: Dan Robertson
Date: Tue Sep 24 2019 - 22:10:19 EST


Add a IIO driver for the Bosch BMA400 3-axes ultra low-power accelerometer.
The initial implementation of the driver adds read support for the
acceleration and temperature data registers. The driver also has support for
reading and writing to the output data rate, oversampling ratio, and scale
configuration registers.

Comments and feedback are very much welcomed :)

Cheers,

- Dan

Dan Robertson (1):
iio: (bma400) add driver for the BMA400

drivers/iio/accel/Kconfig | 19 +
drivers/iio/accel/Makefile | 2 +
drivers/iio/accel/bma400.h | 74 +++
drivers/iio/accel/bma400_core.c | 862 ++++++++++++++++++++++++++++++++
drivers/iio/accel/bma400_i2c.c | 54 ++
5 files changed, 1011 insertions(+)
create mode 100644 drivers/iio/accel/bma400.h
create mode 100644 drivers/iio/accel/bma400_core.c
create mode 100644 drivers/iio/accel/bma400_i2c.c