1# SPDX-License-Identifier: GPL-2.0-only 2# 3# IIO Digital Gyroscope Sensor drivers configuration 4# 5# When adding new entries keep the list in alphabetical order 6 7menu "Digital gyroscope sensors" 8 9config ADIS16080 10 tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver" 11 depends on SPI 12 help 13 Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw 14 Rate Gyroscope with SPI. 15 16config ADIS16130 17 tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver" 18 depends on SPI 19 help 20 Say yes here to build support for Analog Devices ADIS16130 High Precision 21 Angular Rate Sensor driver. 22 23config ADIS16136 24 tristate "Analog devices ADIS16136 and similar gyroscopes driver" 25 depends on SPI_MASTER 26 select IIO_ADIS_LIB 27 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER 28 help 29 Say yes here to build support for the Analog Devices ADIS16133, ADIS16135, 30 ADIS16136 gyroscope devices. 31 32config ADIS16260 33 tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver" 34 depends on SPI 35 select IIO_ADIS_LIB 36 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER 37 help 38 Say yes here to build support for Analog Devices ADIS16260 ADIS16265 39 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors. 40 41 This driver can also be built as a module. If so, the module 42 will be called adis16260. 43 44config ADXRS290 45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver" 46 depends on SPI 47 select IIO_BUFFER 48 select IIO_TRIGGERED_BUFFER 49 help 50 Say yes here to build support for Analog Devices ADXRS290 programmable 51 digital output gyroscope. 52 53 This driver can also be built as a module. If so, the module will be 54 called adxrs290. 55 56config ADXRS450 57 tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver" 58 depends on SPI 59 help 60 Say yes here to build support for Analog Devices ADXRS450 and ADXRS453 61 programmable digital output gyroscope. 62 63 This driver can also be built as a module. If so, the module 64 will be called adxrs450. 65 66config BMG160 67 tristate "BOSCH BMG160 Gyro Sensor" 68 depends on (I2C || SPI_MASTER) 69 select IIO_BUFFER 70 select IIO_TRIGGERED_BUFFER 71 select BMG160_I2C if (I2C) 72 select BMG160_SPI if (SPI) 73 help 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 76 and BMI088 gyroscope. 77 78 This driver can also be built as a module. If so, the module 79 will be called bmg160_i2c or bmg160_spi. 80 81config BMG160_I2C 82 tristate 83 select REGMAP_I2C 84 85config BMG160_SPI 86 tristate 87 select REGMAP_SPI 88 89config FXAS21002C 90 tristate "NXP FXAS21002C Gyro Sensor" 91 select IIO_BUFFER 92 select IIO_TRIGGERED_BUFFER 93 select FXAS21002C_I2C if (I2C) 94 select FXAS21002C_SPI if (SPI) 95 depends on (I2C || SPI_MASTER) 96 help 97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro 98 Sensor driver connected via I2C or SPI. 99 100 This driver can also be built as a module. If so, the module 101 will be called fxas21002c_i2c or fxas21002c_spi. 102 103config FXAS21002C_I2C 104 tristate 105 select REGMAP_I2C 106 107config FXAS21002C_SPI 108 tristate 109 select REGMAP_SPI 110 111config HID_SENSOR_GYRO_3D 112 depends on HID_SENSOR_HUB 113 select IIO_BUFFER 114 select IIO_TRIGGERED_BUFFER 115 select HID_SENSOR_IIO_COMMON 116 select HID_SENSOR_IIO_TRIGGER 117 tristate "HID Gyroscope 3D" 118 help 119 Say yes here to build support for the HID SENSOR 120 Gyroscope 3D. 121 122config MPU3050 123 tristate 124 select IIO_BUFFER 125 select IIO_TRIGGERED_BUFFER 126 select REGMAP 127 128config MPU3050_I2C 129 tristate "Invensense MPU3050 devices on I2C" 130 depends on !(INPUT_MPU3050=y || INPUT_MPU3050=m) 131 depends on I2C 132 select MPU3050 133 select REGMAP_I2C 134 select I2C_MUX 135 help 136 This driver supports the Invensense MPU3050 gyroscope over I2C. 137 This driver can be built as a module. The module will be called 138 inv-mpu3050-i2c. 139 140config 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) 147 help 148 Say yes here to build support for STMicroelectronics gyroscopes: 149 L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0. 150 151 This driver can also be built as a module. If so, these modules 152 will be created: 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*]); 156 157 (*) one of these is necessary to do something. 158 159config IIO_ST_GYRO_I2C_3AXIS 160 tristate 161 depends on IIO_ST_GYRO_3AXIS 162 depends on IIO_ST_SENSORS_I2C 163 164config IIO_ST_GYRO_SPI_3AXIS 165 tristate 166 depends on IIO_ST_GYRO_3AXIS 167 depends on IIO_ST_SENSORS_SPI 168 169config ITG3200 170 tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver" 171 depends on I2C 172 select IIO_TRIGGERED_BUFFER if IIO_BUFFER 173 help 174 Say yes here to add support for the InvenSense ITG3200 digital 175 3-axis gyroscope sensor. 176 177endmenu 178