rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # IIO Digital Gyroscope Sensor drivers configuration |
| 3 | # |
| 4 | # When adding new entries keep the list in alphabetical order |
| 5 | |
| 6 | menu "Digital gyroscope sensors" |
| 7 | |
| 8 | config ADIS16080 |
| 9 | tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver" |
| 10 | depends on SPI |
| 11 | help |
| 12 | Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw |
| 13 | Rate Gyroscope with SPI. |
| 14 | |
| 15 | config ADIS16130 |
| 16 | tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver" |
| 17 | depends on SPI |
| 18 | help |
| 19 | Say yes here to build support for Analog Devices ADIS16130 High Precision |
| 20 | Angular Rate Sensor driver. |
| 21 | |
| 22 | config ADIS16136 |
| 23 | tristate "Analog devices ADIS16136 and similar gyroscopes driver" |
| 24 | depends on SPI_MASTER |
| 25 | select IIO_ADIS_LIB |
| 26 | select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
| 27 | help |
| 28 | Say yes here to build support for the Analog Devices ADIS16133, ADIS16135, |
| 29 | ADIS16136 gyroscope devices. |
| 30 | |
| 31 | config ADIS16260 |
| 32 | tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver" |
| 33 | depends on SPI |
| 34 | select IIO_ADIS_LIB |
| 35 | select IIO_ADIS_LIB_BUFFER if IIO_BUFFER |
| 36 | help |
| 37 | Say yes here to build support for Analog Devices ADIS16260 ADIS16265 |
| 38 | ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors. |
| 39 | |
| 40 | This driver can also be built as a module. If so, the module |
| 41 | will be called adis16260. |
| 42 | |
| 43 | config ADXRS450 |
| 44 | tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver" |
| 45 | depends on SPI |
| 46 | help |
| 47 | Say yes here to build support for Analog Devices ADXRS450 and ADXRS453 |
| 48 | programmable digital output gyroscope. |
| 49 | |
| 50 | This driver can also be built as a module. If so, the module |
| 51 | will be called adxrs450. |
| 52 | |
| 53 | config BMG160 |
| 54 | tristate "BOSCH BMG160 Gyro Sensor" |
| 55 | depends on (I2C || SPI_MASTER) |
| 56 | select IIO_BUFFER |
| 57 | select IIO_TRIGGERED_BUFFER |
| 58 | select BMG160_I2C if (I2C) |
| 59 | select BMG160_SPI if (SPI) |
| 60 | help |
| 61 | Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor |
| 62 | driver connected via I2C or SPI. This driver also supports BMI055 |
| 63 | gyroscope. |
| 64 | |
| 65 | This driver can also be built as a module. If so, the module |
| 66 | will be called bmg160_i2c or bmg160_spi. |
| 67 | |
| 68 | config BMG160_I2C |
| 69 | tristate |
| 70 | select REGMAP_I2C |
| 71 | |
| 72 | config BMG160_SPI |
| 73 | tristate |
| 74 | select REGMAP_SPI |
| 75 | |
| 76 | config HID_SENSOR_GYRO_3D |
| 77 | depends on HID_SENSOR_HUB |
| 78 | select IIO_BUFFER |
| 79 | select IIO_TRIGGERED_BUFFER |
| 80 | select HID_SENSOR_IIO_COMMON |
| 81 | select HID_SENSOR_IIO_TRIGGER |
| 82 | tristate "HID Gyroscope 3D" |
| 83 | help |
| 84 | Say yes here to build support for the HID SENSOR |
| 85 | Gyroscope 3D. |
| 86 | |
| 87 | config MPU3050 |
| 88 | tristate |
| 89 | select IIO_BUFFER |
| 90 | select IIO_TRIGGERED_BUFFER |
| 91 | select REGMAP |
| 92 | |
| 93 | config MPU3050_I2C |
| 94 | tristate "Invensense MPU3050 devices on I2C" |
| 95 | depends on !(INPUT_MPU3050=y || INPUT_MPU3050=m) |
| 96 | depends on I2C |
| 97 | select MPU3050 |
| 98 | select REGMAP_I2C |
| 99 | select I2C_MUX |
| 100 | help |
| 101 | This driver supports the Invensense MPU3050 gyroscope over I2C. |
| 102 | This driver can be built as a module. The module will be called |
| 103 | inv-mpu3050-i2c. |
| 104 | |
| 105 | config IIO_ST_GYRO_3AXIS |
| 106 | tristate "STMicroelectronics gyroscopes 3-Axis Driver" |
| 107 | depends on (I2C || SPI_MASTER) && SYSFS |
| 108 | select IIO_ST_SENSORS_CORE |
| 109 | select IIO_ST_GYRO_I2C_3AXIS if (I2C) |
| 110 | select IIO_ST_GYRO_SPI_3AXIS if (SPI_MASTER) |
| 111 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
| 112 | help |
| 113 | Say yes here to build support for STMicroelectronics gyroscopes: |
| 114 | L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0. |
| 115 | |
| 116 | This driver can also be built as a module. If so, these modules |
| 117 | will be created: |
| 118 | - st_gyro (core functions for the driver [it is mandatory]); |
| 119 | - st_gyro_i2c (necessary for the I2C devices [optional*]); |
| 120 | - st_gyro_spi (necessary for the SPI devices [optional*]); |
| 121 | |
| 122 | (*) one of these is necessary to do something. |
| 123 | |
| 124 | config IIO_ST_GYRO_I2C_3AXIS |
| 125 | tristate |
| 126 | depends on IIO_ST_GYRO_3AXIS |
| 127 | depends on IIO_ST_SENSORS_I2C |
| 128 | |
| 129 | config IIO_ST_GYRO_SPI_3AXIS |
| 130 | tristate |
| 131 | depends on IIO_ST_GYRO_3AXIS |
| 132 | depends on IIO_ST_SENSORS_SPI |
| 133 | |
| 134 | config ITG3200 |
| 135 | tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver" |
| 136 | depends on I2C |
| 137 | select IIO_TRIGGERED_BUFFER if IIO_BUFFER |
| 138 | help |
| 139 | Say yes here to add support for the InvenSense ITG3200 digital |
| 140 | 3-axis gyroscope sensor. |
| 141 | |
| 142 | endmenu |