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