0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # IIO Digital Gyroscope Sensor drivers configuration
0004 #
0005 # When adding new entries keep the list in alphabetical order
0006
0007 menu "Digital gyroscope sensors"
0008
0009 config ADIS16080
0010 tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
0011 depends on SPI
0012 help
0013 Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
0014 Rate Gyroscope with SPI.
0015
0016 config ADIS16130
0017 tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
0018 depends on SPI
0019 help
0020 Say yes here to build support for Analog Devices ADIS16130 High Precision
0021 Angular Rate Sensor driver.
0022
0023 config ADIS16136
0024 tristate "Analog devices ADIS16136 and similar gyroscopes driver"
0025 depends on SPI_MASTER
0026 select IIO_ADIS_LIB
0027 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
0028 help
0029 Say yes here to build support for the Analog Devices ADIS16133, ADIS16135,
0030 ADIS16136 gyroscope devices.
0031
0032 config ADIS16260
0033 tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
0034 depends on SPI
0035 select IIO_ADIS_LIB
0036 select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
0037 help
0038 Say yes here to build support for Analog Devices ADIS16260 ADIS16265
0039 ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
0040
0041 This driver can also be built as a module. If so, the module
0042 will be called adis16260.
0043
0044 config ADXRS290
0045 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
0046 depends on SPI
0047 select IIO_BUFFER
0048 select IIO_TRIGGERED_BUFFER
0049 help
0050 Say yes here to build support for Analog Devices ADXRS290 programmable
0051 digital output gyroscope.
0052
0053 This driver can also be built as a module. If so, the module will be
0054 called adxrs290.
0055
0056 config ADXRS450
0057 tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
0058 depends on SPI
0059 help
0060 Say yes here to build support for Analog Devices ADXRS450 and ADXRS453
0061 programmable digital output gyroscope.
0062
0063 This driver can also be built as a module. If so, the module
0064 will be called adxrs450.
0065
0066 config BMG160
0067 tristate "BOSCH BMG160 Gyro Sensor"
0068 depends on (I2C || SPI_MASTER)
0069 select IIO_BUFFER
0070 select IIO_TRIGGERED_BUFFER
0071 select BMG160_I2C if (I2C)
0072 select BMG160_SPI if (SPI)
0073 help
0074 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
0075 driver connected via I2C or SPI. This driver also supports BMI055
0076 and BMI088 gyroscope.
0077
0078 This driver can also be built as a module. If so, the module
0079 will be called bmg160_i2c or bmg160_spi.
0080
0081 config BMG160_I2C
0082 tristate
0083 select REGMAP_I2C
0084
0085 config BMG160_SPI
0086 tristate
0087 select REGMAP_SPI
0088
0089 config FXAS21002C
0090 tristate "NXP FXAS21002C Gyro Sensor"
0091 select IIO_BUFFER
0092 select IIO_TRIGGERED_BUFFER
0093 select FXAS21002C_I2C if (I2C)
0094 select FXAS21002C_SPI if (SPI)
0095 depends on (I2C || SPI_MASTER)
0096 help
0097 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
0098 Sensor driver connected via I2C or SPI.
0099
0100 This driver can also be built as a module. If so, the module
0101 will be called fxas21002c_i2c or fxas21002c_spi.
0102
0103 config FXAS21002C_I2C
0104 tristate
0105 select REGMAP_I2C
0106
0107 config FXAS21002C_SPI
0108 tristate
0109 select REGMAP_SPI
0110
0111 config HID_SENSOR_GYRO_3D
0112 depends on HID_SENSOR_HUB
0113 select IIO_BUFFER
0114 select HID_SENSOR_IIO_COMMON
0115 select HID_SENSOR_IIO_TRIGGER
0116 tristate "HID Gyroscope 3D"
0117 help
0118 Say yes here to build support for the HID SENSOR
0119 Gyroscope 3D.
0120
0121 config MPU3050
0122 tristate
0123 select IIO_BUFFER
0124 select IIO_TRIGGERED_BUFFER
0125 select REGMAP
0126
0127 config MPU3050_I2C
0128 tristate "Invensense MPU3050 devices on I2C"
0129 depends on I2C
0130 select MPU3050
0131 select REGMAP_I2C
0132 select I2C_MUX
0133 help
0134 This driver supports the Invensense MPU3050 gyroscope over I2C.
0135 This driver can be built as a module. The module will be called
0136 inv-mpu3050-i2c.
0137
0138 config IIO_ST_GYRO_3AXIS
0139 tristate "STMicroelectronics gyroscopes 3-Axis Driver"
0140 depends on (I2C || SPI_MASTER) && SYSFS
0141 select IIO_ST_SENSORS_CORE
0142 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
0143 help
0144 Say yes here to build support for STMicroelectronics gyroscopes:
0145 L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0.
0146
0147 Also need to enable at least one of I2C and SPI interface drivers
0148 below.
0149
0150 config IIO_ST_GYRO_I2C_3AXIS
0151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface"
0152 depends on I2C && IIO_ST_GYRO_3AXIS
0153 default I2C && IIO_ST_GYRO_3AXIS
0154 select IIO_ST_SENSORS_I2C
0155 help
0156 Build support for STMicroelectronics gyroscopes I2C interface.
0157
0158 To compile this driver as a module, choose M here. The module
0159 will be called st_gyro_i2c.
0160
0161
0162 config IIO_ST_GYRO_SPI_3AXIS
0163 tristate "STMicroelectronics gyroscopes 3-Axis SPI Interface"
0164 depends on SPI_MASTER && IIO_ST_GYRO_3AXIS
0165 default SPI_MASTER && IIO_ST_GYRO_3AXIS
0166 select IIO_ST_SENSORS_SPI
0167 help
0168 Build support for STMicroelectronics gyroscopes SPI interface.
0169
0170 To compile this driver as a module, choose M here. The module
0171 will be called st_gyro_spi.
0172
0173
0174 config ITG3200
0175 tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
0176 depends on I2C
0177 select IIO_TRIGGERED_BUFFER if IIO_BUFFER
0178 help
0179 Say yes here to add support for the InvenSense ITG3200 digital
0180 3-axis gyroscope sensor.
0181
0182 endmenu