xref: /openbmc/linux/drivers/iio/gyro/Kconfig (revision f7777dcc)
1#
2# IIO Digital Gyroscope Sensor drivers configuration
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Digital gyroscope sensors"
7
8config ADIS16080
9	tristate "Analog Devices ADIS16080/100 Yaw Rate Gyroscope with SPI driver"
10	depends on SPI
11	help
12	  Say yes here to build support for Analog Devices ADIS16080, ADIS16100 Yaw
13	  Rate Gyroscope with SPI.
14
15config ADIS16130
16	tristate "Analog Devices ADIS16130 High Precision Angular Rate Sensor driver"
17	depends on SPI
18	help
19	  Say yes here to build support for Analog Devices ADIS16130 High Precision
20	  Angular Rate Sensor driver.
21
22config ADIS16136
23	tristate "Analog devices ADIS16136 and similar gyroscopes driver"
24	depends on SPI_MASTER
25	select IIO_ADIS_LIB
26	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
27	help
28	  Say yes here to build support for the Analog Devices ADIS16133, ADIS16135,
29	  ADIS16136 gyroscope devices.
30
31config ADIS16260
32	tristate "Analog Devices ADIS16260 Digital Gyroscope Sensor SPI driver"
33	depends on SPI
34	select IIO_ADIS_LIB
35	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
36	help
37	  Say yes here to build support for Analog Devices ADIS16260 ADIS16265
38	  ADIS16250 ADIS16255 and ADIS16251 programmable digital gyroscope sensors.
39
40	  This driver can also be built as a module.  If so, the module
41	  will be called adis16260.
42
43config ADXRS450
44	tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
45	depends on SPI
46	help
47	  Say yes here to build support for Analog Devices ADXRS450 and ADXRS453
48	  programmable digital output gyroscope.
49
50	  This driver can also be built as a module.  If so, the module
51	  will be called adxrs450.
52
53config HID_SENSOR_GYRO_3D
54	depends on HID_SENSOR_HUB
55	select IIO_BUFFER
56	select IIO_TRIGGERED_BUFFER
57	select HID_SENSOR_IIO_COMMON
58	select HID_SENSOR_IIO_TRIGGER
59	tristate "HID Gyroscope 3D"
60	help
61	  Say yes here to build support for the HID SENSOR
62	  Gyroscope 3D.
63
64config IIO_ST_GYRO_3AXIS
65	tristate "STMicroelectronics gyroscopes 3-Axis Driver"
66	depends on (I2C || SPI_MASTER) && SYSFS
67	select IIO_ST_SENSORS_CORE
68	select IIO_ST_GYRO_I2C_3AXIS if (I2C)
69	select IIO_ST_GYRO_SPI_3AXIS if (SPI_MASTER)
70	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
71	help
72	  Say yes here to build support for STMicroelectronics gyroscopes:
73	  L3G4200D, LSM330DL, L3GD20, L3GD20H, LSM330DLC, L3G4IS, LSM330.
74
75	  This driver can also be built as a module. If so, these modules
76	  will be created:
77	  - st_gyro (core functions for the driver [it is mandatory]);
78	  - st_gyro_i2c (necessary for the I2C devices [optional*]);
79	  - st_gyro_spi (necessary for the SPI devices [optional*]);
80
81	  (*) one of these is necessary to do something.
82
83config IIO_ST_GYRO_I2C_3AXIS
84	tristate
85	depends on IIO_ST_GYRO_3AXIS
86	depends on IIO_ST_SENSORS_I2C
87
88config IIO_ST_GYRO_SPI_3AXIS
89	tristate
90	depends on IIO_ST_GYRO_3AXIS
91	depends on IIO_ST_SENSORS_SPI
92
93config ITG3200
94	tristate "InvenSense ITG3200 Digital 3-Axis Gyroscope I2C driver"
95	depends on I2C
96	select IIO_TRIGGERED_BUFFER if IIO_BUFFER
97	help
98	  Say yes here to add support for the InvenSense ITG3200 digital
99	  3-axis gyroscope sensor.
100
101endmenu
102