summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/Kconfig
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2019-04-12 19:48:57 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-22 13:34:09 +0300
commita0701b6263aebdcb3f0b88add547f81e74da032b (patch)
treec418288a02f5786a2850669ed28c36791b5abba7 /drivers/iio/gyro/Kconfig
parent955e007729542aa019044b4b3ae71a83c879eede (diff)
downloadlinux-a0701b6263aebdcb3f0b88add547f81e74da032b.tar.xz
iio: gyro: add core driver for fxas21002c
Add core support for the NXP fxas21002c Tri-axis gyroscope, using the iio subsystem. It supports PM operations, axis reading, temperature, scale factor of the axis, high pass and low pass filtering, and sampling frequency selection. It will have extras modules to support the communication over i2c and spi. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/Kconfig')
-rw-r--r--drivers/iio/gyro/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/iio/gyro/Kconfig b/drivers/iio/gyro/Kconfig
index 3126cf05e6b9..cfd2cf44bac8 100644
--- a/drivers/iio/gyro/Kconfig
+++ b/drivers/iio/gyro/Kconfig
@@ -73,6 +73,17 @@ config BMG160_SPI
tristate
select REGMAP_SPI
+config FXAS21002C
+ tristate "NXP FXAS21002C Gyro Sensor"
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
+ help
+ Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
+ Sensor driver connected via I2C or SPI.
+
+ This driver can also be built as a module. If so, the module
+ will be called fxas21002c_i2c or fxas21002c_spi.
+
config HID_SENSOR_GYRO_3D
depends on HID_SENSOR_HUB
select IIO_BUFFER