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