1#
2# Accelerometer drivers
3#
4comment "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_RING_BUFFER
10	select IIO_SW_RING if IIO_RING_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_RING_BUFFER
19	select IIO_SW_RING if IIO_RING_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_RING_BUFFER
28	select IIO_SW_RING if IIO_RING_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_RING_BUFFER
37	select IIO_SW_RING if IIO_RING_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_RING_BUFFER
53	select IIO_SW_RING if IIO_RING_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_RING_BUFFER
69	depends on !IIO_RING_BUFFER || IIO_KFIFO_BUF || IIO_SW_RING
70	help
71	  Say yes here to build SPI support for the ST microelectronics
72	  accelerometer. The driver supplies direct access via sysfs files
73	  and an event interface via a character device.
74
75choice
76	prompt "Buffer type"
77       	depends on LIS3L02DQ && IIO_RING_BUFFER
78
79config LIS3L02DQ_BUF_KFIFO
80       depends on IIO_KFIFO_BUF
81       bool "Simple FIFO"
82       help
83         Kfifo based FIFO.  Does not provide any events so it is up
84	 to userspace to ensure it reads often enough that data is not
85	 lost.
86
87config LIS3L02DQ_BUF_RING_SW
88       depends on IIO_SW_RING
89       bool "IIO Software Ring"
90       help
91         Original IIO ring buffer implementation.  Provides simple
92	 buffer events, half full etc.
93
94endchoice
95
96config SCA3000
97	depends on IIO_RING_BUFFER
98	depends on SPI
99	tristate "VTI SCA3000 series accelerometers"
100	help
101	  Say yes here to build support for the VTI SCA3000 series of SPI
102	  accelerometers. These devices use a hardware ring buffer.
103