blob: 2b791fe1e2bc6fc5f9f75f7a058f9de12dcb19bc [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
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +030055config DMARD06
56 tristate "Domintech DMARD06 Digital Accelerometer Driver"
57 depends on OF || COMPILE_TEST
58 depends on I2C
59 help
60 Say yes here to build support for the Domintech low-g tri-axial
61 digital accelerometers: DMARD05, DMARD06, DMARD07.
62
63 To compile this driver as a module, choose M here: the
64 module will be called dmard06.
65
Jelle van der Waaa4fa6502016-07-26 23:23:48 +020066config DMARD09
67 tristate "Domintech DMARD09 3-axis Accelerometer Driver"
68 depends on I2C
69 help
70 Say yes here to get support for the Domintech DMARD09 3-axis
71 accelerometer.
72
73 Choosing M will build the driver as a module. If so, the module
74 will be called dmard09.
75
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010076config HID_SENSOR_ACCEL_3D
77 depends on HID_SENSOR_HUB
78 select IIO_BUFFER
79 select IIO_TRIGGERED_BUFFER
80 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +000081 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +010082 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010083 help
84 Say yes here to build support for the HID SENSOR
85 accelerometers 3D.
86
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +020087 To compile this driver as a module, choose M here: the
88 module will be called hid-sensor-accel-3d.
89
Denis Cioccad6251162013-01-25 23:44:00 +000090config IIO_ST_ACCEL_3AXIS
91 tristate "STMicroelectronics accelerometers 3-Axis Driver"
92 depends on (I2C || SPI_MASTER) && SYSFS
93 select IIO_ST_SENSORS_CORE
94 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
95 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
96 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +000097 help
98 Say yes here to build support for STMicroelectronics accelerometers:
99 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Tiberiu Breana1e52fef2016-03-09 14:06:14 +0200100 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
Denis Cioccad6251162013-01-25 23:44:00 +0000101
Peter Meerwald341673f2013-06-23 22:28:00 +0100102 This driver can also be built as a module. If so, these modules
103 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +0000104 - st_accel (core functions for the driver [it is mandatory]);
105 - st_accel_i2c (necessary for the I2C devices [optional*]);
106 - st_accel_spi (necessary for the SPI devices [optional*]);
107
108 (*) one of these is necessary to do something.
109
110config IIO_ST_ACCEL_I2C_3AXIS
111 tristate
112 depends on IIO_ST_ACCEL_3AXIS
113 depends on IIO_ST_SENSORS_I2C
114
115config IIO_ST_ACCEL_SPI_3AXIS
116 tristate
117 depends on IIO_ST_ACCEL_3AXIS
118 depends on IIO_ST_SENSORS_SPI
119
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100120config KXSD9
121 tristate "Kionix KXSD9 Accelerometer Driver"
Linus Walleij0427a102016-09-01 11:44:44 +0200122 select IIO_BUFFER
123 select IIO_TRIGGERED_BUFFER
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100124 help
125 Say yes here to build support for the Kionix KXSD9 accelerometer.
Linus Walleija483ab72016-09-01 11:44:41 +0200126 It can be accessed using an (optional) SPI or I2C interface.
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100127
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200128 To compile this driver as a module, choose M here: the module
129 will be called kxsd9.
130
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200131config KXSD9_SPI
132 tristate "Kionix KXSD9 SPI transport"
133 depends on KXSD9
134 depends on SPI
135 default KXSD9
Linus Walleij0d1fb2d2016-09-01 11:44:40 +0200136 select REGMAP_SPI
Linus Walleijbf96f6e2016-09-01 11:44:38 +0200137 help
138 Say yes here to enable the Kionix KXSD9 accelerometer
139 SPI transport channel.
140
Linus Walleija483ab72016-09-01 11:44:41 +0200141config KXSD9_I2C
142 tristate "Kionix KXSD9 I2C transport"
143 depends on KXSD9
144 depends on I2C
145 default KXSD9
146 select REGMAP_I2C
147 help
148 Say yes here to enable the Kionix KXSD9 accelerometer
149 I2C transport channel.
150
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000151config KXCJK1013
152 tristate "Kionix 3-Axis Accelerometer Driver"
153 depends on I2C
154 select IIO_BUFFER
155 select IIO_TRIGGERED_BUFFER
156 help
157 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Daniel Balutac6861372014-03-09 08:33:00 +0000158 triaxial acceleration sensor. This driver also supports KXCJ9-1008
159 and KXTJ2-1009.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000160
161 To compile this driver as a module, choose M here: the module will
162 be called kxcjk-1013.
163
Hans de Goede063e3302016-09-12 09:43:50 +0200164config MC3230
165 tristate "mCube MC3230 Digital Accelerometer Driver"
166 depends on I2C
167 help
168 Say yes here to build support for the mCube MC3230 low-g tri-axial
169 digital accelerometer.
170
171 To compile this driver as a module, choose M here: the
172 module will be called mc3230.
173
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100174config MMA7455
175 tristate
176 select IIO_BUFFER
177 select IIO_TRIGGERED_BUFFER
178
179config MMA7455_I2C
180 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
181 depends on I2C
182 select MMA7455
183 select REGMAP_I2C
184 help
185 Say yes here to build support for the Freescale MMA7455L and
186 MMA7456L 3-axis accelerometer.
187
188 To compile this driver as a module, choose M here: the module
189 will be called mma7455_i2c.
190
191config MMA7455_SPI
192 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
193 depends on SPI_MASTER
194 select MMA7455
195 select REGMAP_SPI
196 help
197 Say yes here to build support for the Freescale MMA7455L and
198 MMA7456L 3-axis accelerometer.
199
200 To compile this driver as a module, choose M here: the module
201 will be called mma7455_spi.
202
Constantin Musca32133be2016-05-03 15:05:45 +0300203config MMA7660
204 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
205 depends on I2C
206 help
207 Say yes here to get support for the Freescale MMA7660FC 3-Axis
208 accelerometer.
209
210 Choosing M will build the driver as a module. If so, the module
211 will be called mma7660.
212
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200213config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200214 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200215 depends on I2C
216 select IIO_BUFFER
217 select IIO_TRIGGERED_BUFFER
218 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200219 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100220 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
221 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200222
223 To compile this driver as a module, choose M here: the module
224 will be called mma8452.
225
Irina Tirdead5b97f52015-01-11 21:10:15 +0200226config MMA9551_CORE
227 tristate
228
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200229config MMA9551
230 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
231 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200232 select MMA9551_CORE
233
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200234 help
235 Say yes here to build support for the Freescale MMA9551L
236 Intelligent Motion-Sensing Platform Driver.
237
238 To compile this driver as a module, choose M here: the module
239 will be called mma9551.
240
Irina Tirdea40cb7612015-01-29 18:45:10 +0000241config MMA9553
242 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
243 depends on I2C
244 select MMA9551_CORE
245 help
246 Say yes here to build support for the Freescale MMA9553L
247 Intelligent Pedometer Platform Driver.
248
249 To compile this driver as a module, choose M here: the module
250 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300251
Teodora Baluta077377f2015-08-20 17:37:31 +0300252config MXC4005
253 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
254 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300255 select IIO_BUFFER
256 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300257 select REGMAP_I2C
258 help
259 Say yes here to build support for the Memsic MXC4005XC 3-axis
260 accelerometer.
261
262 To compile this driver as a module, choose M. The module will be
263 called mxc4005.
264
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300265config MXC6255
266 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
267 depends on I2C
268 select REGMAP_I2C
269 help
270 Say yes here to build support for the Memsic MXC6255 Orientation
271 Sensing Accelerometer Driver.
272
273 To compile this driver as a module, choose M here: the module will be
274 called mxc6255.
275
Tiberiu Breana90bad332015-05-12 18:48:42 +0300276config STK8312
277 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
278 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200279 select IIO_BUFFER
280 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300281 help
282 Say yes here to get support for the Sensortek STK8312 3-axis
283 accelerometer.
284
285 Choosing M will build the driver as a module. If so, the module
286 will be called stk8312.
287
Tiberiu Breana884ca452015-05-18 14:49:50 +0300288config STK8BA50
289 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
290 depends on I2C
Alison Schofield193e2d42016-07-18 17:56:43 -0700291 select IIO_BUFFER
292 select IIO_TRIGGERED_BUFFER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300293 help
294 Say yes here to get support for the Sensortek STK8BA50 3-axis
295 accelerometer.
296
297 Choosing M will build the driver as a module. If so, the module
298 will be called stk8ba50.
299
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100300endmenu