1 # SPDX-License-Identifier: GPL-2.0-only
3 # IIO Digital Gyroscope Sensor drivers configuration
5 # When adding new entries keep the list in alphabetical order
7 menu "Digital gyroscope sensors"
10 tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
13 Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
14 Rate Gyroscope with SPI.
17 tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
20 Say yes here to build support for Analog Devices ADIS16130 High Precision
21 Angular Rate Sensor driver.
24 tristate "Analog devices ADIS16136 and similar gyroscopes driver"
27 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
29 Say yes here to build support for the Analog Devices ADIS16133, ADIS16135,
30 ADIS16136 gyroscope devices.
33 tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
36 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
38 Say yes here to build support for Analog Devices ADIS16260 ADIS16265
39 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
41 This driver can also be built as a module. If so, the module
42 will be called adis16260.
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
48 select IIO_TRIGGERED_BUFFER
50 Say yes here to build support for Analog Devices ADXRS290 programmable
51 digital output gyroscope.
53 This driver can also be built as a module. If so, the module will be
57 tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
60 Say yes here to build support for Analog Devices ADXRS450 and ADXRS453
61 programmable digital output gyroscope.
63 This driver can also be built as a module. If so, the module
64 will be called adxrs450.
67 tristate "BOSCH BMG160 Gyro Sensor"
68 depends on (I2C || SPI_MASTER)
70 select IIO_TRIGGERED_BUFFER
71 select BMG160_I2C if (I2C)
72 select BMG160_SPI if (SPI)
74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
75 driver connected via I2C or SPI. This driver also supports BMI055
78 This driver can also be built as a module. If so, the module
79 will be called bmg160_i2c or bmg160_spi.
90 tristate "NXP FXAS21002C Gyro Sensor"
92 select IIO_TRIGGERED_BUFFER
93 select FXAS21002C_I2C if (I2C)
94 select FXAS21002C_SPI if (SPI)
95 depends on (I2C || SPI_MASTER)
97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
98 Sensor driver connected via I2C or SPI.
100 This driver can also be built as a module. If so, the module
101 will be called fxas21002c_i2c or fxas21002c_spi.
103 config FXAS21002C_I2C
107 config FXAS21002C_SPI
111 config HID_SENSOR_GYRO_3D
112 depends on HID_SENSOR_HUB
114 select IIO_TRIGGERED_BUFFER
115 select HID_SENSOR_IIO_COMMON
116 select HID_SENSOR_IIO_TRIGGER
117 tristate "HID Gyroscope 3D"
119 Say yes here to build support for the HID SENSOR
125 select IIO_TRIGGERED_BUFFER
129 tristate "Invensense MPU3050 devices on I2C"
130 depends on !(INPUT_MPU3050=y || INPUT_MPU3050=m)
136 This driver supports the Invensense MPU3050 gyroscope over I2C.
137 This driver can be built as a module. The module will be called
140 config IIO_ST_GYRO_3AXIS
141 tristate "STMicroelectronics gyroscopes 3-Axis Driver"
142 depends on (I2C || SPI_MASTER) && SYSFS
143 select IIO_ST_SENSORS_CORE
144 select IIO_ST_GYRO_I2C_3AXIS if (I2C)
145 select IIO_ST_GYRO_SPI_3AXIS if (SPI_MASTER)
146 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
148 Say yes here to build support for STMicroelectronics gyroscopes:
149 L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0.
151 This driver can also be built as a module. If so, these modules
153 - st_gyro (core functions for the driver [it is mandatory]);
154 - st_gyro_i2c (necessary for the I2C devices [optional*]);
155 - st_gyro_spi (necessary for the SPI devices [optional*]);
157 (*) one of these is necessary to do something.
159 config IIO_ST_GYRO_I2C_3AXIS
161 depends on IIO_ST_GYRO_3AXIS
162 depends on IIO_ST_SENSORS_I2C
164 config IIO_ST_GYRO_SPI_3AXIS
166 depends on IIO_ST_GYRO_3AXIS
167 depends on IIO_ST_SENSORS_SPI
170 tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
172 select IIO_TRIGGERED_BUFFER if IIO_BUFFER
174 Say yes here to add support for the InvenSense ITG3200 digital
175 3-axis gyroscope sensor.