xref: /linux/drivers/iio/accel/Kconfig (revision 31fd2c70b26d1fb803283c0488e3f84a2de1f329)
1#
2# Accelerometer drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Accelerometers"
7
8config ADXL345
9	tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer Driver"
10	depends on !(INPUT_ADXL34X=y || INPUT_ADXL34X=m)
11	depends on I2C
12	select REGMAP_I2C
13	help
14	  Say Y here if you want to build support for the Analog Devices
15	  ADXL345 3-axis digital accelerometer.
16
17	  To compile this driver as a module, choose M here: the
18	  module will be called adxl345.
19
20config BMA180
21	tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
22	depends on I2C
23	select IIO_BUFFER
24	select IIO_TRIGGERED_BUFFER
25	help
26	  Say Y here if you want to build a driver for the Bosch BMA180 or
27	  BMA250 triaxial acceleration sensor.
28
29	  To compile this driver as a module, choose M here: the
30	  module will be called bma180.
31
32config BMA220
33    tristate "Bosch BMA220 3-Axis Accelerometer Driver"
34	depends on SPI
35	select IIO_BUFFER
36	select IIO_TRIGGERED_BUFFER
37    help
38      Say yes here to add support for the Bosch BMA220 triaxial
39      acceleration sensor.
40
41      To compile this driver as a module, choose M here: the
42      module will be called bma220_spi.
43
44config BMC150_ACCEL
45	tristate "Bosch BMC150 Accelerometer Driver"
46	select IIO_BUFFER
47	select IIO_TRIGGERED_BUFFER
48	select REGMAP
49	select BMC150_ACCEL_I2C if I2C
50	select BMC150_ACCEL_SPI if SPI
51	help
52	  Say yes here to build support for the following Bosch accelerometers:
53	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
54
55	  This is a combo module with both accelerometer and magnetometer.
56	  This driver is only implementing accelerometer part, which has
57	  its own address and register map.
58
59config BMC150_ACCEL_I2C
60	tristate
61	select REGMAP_I2C
62
63config BMC150_ACCEL_SPI
64	tristate
65	select REGMAP_SPI
66
67config DA280
68	tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
69	depends on I2C
70	help
71	  Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
72	  digital accelerometer.
73
74	  To compile this driver as a module, choose M here: the
75	  module will be called da280.
76
77config DA311
78	tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
79	depends on I2C
80	help
81	  Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
82	  digital accelerometer.
83
84	  To compile this driver as a module, choose M here: the
85	  module will be called da311.
86
87config DMARD06
88	tristate "Domintech DMARD06 Digital Accelerometer Driver"
89	depends on OF || COMPILE_TEST
90	depends on I2C
91	help
92	  Say yes here to build support for the Domintech low-g tri-axial
93	  digital accelerometers: DMARD05, DMARD06, DMARD07.
94
95	  To compile this driver as a module, choose M here: the
96	  module will be called dmard06.
97
98config DMARD09
99	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
100	depends on I2C
101	help
102	  Say yes here to get support for the Domintech DMARD09 3-axis
103	  accelerometer.
104
105	  Choosing M will build the driver as a module. If so, the module
106	  will be called dmard09.
107
108config DMARD10
109	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
110	depends on I2C
111	help
112	  Say yes here to get support for the Domintech DMARD10 3-axis
113	  accelerometer.
114
115	  Choosing M will build the driver as a module. If so, the module
116	  will be called dmard10.
117
118config HID_SENSOR_ACCEL_3D
119	depends on HID_SENSOR_HUB
120	select IIO_BUFFER
121	select IIO_TRIGGERED_BUFFER
122	select HID_SENSOR_IIO_COMMON
123	select HID_SENSOR_IIO_TRIGGER
124	tristate "HID Accelerometers 3D"
125	help
126	  Say yes here to build support for the HID SENSOR
127	  accelerometers 3D.
128
129	  To compile this driver as a module, choose M here: the
130	  module will be called hid-sensor-accel-3d.
131
132config IIO_ST_ACCEL_3AXIS
133	tristate "STMicroelectronics accelerometers 3-Axis Driver"
134	depends on (I2C || SPI_MASTER) && SYSFS
135	depends on !SENSORS_LIS3_I2C
136	depends on !SENSORS_LIS3_SPI
137	select IIO_ST_SENSORS_CORE
138	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
139	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
140	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
141	help
142	  Say yes here to build support for STMicroelectronics accelerometers:
143	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
144	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
145	  LNG2DM
146
147	  This driver can also be built as a module. If so, these modules
148	  will be created:
149	  - st_accel (core functions for the driver [it is mandatory]);
150	  - st_accel_i2c (necessary for the I2C devices [optional*]);
151	  - st_accel_spi (necessary for the SPI devices [optional*]);
152
153	  (*) one of these is necessary to do something.
154
155config IIO_ST_ACCEL_I2C_3AXIS
156	tristate
157	depends on IIO_ST_ACCEL_3AXIS
158	depends on IIO_ST_SENSORS_I2C
159
160config IIO_ST_ACCEL_SPI_3AXIS
161	tristate
162	depends on IIO_ST_ACCEL_3AXIS
163	depends on IIO_ST_SENSORS_SPI
164
165config KXSD9
166	tristate "Kionix KXSD9 Accelerometer Driver"
167	select IIO_BUFFER
168	select IIO_TRIGGERED_BUFFER
169	help
170	  Say yes here to build support for the Kionix KXSD9 accelerometer.
171	  It can be accessed using an (optional) SPI or I2C interface.
172
173	  To compile this driver as a module, choose M here: the module
174	  will be called kxsd9.
175
176config KXSD9_SPI
177	tristate "Kionix KXSD9 SPI transport"
178	depends on KXSD9
179	depends on SPI
180	default KXSD9
181	select REGMAP_SPI
182	help
183	  Say yes here to enable the Kionix KXSD9 accelerometer
184	  SPI transport channel.
185
186config KXSD9_I2C
187	tristate "Kionix KXSD9 I2C transport"
188	depends on KXSD9
189	depends on I2C
190	default KXSD9
191	select REGMAP_I2C
192	help
193	  Say yes here to enable the Kionix KXSD9 accelerometer
194	  I2C transport channel.
195
196config KXCJK1013
197	tristate "Kionix 3-Axis Accelerometer Driver"
198	depends on I2C
199	select IIO_BUFFER
200	select IIO_TRIGGERED_BUFFER
201	help
202	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
203	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
204	  and KXTJ2-1009.
205
206	  To compile this driver as a module, choose M here: the module will
207	  be called kxcjk-1013.
208
209config MC3230
210	tristate "mCube MC3230 Digital Accelerometer Driver"
211	depends on I2C
212	help
213	  Say yes here to build support for the mCube MC3230 low-g tri-axial
214	  digital accelerometer.
215
216	  To compile this driver as a module, choose M here: the
217	  module will be called mc3230.
218
219config MMA7455
220	tristate
221	select IIO_BUFFER
222	select IIO_TRIGGERED_BUFFER
223
224config MMA7455_I2C
225	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
226	depends on I2C
227	select MMA7455
228	select REGMAP_I2C
229	help
230	  Say yes here to build support for the Freescale MMA7455L and
231	  MMA7456L 3-axis accelerometer.
232
233	  To compile this driver as a module, choose M here: the module
234	  will be called mma7455_i2c.
235
236config MMA7455_SPI
237	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
238	depends on SPI_MASTER
239	select MMA7455
240	select REGMAP_SPI
241	help
242	  Say yes here to build support for the Freescale MMA7455L and
243	  MMA7456L 3-axis accelerometer.
244
245	  To compile this driver as a module, choose M here: the module
246	  will be called mma7455_spi.
247
248config MMA7660
249	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
250	depends on I2C
251	help
252	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
253	  accelerometer.
254
255	  Choosing M will build the driver as a module. If so, the module
256	  will be called mma7660.
257
258config MMA8452
259	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
260	depends on I2C
261	select IIO_BUFFER
262	select IIO_TRIGGERED_BUFFER
263	help
264	  Say yes here to build support for the following Freescale / NXP 3-axis
265	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
266	  FXLS8471Q.
267
268	  To compile this driver as a module, choose M here: the module
269	  will be called mma8452.
270
271config MMA9551_CORE
272	tristate
273
274config MMA9551
275	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
276	depends on I2C
277	select MMA9551_CORE
278
279	help
280	  Say yes here to build support for the Freescale MMA9551L
281	  Intelligent Motion-Sensing Platform Driver.
282
283	  To compile this driver as a module, choose M here: the module
284	  will be called mma9551.
285
286config MMA9553
287	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
288	depends on I2C
289	select MMA9551_CORE
290	help
291	  Say yes here to build support for the Freescale MMA9553L
292	  Intelligent Pedometer Platform Driver.
293
294	  To compile this driver as a module, choose M here: the module
295	  will be called mma9553.
296
297config MXC4005
298	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
299	depends on I2C
300	select IIO_BUFFER
301	select IIO_TRIGGERED_BUFFER
302	select REGMAP_I2C
303	help
304	  Say yes here to build support for the Memsic MXC4005XC 3-axis
305	  accelerometer.
306
307	  To compile this driver as a module, choose M. The module will be
308	  called mxc4005.
309
310config MXC6255
311	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
312	depends on I2C
313	select REGMAP_I2C
314	help
315	  Say yes here to build support for the Memsic MXC6255 Orientation
316	  Sensing Accelerometer Driver.
317
318	  To compile this driver as a module, choose M here: the module will be
319	  called mxc6255.
320
321config SCA3000
322	select IIO_BUFFER
323	select IIO_KFIFO_BUF
324	depends on SPI
325	tristate "VTI SCA3000 series accelerometers"
326	help
327	  Say Y here to build support for the VTI SCA3000 series of SPI
328	  accelerometers. These devices use a hardware ring buffer.
329
330	  To compile this driver as a module, say M here: the module will be
331	  called sca3000.
332
333config STK8312
334	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
335	depends on I2C
336	select IIO_BUFFER
337	select IIO_TRIGGERED_BUFFER
338	help
339	  Say yes here to get support for the Sensortek STK8312 3-axis
340	  accelerometer.
341
342	  Choosing M will build the driver as a module. If so, the module
343	  will be called stk8312.
344
345config STK8BA50
346	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
347	depends on I2C
348	select IIO_BUFFER
349	select IIO_TRIGGERED_BUFFER
350	help
351	  Say yes here to get support for the Sensortek STK8BA50 3-axis
352	  accelerometer.
353
354	  Choosing M will build the driver as a module. If so, the module
355	  will be called stk8ba50.
356
357endmenu
358