blob: 898839ca164ad5f61c97f94218edc9eabdc8555d [file] [log] [blame]
srinivas pandruvada45fe6f72012-09-05 13:56:00 +01001#
2# Accelerometer drivers
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
srinivas pandruvada45fe6f72012-09-05 13:56:00 +01006menu "Accelerometers"
7
Himanshu Jha591298e2018-03-23 00:42:45 +05308config 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
Shreeya Patel524c7622018-03-29 14:52:51 +053020config 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
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080032config ADXL345
Eva Rachel Retuya51705122017-03-04 16:31:25 +080033 tristate
34
35config ADXL345_I2C
36 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
37 depends on INPUT_ADXL34X=n
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080038 depends on I2C
Eva Rachel Retuya51705122017-03-04 16:31:25 +080039 select ADXL345
Eva Rachel Retuya31fd2c72017-03-04 16:31:24 +080040 select REGMAP_I2C
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080041 help
42 Say Y here if you want to build support for the Analog Devices
Lars-Peter Clausenef89f4b2018-07-13 14:50:44 +030043 ADXL345 or ADXL375 3-axis digital accelerometer.
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080044
Eva Rachel Retuya51705122017-03-04 16:31:25 +080045 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.
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080048
Eva Rachel Retuyafb0e5252017-03-04 16:31:26 +080049config 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
Lars-Peter Clausenef89f4b2018-07-13 14:50:44 +030057 ADXL345 or ADXL375 3-axis digital accelerometer.
Eva Rachel Retuyafb0e5252017-03-04 16:31:26 +080058
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
Stefan Popa4097da42018-08-10 11:46:18 +030063config ADXL372
Stefan Popad9e8fd02018-09-04 17:11:31 +030064 tristate
Stefan Popa4097da42018-08-10 11:46:18 +030065 select IIO_BUFFER
66 select IIO_TRIGGERED_BUFFER
Stefan Popad9e8fd02018-09-04 17:11:31 +030067
68config ADXL372_SPI
69 tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
70 depends on SPI
71 select ADXL372
72 select REGMAP_SPI
Stefan Popa4097da42018-08-10 11:46:18 +030073 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
Stefan Popad9e8fd02018-09-04 17:11:31 +030077 module will be called adxl372_spi.
Stefan Popa4097da42018-08-10 11:46:18 +030078
Stefan Popa94dbb462018-09-04 17:12:32 +030079config ADXL372_I2C
80 tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
81 depends on I2C
82 select ADXL372
83 select REGMAP_I2C
84 help
85 Say yes here to add support for the Analog Devices ADXL372 triaxial
86 acceleration sensor.
87 To compile this driver as a module, choose M here: the
88 module will be called adxl372_i2c.
89
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010090config BMA180
Peter Meerwald2017cff2014-08-19 23:43:00 +010091 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010092 depends on I2C
93 select IIO_BUFFER
94 select IIO_TRIGGERED_BUFFER
95 help
Peter Meerwald2017cff2014-08-19 23:43:00 +010096 Say Y here if you want to build a driver for the Bosch BMA180 or
97 BMA250 triaxial acceleration sensor.
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010098
99 To compile this driver as a module, choose M here: the
100 module will be called bma180.
101
Tiberiu Breanabf2a5602016-05-05 18:48:55 +0300102config BMA220
103 tristate "Bosch BMA220 3-Axis Accelerometer Driver"
104 depends on SPI
Alison Schofield193e2d42016-07-18 17:56:43 -0700105 select IIO_BUFFER
106 select IIO_TRIGGERED_BUFFER
Tiberiu Breanabf2a5602016-05-05 18:48:55 +0300107 help
108 Say yes here to add support for the Bosch BMA220 triaxial
109 acceleration sensor.
110
111 To compile this driver as a module, choose M here: the
112 module will be called bma220_spi.
113
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +0100114config BMC150_ACCEL
115 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +0100116 select IIO_BUFFER
117 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +0200118 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +0200119 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +0200120 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +0100121 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +0000122 Say yes here to build support for the following Bosch accelerometers:
123 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
124
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +0100125 This is a combo module with both accelerometer and magnetometer.
126 This driver is only implementing accelerometer part, which has
127 its own address and register map.
128
Markus Pargmann55637c32015-09-21 12:55:15 +0200129config BMC150_ACCEL_I2C
130 tristate
131 select REGMAP_I2C
132
Markus Pargmannf9ab96e2015-09-21 12:55:16 +0200133config BMC150_ACCEL_SPI
134 tristate
135 select REGMAP_SPI
136
Hans de Goedef2259512016-10-08 20:15:27 +0200137config DA280
138 tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
139 depends on I2C
140 help
141 Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
142 digital accelerometer.
143
144 To compile this driver as a module, choose M here: the
145 module will be called da280.
146
Hans de Goede598893e2016-10-08 14:34:25 +0200147config DA311
148 tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
149 depends on I2C
150 help
151 Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
152 digital accelerometer.
153
154 To compile this driver as a module, choose M here: the
155 module will be called da311.
156
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +0300157config DMARD06
158 tristate "Domintech DMARD06 Digital Accelerometer Driver"
159 depends on OF || COMPILE_TEST
160 depends on I2C
161 help
162 Say yes here to build support for the Domintech low-g tri-axial
163 digital accelerometers: DMARD05, DMARD06, DMARD07.
164
165 To compile this driver as a module, choose M here: the
166 module will be called dmard06.
167
Jelle van der Waaa4fa6502016-07-26 23:23:48 +0200168config DMARD09
169 tristate "Domintech DMARD09 3-axis Accelerometer Driver"
170 depends on I2C
171 help
172 Say yes here to get support for the Domintech DMARD09 3-axis
173 accelerometer.
174
175 Choosing M will build the driver as a module. If so, the module
176 will be called dmard09.
177
Hans de Goede569906e2016-10-08 14:34:24 +0200178config DMARD10
179 tristate "Domintech DMARD10 3-axis Accelerometer Driver"
180 depends on I2C
181 help
182 Say yes here to get support for the Domintech DMARD10 3-axis
183 accelerometer.
184
185 Choosing M will build the driver as a module. If so, the module
186 will be called dmard10.
187
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100188config HID_SENSOR_ACCEL_3D
189 depends on HID_SENSOR_HUB
190 select IIO_BUFFER
191 select IIO_TRIGGERED_BUFFER
192 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +0000193 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +0100194 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100195 help
196 Say yes here to build support for the HID SENSOR
197 accelerometers 3D.
198
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200199 To compile this driver as a module, choose M here: the
200 module will be called hid-sensor-accel-3d.
201
Gwendal Grignou11b86c72017-10-12 19:33:23 +0200202config IIO_CROS_EC_ACCEL_LEGACY
203 tristate "ChromeOS EC Legacy Accelerometer Sensor"
204 select IIO_BUFFER
205 select IIO_TRIGGERED_BUFFER
206 select CROS_EC_LPC_REGISTER_DEVICE
207 help
208 Say yes here to get support for accelerometers on Chromebook using
209 legacy EC firmware.
210 Sensor data is retrieved through IO memory.
211 Newer devices should use IIO_CROS_EC_SENSORS.
212
Denis Cioccad6251162013-01-25 23:44:00 +0000213config IIO_ST_ACCEL_3AXIS
214 tristate "STMicroelectronics accelerometers 3-Axis Driver"
215 depends on (I2C || SPI_MASTER) && SYSFS
Linus Walleijed8959f2017-01-20 10:46:05 +0100216 depends on !SENSORS_LIS3_I2C
217 depends on !SENSORS_LIS3_SPI
Denis Cioccad6251162013-01-25 23:44:00 +0000218 select IIO_ST_SENSORS_CORE
219 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
220 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
221 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +0000222 help
223 Say yes here to build support for STMicroelectronics accelerometers:
224 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Lorenzo Bianconidcdb0a72016-10-25 23:09:03 +0200225 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
Heiko Stuebner49b62372018-11-07 16:45:21 +0100226 LNG2DM, LIS3DE
Denis Cioccad6251162013-01-25 23:44:00 +0000227
Peter Meerwald341673f2013-06-23 22:28:00 +0100228 This driver can also be built as a module. If so, these modules
229 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +0000230 - st_accel (core functions for the driver [it is mandatory]);
231 - st_accel_i2c (necessary for the I2C devices [optional*]);
232 - st_accel_spi (necessary for the SPI devices [optional*]);
233
234 (*) one of these is necessary to do something.
235
236config IIO_ST_ACCEL_I2C_3AXIS
237 tristate
238 depends on IIO_ST_ACCEL_3AXIS
239 depends on IIO_ST_SENSORS_I2C
240
241config IIO_ST_ACCEL_SPI_3AXIS
242 tristate
243 depends on IIO_ST_ACCEL_3AXIS
244 depends on IIO_ST_SENSORS_SPI
245
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100246config KXSD9
247 tristate "Kionix KXSD9 Accelerometer Driver"
Linus Walleij0427a102016-09-01 11:44:44 +0200248 select IIO_BUFFER
249 select IIO_TRIGGERED_BUFFER
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100250 help
251 Say yes here to build support for the Kionix KXSD9 accelerometer.
Linus Walleija483ab72016-09-01 11:44:41 +0200252 It can be accessed using an (optional) SPI or I2C interface.
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100253
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200254 To compile this driver as a module, choose M here: the module
255 will be called kxsd9.
256
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200257config KXSD9_SPI
258 tristate "Kionix KXSD9 SPI transport"
259 depends on KXSD9
260 depends on SPI
261 default KXSD9
Linus Walleij0d1fb2d2016-09-01 11:44:40 +0200262 select REGMAP_SPI
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200263 help
264 Say yes here to enable the Kionix KXSD9 accelerometer
265 SPI transport channel.
266
Linus Walleija483ab72016-09-01 11:44:41 +0200267config KXSD9_I2C
268 tristate "Kionix KXSD9 I2C transport"
269 depends on KXSD9
270 depends on I2C
271 default KXSD9
272 select REGMAP_I2C
273 help
274 Say yes here to enable the Kionix KXSD9 accelerometer
275 I2C transport channel.
276
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000277config KXCJK1013
278 tristate "Kionix 3-Axis Accelerometer Driver"
279 depends on I2C
280 select IIO_BUFFER
281 select IIO_TRIGGERED_BUFFER
282 help
283 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Michał Mirosław1540d0102017-09-17 17:01:04 +0200284 triaxial acceleration sensor. This driver also supports KXCJ9-1008,
285 KXTJ2-1009 and KXTF9.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000286
287 To compile this driver as a module, choose M here: the module will
288 be called kxcjk-1013.
289
Hans de Goede063e3302016-09-12 09:43:50 +0200290config MC3230
291 tristate "mCube MC3230 Digital Accelerometer Driver"
292 depends on I2C
293 help
294 Say yes here to build support for the mCube MC3230 low-g tri-axial
295 digital accelerometer.
296
297 To compile this driver as a module, choose M here: the
298 module will be called mc3230.
299
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100300config MMA7455
301 tristate
302 select IIO_BUFFER
303 select IIO_TRIGGERED_BUFFER
304
305config MMA7455_I2C
306 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
307 depends on I2C
308 select MMA7455
309 select REGMAP_I2C
310 help
311 Say yes here to build support for the Freescale MMA7455L and
312 MMA7456L 3-axis accelerometer.
313
314 To compile this driver as a module, choose M here: the module
315 will be called mma7455_i2c.
316
317config MMA7455_SPI
318 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
319 depends on SPI_MASTER
320 select MMA7455
321 select REGMAP_SPI
322 help
323 Say yes here to build support for the Freescale MMA7455L and
324 MMA7456L 3-axis accelerometer.
325
326 To compile this driver as a module, choose M here: the module
327 will be called mma7455_spi.
328
Constantin Musca32133be2016-05-03 15:05:45 +0300329config MMA7660
330 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
331 depends on I2C
332 help
333 Say yes here to get support for the Freescale MMA7660FC 3-Axis
334 accelerometer.
335
336 Choosing M will build the driver as a module. If so, the module
337 will be called mma7660.
338
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200339config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200340 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200341 depends on I2C
342 select IIO_BUFFER
343 select IIO_TRIGGERED_BUFFER
344 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200345 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100346 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
347 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200348
349 To compile this driver as a module, choose M here: the module
350 will be called mma8452.
351
Irina Tirdead5b97f52015-01-11 21:10:15 +0200352config MMA9551_CORE
353 tristate
354
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200355config MMA9551
356 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
357 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200358 select MMA9551_CORE
359
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200360 help
361 Say yes here to build support for the Freescale MMA9551L
362 Intelligent Motion-Sensing Platform Driver.
363
364 To compile this driver as a module, choose M here: the module
365 will be called mma9551.
366
Irina Tirdea40cb7612015-01-29 18:45:10 +0000367config MMA9553
368 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
369 depends on I2C
370 select MMA9551_CORE
371 help
372 Say yes here to build support for the Freescale MMA9553L
373 Intelligent Pedometer Platform Driver.
374
375 To compile this driver as a module, choose M here: the module
376 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300377
Teodora Baluta077377f2015-08-20 17:37:31 +0300378config MXC4005
379 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
380 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300381 select IIO_BUFFER
382 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300383 select REGMAP_I2C
384 help
385 Say yes here to build support for the Memsic MXC4005XC 3-axis
386 accelerometer.
387
388 To compile this driver as a module, choose M. The module will be
389 called mxc4005.
390
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300391config MXC6255
392 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
393 depends on I2C
394 select REGMAP_I2C
395 help
396 Say yes here to build support for the Memsic MXC6255 Orientation
397 Sensing Accelerometer Driver.
398
399 To compile this driver as a module, choose M here: the module will be
400 called mxc6255.
401
Jonathan Camerond62e5fe2016-10-08 17:39:18 +0100402config SCA3000
403 select IIO_BUFFER
404 select IIO_KFIFO_BUF
405 depends on SPI
406 tristate "VTI SCA3000 series accelerometers"
407 help
408 Say Y here to build support for the VTI SCA3000 series of SPI
409 accelerometers. These devices use a hardware ring buffer.
410
411 To compile this driver as a module, say M here: the module will be
412 called sca3000.
413
Tiberiu Breana90bad332015-05-12 18:48:42 +0300414config STK8312
415 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
416 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200417 select IIO_BUFFER
418 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300419 help
420 Say yes here to get support for the Sensortek STK8312 3-axis
421 accelerometer.
422
423 Choosing M will build the driver as a module. If so, the module
424 will be called stk8312.
425
Tiberiu Breana884ca452015-05-18 14:49:50 +0300426config STK8BA50
427 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
428 depends on I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700429 select IIO_BUFFER
430 select IIO_TRIGGERED_BUFFER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300431 help
432 Say yes here to get support for the Sensortek STK8BA50 3-axis
433 accelerometer.
434
435 Choosing M will build the driver as a module. If so, the module
436 will be called stk8ba50.
437
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100438endmenu