blob: 0be352a7b6f4ac7097f69117cb9cc7fdbee5db59 [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
Eva Rachel Retuyac6236072017-01-31 15:12:56 +08008config ADXL345
Eva Rachel Retuya51705122017-03-04 16:31:25 +08009 tristate
10
11config ADXL345_I2C
12 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
13 depends on INPUT_ADXL34X=n
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080014 depends on I2C
Eva Rachel Retuya51705122017-03-04 16:31:25 +080015 select ADXL345
Eva Rachel Retuya31fd2c72017-03-04 16:31:24 +080016 select REGMAP_I2C
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080017 help
18 Say Y here if you want to build support for the Analog Devices
19 ADXL345 3-axis digital accelerometer.
20
Eva Rachel Retuya51705122017-03-04 16:31:25 +080021 To compile this driver as a module, choose M here: the module
22 will be called adxl345_i2c and you will also get adxl345_core
23 for the core module.
Eva Rachel Retuyac6236072017-01-31 15:12:56 +080024
Eva Rachel Retuyafb0e5252017-03-04 16:31:26 +080025config ADXL345_SPI
26 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
27 depends on INPUT_ADXL34X=n
28 depends on SPI
29 select ADXL345
30 select REGMAP_SPI
31 help
32 Say Y here if you want to build support for the Analog Devices
33 ADXL345 3-axis digital accelerometer.
34
35 To compile this driver as a module, choose M here: the module
36 will be called adxl345_spi and you will also get adxl345_core
37 for the core module.
38
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010039config BMA180
Peter Meerwald2017cff2014-08-19 23:43:00 +010040 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010041 depends on I2C
42 select IIO_BUFFER
43 select IIO_TRIGGERED_BUFFER
44 help
Peter Meerwald2017cff2014-08-19 23:43:00 +010045 Say Y here if you want to build a driver for the Bosch BMA180 or
46 BMA250 triaxial acceleration sensor.
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010047
48 To compile this driver as a module, choose M here: the
49 module will be called bma180.
50
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030051config BMA220
52 tristate "Bosch BMA220 3-Axis Accelerometer Driver"
53 depends on SPI
Alison Schofield193e2d42016-07-18 17:56:43 -070054 select IIO_BUFFER
55 select IIO_TRIGGERED_BUFFER
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030056 help
57 Say yes here to add support for the Bosch BMA220 triaxial
58 acceleration sensor.
59
60 To compile this driver as a module, choose M here: the
61 module will be called bma220_spi.
62
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010063config BMC150_ACCEL
64 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010065 select IIO_BUFFER
66 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +020067 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +020068 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020069 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010070 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +000071 Say yes here to build support for the following Bosch accelerometers:
72 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
73
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010074 This is a combo module with both accelerometer and magnetometer.
75 This driver is only implementing accelerometer part, which has
76 its own address and register map.
77
Markus Pargmann55637c32015-09-21 12:55:15 +020078config BMC150_ACCEL_I2C
79 tristate
80 select REGMAP_I2C
81
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020082config BMC150_ACCEL_SPI
83 tristate
84 select REGMAP_SPI
85
Hans de Goedef2259512016-10-08 20:15:27 +020086config DA280
87 tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
88 depends on I2C
89 help
90 Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
91 digital accelerometer.
92
93 To compile this driver as a module, choose M here: the
94 module will be called da280.
95
Hans de Goede598893e2016-10-08 14:34:25 +020096config DA311
97 tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
98 depends on I2C
99 help
100 Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
101 digital accelerometer.
102
103 To compile this driver as a module, choose M here: the
104 module will be called da311.
105
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +0300106config DMARD06
107 tristate "Domintech DMARD06 Digital Accelerometer Driver"
108 depends on OF || COMPILE_TEST
109 depends on I2C
110 help
111 Say yes here to build support for the Domintech low-g tri-axial
112 digital accelerometers: DMARD05, DMARD06, DMARD07.
113
114 To compile this driver as a module, choose M here: the
115 module will be called dmard06.
116
Jelle van der Waaa4fa6502016-07-26 23:23:48 +0200117config DMARD09
118 tristate "Domintech DMARD09 3-axis Accelerometer Driver"
119 depends on I2C
120 help
121 Say yes here to get support for the Domintech DMARD09 3-axis
122 accelerometer.
123
124 Choosing M will build the driver as a module. If so, the module
125 will be called dmard09.
126
Hans de Goede569906e2016-10-08 14:34:24 +0200127config DMARD10
128 tristate "Domintech DMARD10 3-axis Accelerometer Driver"
129 depends on I2C
130 help
131 Say yes here to get support for the Domintech DMARD10 3-axis
132 accelerometer.
133
134 Choosing M will build the driver as a module. If so, the module
135 will be called dmard10.
136
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100137config HID_SENSOR_ACCEL_3D
138 depends on HID_SENSOR_HUB
139 select IIO_BUFFER
140 select IIO_TRIGGERED_BUFFER
141 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +0000142 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +0100143 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100144 help
145 Say yes here to build support for the HID SENSOR
146 accelerometers 3D.
147
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200148 To compile this driver as a module, choose M here: the
149 module will be called hid-sensor-accel-3d.
150
Denis Cioccad6251162013-01-25 23:44:00 +0000151config IIO_ST_ACCEL_3AXIS
152 tristate "STMicroelectronics accelerometers 3-Axis Driver"
153 depends on (I2C || SPI_MASTER) && SYSFS
Linus Walleijed8959f2017-01-20 10:46:05 +0100154 depends on !SENSORS_LIS3_I2C
155 depends on !SENSORS_LIS3_SPI
Denis Cioccad6251162013-01-25 23:44:00 +0000156 select IIO_ST_SENSORS_CORE
157 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
158 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
159 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +0000160 help
161 Say yes here to build support for STMicroelectronics accelerometers:
162 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Lorenzo Bianconidcdb0a72016-10-25 23:09:03 +0200163 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
164 LNG2DM
Denis Cioccad6251162013-01-25 23:44:00 +0000165
Peter Meerwald341673f2013-06-23 22:28:00 +0100166 This driver can also be built as a module. If so, these modules
167 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +0000168 - st_accel (core functions for the driver [it is mandatory]);
169 - st_accel_i2c (necessary for the I2C devices [optional*]);
170 - st_accel_spi (necessary for the SPI devices [optional*]);
171
172 (*) one of these is necessary to do something.
173
174config IIO_ST_ACCEL_I2C_3AXIS
175 tristate
176 depends on IIO_ST_ACCEL_3AXIS
177 depends on IIO_ST_SENSORS_I2C
178
179config IIO_ST_ACCEL_SPI_3AXIS
180 tristate
181 depends on IIO_ST_ACCEL_3AXIS
182 depends on IIO_ST_SENSORS_SPI
183
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100184config KXSD9
185 tristate "Kionix KXSD9 Accelerometer Driver"
Linus Walleij0427a102016-09-01 11:44:44 +0200186 select IIO_BUFFER
187 select IIO_TRIGGERED_BUFFER
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100188 help
189 Say yes here to build support for the Kionix KXSD9 accelerometer.
Linus Walleija483ab72016-09-01 11:44:41 +0200190 It can be accessed using an (optional) SPI or I2C interface.
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100191
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200192 To compile this driver as a module, choose M here: the module
193 will be called kxsd9.
194
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200195config KXSD9_SPI
196 tristate "Kionix KXSD9 SPI transport"
197 depends on KXSD9
198 depends on SPI
199 default KXSD9
Linus Walleij0d1fb2d2016-09-01 11:44:40 +0200200 select REGMAP_SPI
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200201 help
202 Say yes here to enable the Kionix KXSD9 accelerometer
203 SPI transport channel.
204
Linus Walleija483ab72016-09-01 11:44:41 +0200205config KXSD9_I2C
206 tristate "Kionix KXSD9 I2C transport"
207 depends on KXSD9
208 depends on I2C
209 default KXSD9
210 select REGMAP_I2C
211 help
212 Say yes here to enable the Kionix KXSD9 accelerometer
213 I2C transport channel.
214
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000215config KXCJK1013
216 tristate "Kionix 3-Axis Accelerometer Driver"
217 depends on I2C
218 select IIO_BUFFER
219 select IIO_TRIGGERED_BUFFER
220 help
221 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Michał Mirosław1540d012017-09-17 17:01:04 +0200222 triaxial acceleration sensor. This driver also supports KXCJ9-1008,
223 KXTJ2-1009 and KXTF9.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000224
225 To compile this driver as a module, choose M here: the module will
226 be called kxcjk-1013.
227
Hans de Goede063e3302016-09-12 09:43:50 +0200228config MC3230
229 tristate "mCube MC3230 Digital Accelerometer Driver"
230 depends on I2C
231 help
232 Say yes here to build support for the mCube MC3230 low-g tri-axial
233 digital accelerometer.
234
235 To compile this driver as a module, choose M here: the
236 module will be called mc3230.
237
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100238config MMA7455
239 tristate
240 select IIO_BUFFER
241 select IIO_TRIGGERED_BUFFER
242
243config MMA7455_I2C
244 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
245 depends on I2C
246 select MMA7455
247 select REGMAP_I2C
248 help
249 Say yes here to build support for the Freescale MMA7455L and
250 MMA7456L 3-axis accelerometer.
251
252 To compile this driver as a module, choose M here: the module
253 will be called mma7455_i2c.
254
255config MMA7455_SPI
256 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
257 depends on SPI_MASTER
258 select MMA7455
259 select REGMAP_SPI
260 help
261 Say yes here to build support for the Freescale MMA7455L and
262 MMA7456L 3-axis accelerometer.
263
264 To compile this driver as a module, choose M here: the module
265 will be called mma7455_spi.
266
Constantin Musca32133be2016-05-03 15:05:45 +0300267config MMA7660
268 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
269 depends on I2C
270 help
271 Say yes here to get support for the Freescale MMA7660FC 3-Axis
272 accelerometer.
273
274 Choosing M will build the driver as a module. If so, the module
275 will be called mma7660.
276
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200277config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200278 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200279 depends on I2C
280 select IIO_BUFFER
281 select IIO_TRIGGERED_BUFFER
282 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200283 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100284 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
285 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200286
287 To compile this driver as a module, choose M here: the module
288 will be called mma8452.
289
Irina Tirdead5b97f52015-01-11 21:10:15 +0200290config MMA9551_CORE
291 tristate
292
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200293config MMA9551
294 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
295 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200296 select MMA9551_CORE
297
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200298 help
299 Say yes here to build support for the Freescale MMA9551L
300 Intelligent Motion-Sensing Platform Driver.
301
302 To compile this driver as a module, choose M here: the module
303 will be called mma9551.
304
Irina Tirdea40cb7612015-01-29 18:45:10 +0000305config MMA9553
306 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
307 depends on I2C
308 select MMA9551_CORE
309 help
310 Say yes here to build support for the Freescale MMA9553L
311 Intelligent Pedometer Platform Driver.
312
313 To compile this driver as a module, choose M here: the module
314 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300315
Teodora Baluta077377f2015-08-20 17:37:31 +0300316config MXC4005
317 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
318 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300319 select IIO_BUFFER
320 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300321 select REGMAP_I2C
322 help
323 Say yes here to build support for the Memsic MXC4005XC 3-axis
324 accelerometer.
325
326 To compile this driver as a module, choose M. The module will be
327 called mxc4005.
328
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300329config MXC6255
330 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
331 depends on I2C
332 select REGMAP_I2C
333 help
334 Say yes here to build support for the Memsic MXC6255 Orientation
335 Sensing Accelerometer Driver.
336
337 To compile this driver as a module, choose M here: the module will be
338 called mxc6255.
339
Jonathan Camerond62e5fe2016-10-08 17:39:18 +0100340config SCA3000
341 select IIO_BUFFER
342 select IIO_KFIFO_BUF
343 depends on SPI
344 tristate "VTI SCA3000 series accelerometers"
345 help
346 Say Y here to build support for the VTI SCA3000 series of SPI
347 accelerometers. These devices use a hardware ring buffer.
348
349 To compile this driver as a module, say M here: the module will be
350 called sca3000.
351
Tiberiu Breana90bad332015-05-12 18:48:42 +0300352config STK8312
353 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
354 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200355 select IIO_BUFFER
356 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300357 help
358 Say yes here to get support for the Sensortek STK8312 3-axis
359 accelerometer.
360
361 Choosing M will build the driver as a module. If so, the module
362 will be called stk8312.
363
Tiberiu Breana884ca452015-05-18 14:49:50 +0300364config STK8BA50
365 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
366 depends on I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700367 select IIO_BUFFER
368 select IIO_TRIGGERED_BUFFER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300369 help
370 Say yes here to get support for the Sensortek STK8BA50 3-axis
371 accelerometer.
372
373 Choosing M will build the driver as a module. If so, the module
374 will be called stk8ba50.
375
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100376endmenu