Merge tag 'cxl-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl
[linux-block.git] / drivers / iio / gyro / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
c5bdbef7 2#
3# IIO Digital Gyroscope Sensor drivers configuration
4#
3edc84e6
LPC
5# When adding new entries keep the list in alphabetical order
6
c5bdbef7 7menu "Digital gyroscope sensors"
8
a9fbbee8
LPC
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
32341859
LPC
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
9caed0d9
LPC
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
555d5a9f
LPC
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
2c8920ff
NM
44config ADXRS290
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
46 depends on SPI
67255580
NM
47 select IIO_BUFFER
48 select IIO_TRIGGERED_BUFFER
2c8920ff
NM
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
420b0fcb
LPC
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
22b46c45
SP
66config BMG160
67 tristate "BOSCH BMG160 Gyro Sensor"
13426454 68 depends on (I2C || SPI_MASTER)
06d2f6ca
MP
69 select IIO_BUFFER
70 select IIO_TRIGGERED_BUFFER
13426454 71 select BMG160_I2C if (I2C)
b1d125cc 72 select BMG160_SPI if (SPI)
22b46c45 73 help
13426454
MP
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
1579fc06 76 and BMI088 gyroscope.
22b46c45
SP
77
78 This driver can also be built as a module. If so, the module
b1d125cc 79 will be called bmg160_i2c or bmg160_spi.
13426454
MP
80
81config BMG160_I2C
82 tristate
83 select REGMAP_I2C
22b46c45 84
b1d125cc
MP
85config BMG160_SPI
86 tristate
87 select REGMAP_SPI
88
a0701b62 89config FXAS21002C
7dd1cfc1
KK
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.
a0701b62 102
a034cbe1 103config FXAS21002C_I2C
7dd1cfc1
KK
104 tristate
105 select REGMAP_I2C
a034cbe1 106
4da38f1b 107config FXAS21002C_SPI
7dd1cfc1
KK
108 tristate
109 select REGMAP_SPI
4da38f1b 110
c5bdbef7 111config HID_SENSOR_GYRO_3D
112 depends on HID_SENSOR_HUB
113 select IIO_BUFFER
c5bdbef7 114 select HID_SENSOR_IIO_COMMON
9541cc39 115 select HID_SENSOR_IIO_TRIGGER
c5bdbef7 116 tristate "HID Gyroscope 3D"
117 help
118 Say yes here to build support for the HID SENSOR
119 Gyroscope 3D.
120
3904b28e
LW
121config MPU3050
122 tristate
123 select IIO_BUFFER
124 select IIO_TRIGGERED_BUFFER
125 select REGMAP
126
127config MPU3050_I2C
128 tristate "Invensense MPU3050 devices on I2C"
b548674e 129 depends on I2C
3904b28e
LW
130 select MPU3050
131 select REGMAP_I2C
132 select I2C_MUX
133 help
134 This driver supports the Invensense MPU3050 gyroscope over I2C.
135 This driver can be built as a module. The module will be called
136 inv-mpu3050-i2c.
137
7be56a8f
DC
138config IIO_ST_GYRO_3AXIS
139 tristate "STMicroelectronics gyroscopes 3-Axis Driver"
140 depends on (I2C || SPI_MASTER) && SYSFS
141 select IIO_ST_SENSORS_CORE
7be56a8f 142 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
7be56a8f
DC
143 help
144 Say yes here to build support for STMicroelectronics gyroscopes:
41c128cb 145 L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0.
7be56a8f 146
26b2ec2e
NY
147 Also need to enable at least one of I2C and SPI interface drivers
148 below.
7be56a8f
DC
149
150config IIO_ST_GYRO_I2C_3AXIS
26b2ec2e
NY
151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface"
152 depends on I2C && IIO_ST_GYRO_3AXIS
153 default I2C && IIO_ST_GYRO_3AXIS
154 select IIO_ST_SENSORS_I2C
155 help
156 Build support for STMicroelectronics gyroscopes I2C interface.
157
158 To compile this driver as a module, choose M here. The module
159 will be called st_gyro_i2c.
160
7be56a8f
DC
161
162config IIO_ST_GYRO_SPI_3AXIS
26b2ec2e
NY
163 tristate "STMicroelectronics gyroscopes 3-Axis SPI Interface"
164 depends on SPI_MASTER && IIO_ST_GYRO_3AXIS
165 default SPI_MASTER && IIO_ST_GYRO_3AXIS
166 select IIO_ST_SENSORS_SPI
167 help
168 Build support for STMicroelectronics gyroscopes SPI interface.
169
170 To compile this driver as a module, choose M here. The module
171 will be called st_gyro_spi.
172
7be56a8f 173
9dbf091d
MS
174config ITG3200
175 tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
176 depends on I2C
177 select IIO_TRIGGERED_BUFFER if IIO_BUFFER
178 help
179 Say yes here to add support for the InvenSense ITG3200 digital
180 3-axis gyroscope sensor.
181
c5bdbef7 182endmenu