blob: ef8401ac114139f7a183b001b35cd0408aa576d4 [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
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +01008config BMA180
Peter Meerwald2017cff2014-08-19 23:43:00 +01009 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010010 depends on I2C
11 select IIO_BUFFER
12 select IIO_TRIGGERED_BUFFER
13 help
Peter Meerwald2017cff2014-08-19 23:43:00 +010014 Say Y here if you want to build a driver for the Bosch BMA180 or
15 BMA250 triaxial acceleration sensor.
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010016
17 To compile this driver as a module, choose M here: the
18 module will be called bma180.
19
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030020config BMA220
21 tristate "Bosch BMA220 3-Axis Accelerometer Driver"
22 depends on SPI
Alison Schofield193e2d42016-07-18 17:56:43 -070023 select IIO_BUFFER
24 select IIO_TRIGGERED_BUFFER
Tiberiu Breanabf2a5602016-05-05 18:48:55 +030025 help
26 Say yes here to add support for the Bosch BMA220 triaxial
27 acceleration sensor.
28
29 To compile this driver as a module, choose M here: the
30 module will be called bma220_spi.
31
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010032config BMC150_ACCEL
33 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010034 select IIO_BUFFER
35 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +020036 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +020037 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020038 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010039 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +000040 Say yes here to build support for the following Bosch accelerometers:
41 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
42
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010043 This is a combo module with both accelerometer and magnetometer.
44 This driver is only implementing accelerometer part, which has
45 its own address and register map.
46
Markus Pargmann55637c32015-09-21 12:55:15 +020047config BMC150_ACCEL_I2C
48 tristate
49 select REGMAP_I2C
50
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020051config BMC150_ACCEL_SPI
52 tristate
53 select REGMAP_SPI
54
Hans de Goedef2259512016-10-08 20:15:27 +020055config DA280
56 tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
57 depends on I2C
58 help
59 Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
60 digital accelerometer.
61
62 To compile this driver as a module, choose M here: the
63 module will be called da280.
64
Hans de Goede598893e2016-10-08 14:34:25 +020065config DA311
66 tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
67 depends on I2C
68 help
69 Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
70 digital accelerometer.
71
72 To compile this driver as a module, choose M here: the
73 module will be called da311.
74
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +030075config DMARD06
76 tristate "Domintech DMARD06 Digital Accelerometer Driver"
77 depends on OF || COMPILE_TEST
78 depends on I2C
79 help
80 Say yes here to build support for the Domintech low-g tri-axial
81 digital accelerometers: DMARD05, DMARD06, DMARD07.
82
83 To compile this driver as a module, choose M here: the
84 module will be called dmard06.
85
Jelle van der Waaa4fa6502016-07-26 23:23:48 +020086config DMARD09
87 tristate "Domintech DMARD09 3-axis Accelerometer Driver"
88 depends on I2C
89 help
90 Say yes here to get support for the Domintech DMARD09 3-axis
91 accelerometer.
92
93 Choosing M will build the driver as a module. If so, the module
94 will be called dmard09.
95
Hans de Goede569906e2016-10-08 14:34:24 +020096config DMARD10
97 tristate "Domintech DMARD10 3-axis Accelerometer Driver"
98 depends on I2C
99 help
100 Say yes here to get support for the Domintech DMARD10 3-axis
101 accelerometer.
102
103 Choosing M will build the driver as a module. If so, the module
104 will be called dmard10.
105
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100106config HID_SENSOR_ACCEL_3D
107 depends on HID_SENSOR_HUB
108 select IIO_BUFFER
109 select IIO_TRIGGERED_BUFFER
110 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +0000111 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +0100112 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100113 help
114 Say yes here to build support for the HID SENSOR
115 accelerometers 3D.
116
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200117 To compile this driver as a module, choose M here: the
118 module will be called hid-sensor-accel-3d.
119
Denis Cioccad6251162013-01-25 23:44:00 +0000120config IIO_ST_ACCEL_3AXIS
121 tristate "STMicroelectronics accelerometers 3-Axis Driver"
122 depends on (I2C || SPI_MASTER) && SYSFS
Linus Walleijed8959f2017-01-20 10:46:05 +0100123 depends on !SENSORS_LIS3_I2C
124 depends on !SENSORS_LIS3_SPI
Denis Cioccad6251162013-01-25 23:44:00 +0000125 select IIO_ST_SENSORS_CORE
126 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
127 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
128 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +0000129 help
130 Say yes here to build support for STMicroelectronics accelerometers:
131 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Lorenzo Bianconidcdb0a72016-10-25 23:09:03 +0200132 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
133 LNG2DM
Denis Cioccad6251162013-01-25 23:44:00 +0000134
Peter Meerwald341673f2013-06-23 22:28:00 +0100135 This driver can also be built as a module. If so, these modules
136 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +0000137 - st_accel (core functions for the driver [it is mandatory]);
138 - st_accel_i2c (necessary for the I2C devices [optional*]);
139 - st_accel_spi (necessary for the SPI devices [optional*]);
140
141 (*) one of these is necessary to do something.
142
143config IIO_ST_ACCEL_I2C_3AXIS
144 tristate
145 depends on IIO_ST_ACCEL_3AXIS
146 depends on IIO_ST_SENSORS_I2C
147
148config IIO_ST_ACCEL_SPI_3AXIS
149 tristate
150 depends on IIO_ST_ACCEL_3AXIS
151 depends on IIO_ST_SENSORS_SPI
152
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100153config KXSD9
154 tristate "Kionix KXSD9 Accelerometer Driver"
Linus Walleij0427a102016-09-01 11:44:44 +0200155 select IIO_BUFFER
156 select IIO_TRIGGERED_BUFFER
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100157 help
158 Say yes here to build support for the Kionix KXSD9 accelerometer.
Linus Walleija483ab72016-09-01 11:44:41 +0200159 It can be accessed using an (optional) SPI or I2C interface.
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100160
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200161 To compile this driver as a module, choose M here: the module
162 will be called kxsd9.
163
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200164config KXSD9_SPI
165 tristate "Kionix KXSD9 SPI transport"
166 depends on KXSD9
167 depends on SPI
168 default KXSD9
Linus Walleij0d1fb2d2016-09-01 11:44:40 +0200169 select REGMAP_SPI
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200170 help
171 Say yes here to enable the Kionix KXSD9 accelerometer
172 SPI transport channel.
173
Linus Walleija483ab72016-09-01 11:44:41 +0200174config KXSD9_I2C
175 tristate "Kionix KXSD9 I2C transport"
176 depends on KXSD9
177 depends on I2C
178 default KXSD9
179 select REGMAP_I2C
180 help
181 Say yes here to enable the Kionix KXSD9 accelerometer
182 I2C transport channel.
183
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000184config KXCJK1013
185 tristate "Kionix 3-Axis Accelerometer Driver"
186 depends on I2C
187 select IIO_BUFFER
188 select IIO_TRIGGERED_BUFFER
189 help
190 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Daniel Balutac6861372014-03-09 08:33:00 +0000191 triaxial acceleration sensor. This driver also supports KXCJ9-1008
192 and KXTJ2-1009.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000193
194 To compile this driver as a module, choose M here: the module will
195 be called kxcjk-1013.
196
Hans de Goede063e3302016-09-12 09:43:50 +0200197config MC3230
198 tristate "mCube MC3230 Digital Accelerometer Driver"
199 depends on I2C
200 help
201 Say yes here to build support for the mCube MC3230 low-g tri-axial
202 digital accelerometer.
203
204 To compile this driver as a module, choose M here: the
205 module will be called mc3230.
206
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100207config MMA7455
208 tristate
209 select IIO_BUFFER
210 select IIO_TRIGGERED_BUFFER
211
212config MMA7455_I2C
213 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
214 depends on I2C
215 select MMA7455
216 select REGMAP_I2C
217 help
218 Say yes here to build support for the Freescale MMA7455L and
219 MMA7456L 3-axis accelerometer.
220
221 To compile this driver as a module, choose M here: the module
222 will be called mma7455_i2c.
223
224config MMA7455_SPI
225 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
226 depends on SPI_MASTER
227 select MMA7455
228 select REGMAP_SPI
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_spi.
235
Constantin Musca32133be2016-05-03 15:05:45 +0300236config MMA7660
237 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
238 depends on I2C
239 help
240 Say yes here to get support for the Freescale MMA7660FC 3-Axis
241 accelerometer.
242
243 Choosing M will build the driver as a module. If so, the module
244 will be called mma7660.
245
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200246config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200247 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200248 depends on I2C
249 select IIO_BUFFER
250 select IIO_TRIGGERED_BUFFER
251 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200252 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100253 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
254 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200255
256 To compile this driver as a module, choose M here: the module
257 will be called mma8452.
258
Irina Tirdead5b97f52015-01-11 21:10:15 +0200259config MMA9551_CORE
260 tristate
261
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200262config MMA9551
263 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
264 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200265 select MMA9551_CORE
266
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200267 help
268 Say yes here to build support for the Freescale MMA9551L
269 Intelligent Motion-Sensing Platform Driver.
270
271 To compile this driver as a module, choose M here: the module
272 will be called mma9551.
273
Irina Tirdea40cb7612015-01-29 18:45:10 +0000274config MMA9553
275 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
276 depends on I2C
277 select MMA9551_CORE
278 help
279 Say yes here to build support for the Freescale MMA9553L
280 Intelligent Pedometer Platform Driver.
281
282 To compile this driver as a module, choose M here: the module
283 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300284
Teodora Baluta077377f2015-08-20 17:37:31 +0300285config MXC4005
286 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
287 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300288 select IIO_BUFFER
289 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300290 select REGMAP_I2C
291 help
292 Say yes here to build support for the Memsic MXC4005XC 3-axis
293 accelerometer.
294
295 To compile this driver as a module, choose M. The module will be
296 called mxc4005.
297
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300298config MXC6255
299 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
300 depends on I2C
301 select REGMAP_I2C
302 help
303 Say yes here to build support for the Memsic MXC6255 Orientation
304 Sensing Accelerometer Driver.
305
306 To compile this driver as a module, choose M here: the module will be
307 called mxc6255.
308
Jonathan Camerond62e5fe2016-10-08 17:39:18 +0100309config SCA3000
310 select IIO_BUFFER
311 select IIO_KFIFO_BUF
312 depends on SPI
313 tristate "VTI SCA3000 series accelerometers"
314 help
315 Say Y here to build support for the VTI SCA3000 series of SPI
316 accelerometers. These devices use a hardware ring buffer.
317
318 To compile this driver as a module, say M here: the module will be
319 called sca3000.
320
Tiberiu Breana90bad332015-05-12 18:48:42 +0300321config STK8312
322 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
323 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200324 select IIO_BUFFER
325 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300326 help
327 Say yes here to get support for the Sensortek STK8312 3-axis
328 accelerometer.
329
330 Choosing M will build the driver as a module. If so, the module
331 will be called stk8312.
332
Tiberiu Breana884ca452015-05-18 14:49:50 +0300333config STK8BA50
334 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
335 depends on I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700336 select IIO_BUFFER
337 select IIO_TRIGGERED_BUFFER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300338 help
339 Say yes here to get support for the Sensortek STK8BA50 3-axis
340 accelerometer.
341
342 Choosing M will build the driver as a module. If so, the module
343 will be called stk8ba50.
344
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100345endmenu