summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/bma400.h
Commit message (Collapse)AuthorAgeFilesLines
* iio: accel: bma400: basic regulator supportDan Robertson2019-12-291-0/+4
| | | | | | | | | Add support for the VDD and VDDIO regulators using the regulator framework. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
* iio: accel: Add driver for the BMA400Dan Robertson2019-12-291-0/+95
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>
OpenPOWER on IntegriCloud