OSDN Git Service

iio: accel: Add support for the Bosch-Sensortec BMI088
authorMike Looijmans <mike.looijmans@topic.nl>
Mon, 25 Jan 2021 15:07:32 +0000 (16:07 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 11 Mar 2021 20:46:58 +0000 (20:46 +0000)
commitc19ae6be7555abbee985d73372d0e78878a337f8
tree315b5c539828b71c33ad122d70766c8102c8233f
parent14aae60174db9415b2db8a9d57586a11d8280961
iio: accel: Add support for the Bosch-Sensortec BMI088

The BMI088 is a combined module with both accelerometer and gyroscope.
This adds the accelerometer driver support for the SPI interface.
The gyroscope part is already supported by the BMG160 driver.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210125150732.23873-2-mike.looijmans@topic.nl
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/bmi088-accel-core.c [new file with mode: 0644]
drivers/iio/accel/bmi088-accel-spi.c [new file with mode: 0644]
drivers/iio/accel/bmi088-accel.h [new file with mode: 0644]