Merge tag 'mfd-3.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
[cascardo/linux.git] / drivers / staging / iio / accel / Kconfig
1 #
2 # Accelerometer drivers
3 #
4 menu "Accelerometers"
5
6 config ADIS16201
7         tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
8         depends on SPI
9         select IIO_ADIS_LIB
10         select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
11         help
12           Say yes here to build support for Analog Devices adis16201 dual-axis
13           digital inclinometer and accelerometer.
14
15 config ADIS16203
16         tristate "Analog Devices ADIS16203 Programmable 360 Degrees Inclinometer"
17         depends on SPI
18         select IIO_ADIS_LIB
19         select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
20         help
21           Say yes here to build support for Analog Devices adis16203 Programmable
22           360 Degrees Inclinometer.
23
24 config ADIS16204
25         tristate "Analog Devices ADIS16204 Programmable High-g Digital Impact Sensor and Recorder"
26         depends on SPI
27         select IIO_ADIS_LIB
28         select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
29         help
30           Say yes here to build support for Analog Devices adis16204 Programmable
31           High-g Digital Impact Sensor and Recorder.
32
33 config ADIS16209
34         tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
35         depends on SPI
36         select IIO_ADIS_LIB
37         select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
38         help
39           Say yes here to build support for Analog Devices adis16209 dual-axis digital inclinometer
40           and accelerometer.
41
42 config ADIS16220
43         tristate "Analog Devices ADIS16220 Programmable Digital Vibration Sensor"
44         depends on SPI
45         select IIO_ADIS_LIB
46         help
47           Say yes here to build support for Analog Devices adis16220 programmable
48           digital vibration sensor.
49
50 config ADIS16240
51         tristate "Analog Devices ADIS16240 Programmable Impact Sensor and Recorder"
52         depends on SPI
53         select IIO_ADIS_LIB
54         select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
55         help
56           Say yes here to build support for Analog Devices adis16240 programmable
57           impact Sensor and recorder.
58
59 config KXSD9
60         tristate "Kionix KXSD9 Accelerometer Driver"
61         depends on SPI
62         help
63           Say yes here to build support for the Kionix KXSD9 accelerometer.
64           Currently this only supports the device via an SPI interface.
65
66 config LIS3L02DQ
67         tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver"
68         depends on SPI
69         select IIO_TRIGGER if IIO_BUFFER
70         depends on !IIO_BUFFER || IIO_KFIFO_BUF || IIO_SW_RING
71         depends on GENERIC_GPIO
72         help
73           Say yes here to build SPI support for the ST microelectronics
74           accelerometer. The driver supplies direct access via sysfs files
75           and an event interface via a character device.
76
77 choice
78         prompt "Buffer type"
79         depends on LIS3L02DQ && IIO_BUFFER
80
81 config LIS3L02DQ_BUF_KFIFO
82        depends on IIO_KFIFO_BUF
83        bool "Simple FIFO"
84        help
85          Kfifo based FIFO.  Does not provide any events so it is up
86          to userspace to ensure it reads often enough that data is not
87          lost.
88
89 config LIS3L02DQ_BUF_RING_SW
90        depends on IIO_SW_RING
91        bool "IIO Software Ring"
92        help
93          Original IIO ring buffer implementation.  Provides simple
94          buffer events, half full etc.
95
96 endchoice
97
98 config SCA3000
99         depends on IIO_BUFFER
100         depends on SPI
101         tristate "VTI SCA3000 series accelerometers"
102         help
103           Say yes here to build support for the VTI SCA3000 series of SPI
104           accelerometers. These devices use a hardware ring buffer.
105
106 endmenu