18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# IIO Digital Gyroscope Sensor drivers configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci# When adding new entries keep the list in alphabetical order
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cimenu "Digital gyroscope sensors"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig ADIS16080
108c2ecf20Sopenharmony_ci	tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
118c2ecf20Sopenharmony_ci	depends on SPI
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	  Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
148c2ecf20Sopenharmony_ci	  Rate Gyroscope with SPI.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig ADIS16130
178c2ecf20Sopenharmony_ci	tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
188c2ecf20Sopenharmony_ci	depends on SPI
198c2ecf20Sopenharmony_ci	help
208c2ecf20Sopenharmony_ci	  Say yes here to build support for Analog Devices ADIS16130 High Precision
218c2ecf20Sopenharmony_ci	  Angular Rate Sensor driver.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig ADIS16136
248c2ecf20Sopenharmony_ci	tristate "Analog devices ADIS16136 and similar gyroscopes driver"
258c2ecf20Sopenharmony_ci	depends on SPI_MASTER
268c2ecf20Sopenharmony_ci	select IIO_ADIS_LIB
278c2ecf20Sopenharmony_ci	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Say yes here to build support for the Analog Devices ADIS16133, ADIS16135,
308c2ecf20Sopenharmony_ci	  ADIS16136 gyroscope devices.
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciconfig ADIS16260
338c2ecf20Sopenharmony_ci	tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
348c2ecf20Sopenharmony_ci	depends on SPI
358c2ecf20Sopenharmony_ci	select IIO_ADIS_LIB
368c2ecf20Sopenharmony_ci	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  Say yes here to build support for Analog Devices ADIS16260 ADIS16265
398c2ecf20Sopenharmony_ci	  ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
428c2ecf20Sopenharmony_ci	  will be called adis16260.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciconfig ADXRS290
458c2ecf20Sopenharmony_ci	tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
468c2ecf20Sopenharmony_ci	depends on SPI
478c2ecf20Sopenharmony_ci	select IIO_BUFFER
488c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
498c2ecf20Sopenharmony_ci	help
508c2ecf20Sopenharmony_ci	  Say yes here to build support for Analog Devices ADXRS290 programmable
518c2ecf20Sopenharmony_ci	  digital output gyroscope.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, the module will be
548c2ecf20Sopenharmony_ci	  called adxrs290.
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig ADXRS450
578c2ecf20Sopenharmony_ci	tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
588c2ecf20Sopenharmony_ci	depends on SPI
598c2ecf20Sopenharmony_ci	help
608c2ecf20Sopenharmony_ci	  Say yes here to build support for Analog Devices ADXRS450 and ADXRS453
618c2ecf20Sopenharmony_ci	  programmable digital output gyroscope.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
648c2ecf20Sopenharmony_ci	  will be called adxrs450.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ciconfig BMG160
678c2ecf20Sopenharmony_ci	tristate "BOSCH BMG160 Gyro Sensor"
688c2ecf20Sopenharmony_ci	depends on (I2C || SPI_MASTER)
698c2ecf20Sopenharmony_ci	select IIO_BUFFER
708c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
718c2ecf20Sopenharmony_ci	select BMG160_I2C if (I2C)
728c2ecf20Sopenharmony_ci	select BMG160_SPI if (SPI)
738c2ecf20Sopenharmony_ci	help
748c2ecf20Sopenharmony_ci	  Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
758c2ecf20Sopenharmony_ci	  driver connected via I2C or SPI. This driver also supports BMI055
768c2ecf20Sopenharmony_ci	  and BMI088 gyroscope.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
798c2ecf20Sopenharmony_ci	  will be called bmg160_i2c or bmg160_spi.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciconfig BMG160_I2C
828c2ecf20Sopenharmony_ci	tristate
838c2ecf20Sopenharmony_ci	select REGMAP_I2C
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ciconfig BMG160_SPI
868c2ecf20Sopenharmony_ci	tristate
878c2ecf20Sopenharmony_ci	select REGMAP_SPI
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ciconfig FXAS21002C
908c2ecf20Sopenharmony_ci	tristate "NXP FXAS21002C Gyro Sensor"
918c2ecf20Sopenharmony_ci	select IIO_BUFFER
928c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
938c2ecf20Sopenharmony_ci	select FXAS21002C_I2C if (I2C)
948c2ecf20Sopenharmony_ci	select FXAS21002C_SPI if (SPI)
958c2ecf20Sopenharmony_ci	depends on (I2C || SPI_MASTER)
968c2ecf20Sopenharmony_ci	help
978c2ecf20Sopenharmony_ci	  Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
988c2ecf20Sopenharmony_ci	  Sensor driver connected via I2C or SPI.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
1018c2ecf20Sopenharmony_ci	  will be called fxas21002c_i2c or fxas21002c_spi.
1028c2ecf20Sopenharmony_ci
1038c2ecf20Sopenharmony_ciconfig FXAS21002C_I2C
1048c2ecf20Sopenharmony_ci	tristate
1058c2ecf20Sopenharmony_ci	select REGMAP_I2C
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ciconfig FXAS21002C_SPI
1088c2ecf20Sopenharmony_ci	tristate
1098c2ecf20Sopenharmony_ci	select REGMAP_SPI
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ciconfig HID_SENSOR_GYRO_3D
1128c2ecf20Sopenharmony_ci	depends on HID_SENSOR_HUB
1138c2ecf20Sopenharmony_ci	select IIO_BUFFER
1148c2ecf20Sopenharmony_ci	select HID_SENSOR_IIO_COMMON
1158c2ecf20Sopenharmony_ci	select HID_SENSOR_IIO_TRIGGER
1168c2ecf20Sopenharmony_ci	tristate "HID Gyroscope 3D"
1178c2ecf20Sopenharmony_ci	help
1188c2ecf20Sopenharmony_ci	  Say yes here to build support for the HID SENSOR
1198c2ecf20Sopenharmony_ci	  Gyroscope 3D.
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ciconfig MPU3050
1228c2ecf20Sopenharmony_ci	tristate
1238c2ecf20Sopenharmony_ci	select IIO_BUFFER
1248c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER
1258c2ecf20Sopenharmony_ci	select REGMAP
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ciconfig MPU3050_I2C
1288c2ecf20Sopenharmony_ci	tristate "Invensense MPU3050 devices on I2C"
1298c2ecf20Sopenharmony_ci	depends on !(INPUT_MPU3050=y || INPUT_MPU3050=m)
1308c2ecf20Sopenharmony_ci	depends on I2C
1318c2ecf20Sopenharmony_ci	select MPU3050
1328c2ecf20Sopenharmony_ci	select REGMAP_I2C
1338c2ecf20Sopenharmony_ci	select I2C_MUX
1348c2ecf20Sopenharmony_ci	help
1358c2ecf20Sopenharmony_ci	  This driver supports the Invensense MPU3050 gyroscope over I2C.
1368c2ecf20Sopenharmony_ci	  This driver can be built as a module. The module will be called
1378c2ecf20Sopenharmony_ci	  inv-mpu3050-i2c.
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_ciconfig IIO_ST_GYRO_3AXIS
1408c2ecf20Sopenharmony_ci	tristate "STMicroelectronics gyroscopes 3-Axis Driver"
1418c2ecf20Sopenharmony_ci	depends on (I2C || SPI_MASTER) && SYSFS
1428c2ecf20Sopenharmony_ci	select IIO_ST_SENSORS_CORE
1438c2ecf20Sopenharmony_ci	select IIO_ST_GYRO_I2C_3AXIS if (I2C)
1448c2ecf20Sopenharmony_ci	select IIO_ST_GYRO_SPI_3AXIS if (SPI_MASTER)
1458c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
1468c2ecf20Sopenharmony_ci	help
1478c2ecf20Sopenharmony_ci	  Say yes here to build support for STMicroelectronics gyroscopes:
1488c2ecf20Sopenharmony_ci	  L3G4200D, LSM330DL, L3GD20, LSM330DLC, L3G4IS, LSM330, LSM9DS0.
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_ci	  This driver can also be built as a module. If so, these modules
1518c2ecf20Sopenharmony_ci	  will be created:
1528c2ecf20Sopenharmony_ci	  - st_gyro (core functions for the driver [it is mandatory]);
1538c2ecf20Sopenharmony_ci	  - st_gyro_i2c (necessary for the I2C devices [optional*]);
1548c2ecf20Sopenharmony_ci	  - st_gyro_spi (necessary for the SPI devices [optional*]);
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci	  (*) one of these is necessary to do something.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciconfig IIO_ST_GYRO_I2C_3AXIS
1598c2ecf20Sopenharmony_ci	tristate
1608c2ecf20Sopenharmony_ci	depends on IIO_ST_GYRO_3AXIS
1618c2ecf20Sopenharmony_ci	depends on IIO_ST_SENSORS_I2C
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ciconfig IIO_ST_GYRO_SPI_3AXIS
1648c2ecf20Sopenharmony_ci	tristate
1658c2ecf20Sopenharmony_ci	depends on IIO_ST_GYRO_3AXIS
1668c2ecf20Sopenharmony_ci	depends on IIO_ST_SENSORS_SPI
1678c2ecf20Sopenharmony_ci
1688c2ecf20Sopenharmony_ciconfig ITG3200
1698c2ecf20Sopenharmony_ci	tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
1708c2ecf20Sopenharmony_ci	depends on I2C
1718c2ecf20Sopenharmony_ci	select IIO_TRIGGERED_BUFFER if IIO_BUFFER
1728c2ecf20Sopenharmony_ci	help
1738c2ecf20Sopenharmony_ci	  Say yes here to add support for the InvenSense ITG3200 digital
1748c2ecf20Sopenharmony_ci	  3-axis gyroscope sensor.
1758c2ecf20Sopenharmony_ci
1768c2ecf20Sopenharmony_ciendmenu
177