blob: 2308bac21c17e64b684f697ff13fe9e917664132 [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
9 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer Driver"
10 depends on !(INPUT_ADXL34X=y || INPUT_ADXL34X=m)
11 depends on I2C
12 help
13 Say Y here if you want to build support for the Analog Devices
14 ADXL345 3-axis digital accelerometer.
15
16 To compile this driver as a module, choose M here: the
17 module will be called adxl345.
18
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010019config BMA180
Peter Meerwald2017cff2014-08-19 23:43:00 +010020 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010021 depends on I2C
22 select IIO_BUFFER
23 select IIO_TRIGGERED_BUFFER
24 help
Peter Meerwald2017cff2014-08-19 23:43:00 +010025 Say Y here if you want to build a driver for the Bosch BMA180 or
26 BMA250 triaxial acceleration sensor.
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010027
28 To compile this driver as a module, choose M here: the
29 module will be called bma180.
30
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030031config BMA220
32 tristate "Bosch BMA220 3-Axis Accelerometer Driver"
33 depends on SPI
Alison Schofield193e2d42016-07-18 17:56:43 -070034 select IIO_BUFFER
35 select IIO_TRIGGERED_BUFFER
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030036 help
37 Say yes here to add support for the Bosch BMA220 triaxial
38 acceleration sensor.
39
40 To compile this driver as a module, choose M here: the
41 module will be called bma220_spi.
42
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010043config BMC150_ACCEL
44 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010045 select IIO_BUFFER
46 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +020047 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +020048 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020049 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010050 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +000051 Say yes here to build support for the following Bosch accelerometers:
52 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
53
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010054 This is a combo module with both accelerometer and magnetometer.
55 This driver is only implementing accelerometer part, which has
56 its own address and register map.
57
Markus Pargmann55637c32015-09-21 12:55:15 +020058config BMC150_ACCEL_I2C
59 tristate
60 select REGMAP_I2C
61
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020062config BMC150_ACCEL_SPI
63 tristate
64 select REGMAP_SPI
65
Hans de Goedef2259512016-10-08 20:15:27 +020066config DA280
67 tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
68 depends on I2C
69 help
70 Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
71 digital accelerometer.
72
73 To compile this driver as a module, choose M here: the
74 module will be called da280.
75
Hans de Goede598893e2016-10-08 14:34:25 +020076config DA311
77 tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
78 depends on I2C
79 help
80 Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
81 digital accelerometer.
82
83 To compile this driver as a module, choose M here: the
84 module will be called da311.
85
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +030086config DMARD06
87 tristate "Domintech DMARD06 Digital Accelerometer Driver"
88 depends on OF || COMPILE_TEST
89 depends on I2C
90 help
91 Say yes here to build support for the Domintech low-g tri-axial
92 digital accelerometers: DMARD05, DMARD06, DMARD07.
93
94 To compile this driver as a module, choose M here: the
95 module will be called dmard06.
96
Jelle van der Waaa4fa6502016-07-26 23:23:48 +020097config DMARD09
98 tristate "Domintech DMARD09 3-axis Accelerometer Driver"
99 depends on I2C
100 help
101 Say yes here to get support for the Domintech DMARD09 3-axis
102 accelerometer.
103
104 Choosing M will build the driver as a module. If so, the module
105 will be called dmard09.
106
Hans de Goede569906e2016-10-08 14:34:24 +0200107config DMARD10
108 tristate "Domintech DMARD10 3-axis Accelerometer Driver"
109 depends on I2C
110 help
111 Say yes here to get support for the Domintech DMARD10 3-axis
112 accelerometer.
113
114 Choosing M will build the driver as a module. If so, the module
115 will be called dmard10.
116
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100117config HID_SENSOR_ACCEL_3D
118 depends on HID_SENSOR_HUB
119 select IIO_BUFFER
120 select IIO_TRIGGERED_BUFFER
121 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +0000122 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +0100123 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100124 help
125 Say yes here to build support for the HID SENSOR
126 accelerometers 3D.
127
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200128 To compile this driver as a module, choose M here: the
129 module will be called hid-sensor-accel-3d.
130
Denis Cioccad6251162013-01-25 23:44:00 +0000131config IIO_ST_ACCEL_3AXIS
132 tristate "STMicroelectronics accelerometers 3-Axis Driver"
133 depends on (I2C || SPI_MASTER) && SYSFS
Linus Walleijed8959f2017-01-20 10:46:05 +0100134 depends on !SENSORS_LIS3_I2C
135 depends on !SENSORS_LIS3_SPI
Denis Cioccad6251162013-01-25 23:44:00 +0000136 select IIO_ST_SENSORS_CORE
137 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
138 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
139 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +0000140 help
141 Say yes here to build support for STMicroelectronics accelerometers:
142 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Lorenzo Bianconidcdb0a72016-10-25 23:09:03 +0200143 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
144 LNG2DM
Denis Cioccad6251162013-01-25 23:44:00 +0000145
Peter Meerwald341673f2013-06-23 22:28:00 +0100146 This driver can also be built as a module. If so, these modules
147 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +0000148 - st_accel (core functions for the driver [it is mandatory]);
149 - st_accel_i2c (necessary for the I2C devices [optional*]);
150 - st_accel_spi (necessary for the SPI devices [optional*]);
151
152 (*) one of these is necessary to do something.
153
154config IIO_ST_ACCEL_I2C_3AXIS
155 tristate
156 depends on IIO_ST_ACCEL_3AXIS
157 depends on IIO_ST_SENSORS_I2C
158
159config IIO_ST_ACCEL_SPI_3AXIS
160 tristate
161 depends on IIO_ST_ACCEL_3AXIS
162 depends on IIO_ST_SENSORS_SPI
163
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100164config KXSD9
165 tristate "Kionix KXSD9 Accelerometer Driver"
Linus Walleij0427a102016-09-01 11:44:44 +0200166 select IIO_BUFFER
167 select IIO_TRIGGERED_BUFFER
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100168 help
169 Say yes here to build support for the Kionix KXSD9 accelerometer.
Linus Walleija483ab72016-09-01 11:44:41 +0200170 It can be accessed using an (optional) SPI or I2C interface.
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100171
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200172 To compile this driver as a module, choose M here: the module
173 will be called kxsd9.
174
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200175config KXSD9_SPI
176 tristate "Kionix KXSD9 SPI transport"
177 depends on KXSD9
178 depends on SPI
179 default KXSD9
Linus Walleij0d1fb2d2016-09-01 11:44:40 +0200180 select REGMAP_SPI
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200181 help
182 Say yes here to enable the Kionix KXSD9 accelerometer
183 SPI transport channel.
184
Linus Walleija483ab72016-09-01 11:44:41 +0200185config KXSD9_I2C
186 tristate "Kionix KXSD9 I2C transport"
187 depends on KXSD9
188 depends on I2C
189 default KXSD9
190 select REGMAP_I2C
191 help
192 Say yes here to enable the Kionix KXSD9 accelerometer
193 I2C transport channel.
194
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000195config KXCJK1013
196 tristate "Kionix 3-Axis Accelerometer Driver"
197 depends on I2C
198 select IIO_BUFFER
199 select IIO_TRIGGERED_BUFFER
200 help
201 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Daniel Balutac6861372014-03-09 08:33:00 +0000202 triaxial acceleration sensor. This driver also supports KXCJ9-1008
203 and KXTJ2-1009.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000204
205 To compile this driver as a module, choose M here: the module will
206 be called kxcjk-1013.
207
Hans de Goede063e3302016-09-12 09:43:50 +0200208config MC3230
209 tristate "mCube MC3230 Digital Accelerometer Driver"
210 depends on I2C
211 help
212 Say yes here to build support for the mCube MC3230 low-g tri-axial
213 digital accelerometer.
214
215 To compile this driver as a module, choose M here: the
216 module will be called mc3230.
217
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100218config MMA7455
219 tristate
220 select IIO_BUFFER
221 select IIO_TRIGGERED_BUFFER
222
223config MMA7455_I2C
224 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
225 depends on I2C
226 select MMA7455
227 select REGMAP_I2C
228 help
229 Say yes here to build support for the Freescale MMA7455L and
230 MMA7456L 3-axis accelerometer.
231
232 To compile this driver as a module, choose M here: the module
233 will be called mma7455_i2c.
234
235config MMA7455_SPI
236 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
237 depends on SPI_MASTER
238 select MMA7455
239 select REGMAP_SPI
240 help
241 Say yes here to build support for the Freescale MMA7455L and
242 MMA7456L 3-axis accelerometer.
243
244 To compile this driver as a module, choose M here: the module
245 will be called mma7455_spi.
246
Constantin Musca32133be2016-05-03 15:05:45 +0300247config MMA7660
248 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
249 depends on I2C
250 help
251 Say yes here to get support for the Freescale MMA7660FC 3-Axis
252 accelerometer.
253
254 Choosing M will build the driver as a module. If so, the module
255 will be called mma7660.
256
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200257config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200258 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200259 depends on I2C
260 select IIO_BUFFER
261 select IIO_TRIGGERED_BUFFER
262 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200263 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100264 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
265 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200266
267 To compile this driver as a module, choose M here: the module
268 will be called mma8452.
269
Irina Tirdead5b97f52015-01-11 21:10:15 +0200270config MMA9551_CORE
271 tristate
272
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200273config MMA9551
274 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
275 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200276 select MMA9551_CORE
277
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200278 help
279 Say yes here to build support for the Freescale MMA9551L
280 Intelligent Motion-Sensing Platform Driver.
281
282 To compile this driver as a module, choose M here: the module
283 will be called mma9551.
284
Irina Tirdea40cb7612015-01-29 18:45:10 +0000285config MMA9553
286 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
287 depends on I2C
288 select MMA9551_CORE
289 help
290 Say yes here to build support for the Freescale MMA9553L
291 Intelligent Pedometer Platform Driver.
292
293 To compile this driver as a module, choose M here: the module
294 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300295
Teodora Baluta077377f2015-08-20 17:37:31 +0300296config MXC4005
297 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
298 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300299 select IIO_BUFFER
300 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300301 select REGMAP_I2C
302 help
303 Say yes here to build support for the Memsic MXC4005XC 3-axis
304 accelerometer.
305
306 To compile this driver as a module, choose M. The module will be
307 called mxc4005.
308
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300309config MXC6255
310 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
311 depends on I2C
312 select REGMAP_I2C
313 help
314 Say yes here to build support for the Memsic MXC6255 Orientation
315 Sensing Accelerometer Driver.
316
317 To compile this driver as a module, choose M here: the module will be
318 called mxc6255.
319
Jonathan Camerond62e5fe2016-10-08 17:39:18 +0100320config SCA3000
321 select IIO_BUFFER
322 select IIO_KFIFO_BUF
323 depends on SPI
324 tristate "VTI SCA3000 series accelerometers"
325 help
326 Say Y here to build support for the VTI SCA3000 series of SPI
327 accelerometers. These devices use a hardware ring buffer.
328
329 To compile this driver as a module, say M here: the module will be
330 called sca3000.
331
Tiberiu Breana90bad332015-05-12 18:48:42 +0300332config STK8312
333 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
334 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200335 select IIO_BUFFER
336 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300337 help
338 Say yes here to get support for the Sensortek STK8312 3-axis
339 accelerometer.
340
341 Choosing M will build the driver as a module. If so, the module
342 will be called stk8312.
343
Tiberiu Breana884ca452015-05-18 14:49:50 +0300344config STK8BA50
345 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
346 depends on I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700347 select IIO_BUFFER
348 select IIO_TRIGGERED_BUFFER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300349 help
350 Say yes here to get support for the Sensortek STK8BA50 3-axis
351 accelerometer.
352
353 Choosing M will build the driver as a module. If so, the module
354 will be called stk8ba50.
355
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100356endmenu