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