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