From f9ab96e212808123fbd9072d580a59194e5cd410 Mon Sep 17 00:00:00 2001 From: Markus Pargmann Date: Mon, 21 Sep 2015 12:55:16 +0200 Subject: 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 Signed-off-by: Jonathan Cameron --- drivers/iio/accel/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/iio/accel/Kconfig') 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 -- cgit v1.2.3