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