summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/Kconfig
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-08-12 17:50:04 +0300
committerJonathan Cameron <jic23@kernel.org>2015-08-16 12:51:21 +0300
commitc6c9e995bcd8349f271b39e6abd9bd2f090ec5bd (patch)
tree71429d04007cfd5de7137bf48292fea745f6d591 /drivers/iio/gyro/Kconfig
parent8548a63b37be4891e7972ba058b785d9468e8907 (diff)
downloadlinux-c6c9e995bcd8349f271b39e6abd9bd2f090ec5bd.tar.xz
iio: bmg160: Use i2c regmap instead of direct i2c access
This patch introduces regmap usage into the driver. This is done to later easily support the SPI interface of this chip. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/gyro/Kconfig')
-rw-r--r--drivers/iio/gyro/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig
index 8d2439345673..cf82d74139a2 100644
--- a/drivers/iio/gyro/Kconfig
+++ b/drivers/iio/gyro/Kconfig
@@ -55,6 +55,7 @@ config BMG160
depends on I2C
select IIO_BUFFER
select IIO_TRIGGERED_BUFFER
+ select REGMAP_I2C
help
Say yes here to build support for Bosch BMG160 Tri-axis Gyro Sensor
driver. This driver also supports BMI055 gyroscope.