diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-09-21 13:55:16 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-10-03 14:06:38 +0300 |
commit | f9ab96e212808123fbd9072d580a59194e5cd410 (patch) | |
tree | a198e0cfd245fd075fbcb0e038c2c15de11e82fe /drivers/iio/accel/Kconfig | |
parent | 55637c38377a301cd0768cee73021e43d05de543 (diff) | |
download | linux-f9ab96e212808123fbd9072d580a59194e5cd410.tar.xz |
iio: bmc150: Add SPI driver
Add a simple SPI driver which initializes the spi regmap for the bmc150
core driver.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Kconfig')
-rw-r--r-- | drivers/iio/accel/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index bb00770b63bd..969428dd6329 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -23,6 +23,7 @@ config BMC150_ACCEL select IIO_TRIGGERED_BUFFER select REGMAP select BMC150_ACCEL_I2C if I2C + select BMC150_ACCEL_SPI if SPI help Say yes here to build support for the following Bosch accelerometers: BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. @@ -35,6 +36,10 @@ config BMC150_ACCEL_I2C tristate select REGMAP_I2C +config BMC150_ACCEL_SPI + tristate + select REGMAP_SPI + config HID_SENSOR_ACCEL_3D depends on HID_SENSOR_HUB select IIO_BUFFER |