hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/iio/gyro/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # IIO Digital Gyroscope Sensor drivers configuration
34 #
....@@ -40,6 +41,18 @@
4041 This driver can also be built as a module. If so, the module
4142 will be called adis16260.
4243
44
+config 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
+
4356 config ADXRS450
4457 tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
4558 depends on SPI
....@@ -60,7 +73,7 @@
6073 help
6174 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
6275 driver connected via I2C or SPI. This driver also supports BMI055
63
- gyroscope.
76
+ and BMI088 gyroscope.
6477
6578 This driver can also be built as a module. If so, the module
6679 will be called bmg160_i2c or bmg160_spi.
....@@ -73,10 +86,31 @@
7386 tristate
7487 select REGMAP_SPI
7588
89
+config 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
+
103
+config FXAS21002C_I2C
104
+ tristate
105
+ select REGMAP_I2C
106
+
107
+config FXAS21002C_SPI
108
+ tristate
109
+ select REGMAP_SPI
110
+
76111 config HID_SENSOR_GYRO_3D
77112 depends on HID_SENSOR_HUB
78113 select IIO_BUFFER
79
- select IIO_TRIGGERED_BUFFER
80114 select HID_SENSOR_IIO_COMMON
81115 select HID_SENSOR_IIO_TRIGGER
82116 tristate "HID Gyroscope 3D"