iio: accel: Add driver for the BMA400
authorDan Robertson <dan@dlrobertson.com>
Fri, 20 Dec 2019 16:00:50 +0000 (16:00 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:02 +0000 (15:20 +0000)
commit465c811f1f201a7554a95cf003bc06a239606e9b
tree3645bf41ca3cfd62f972e44ddefb37dd90630f2f
parent5264c5f4c4690658922fcaddc1cdd925fb0069fd
iio: accel: Add driver for the BMA400

Add a IIO driver for the Bosch BMA400 3-axes ultra-low power accelerometer.
The driver supports reading from the acceleration and temperature
registers. The driver also supports reading and configuring the output data
rate, oversampling ratio, and scale.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/bma400.h [new file with mode: 0644]
drivers/iio/accel/bma400_core.c [new file with mode: 0644]
drivers/iio/accel/bma400_i2c.c [new file with mode: 0644]