diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-19 14:12:46 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-31 17:06:11 +0100 |
commit | b1d125cc6236399258025b0c5646cafa2b45e043 (patch) | |
tree | 3b975e979ac52854d3501c68ed33c44c354ecb5f /drivers/iio/gyro/Kconfig | |
parent | 13426454b6493a847cebe276fb1ec3a7f1d48d0e (diff) |
iio: bmg160: Add SPI driver
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro/Kconfig')
-rw-r--r-- | drivers/iio/gyro/Kconfig | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig index 94526b13d49f..e816d29d6a62 100644 --- a/drivers/iio/gyro/Kconfig +++ b/drivers/iio/gyro/Kconfig @@ -56,18 +56,23 @@ config BMG160 select IIO_BUFFER select IIO_TRIGGERED_BUFFER select BMG160_I2C if (I2C) + select BMG160_SPI if (SPI) help Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor driver connected via I2C or SPI. This driver also supports BMI055 gyroscope. This driver can also be built as a module. If so, the module - will be called bmg160_i2c. + will be called bmg160_i2c or bmg160_spi. config BMG160_I2C tristate select REGMAP_I2C +config BMG160_SPI + tristate + select REGMAP_SPI + config HID_SENSOR_GYRO_3D depends on HID_SENSOR_HUB select IIO_BUFFER |