summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/Kconfig
diff options
context:
space:
mode:
authorMarkus Pargmann2015-08-12 16:50:04 +0200
committerJonathan Cameron2015-08-16 11:51:21 +0200
commitc6c9e995bcd8349f271b39e6abd9bd2f090ec5bd (patch)
tree71429d04007cfd5de7137bf48292fea745f6d591 /drivers/iio/gyro/Kconfig
parentiio: Move generic buffer implementations to sub-directory (diff)
downloadkernel-qcow2-linux-c6c9e995bcd8349f271b39e6abd9bd2f090ec5bd.tar.gz
kernel-qcow2-linux-c6c9e995bcd8349f271b39e6abd9bd2f090ec5bd.tar.xz
kernel-qcow2-linux-c6c9e995bcd8349f271b39e6abd9bd2f090ec5bd.zip
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.