blob: ee57effee5491188842b426c4f65d6c57c64c765 [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
23 help
24 Say yes here to add support for the Bosch BMA220 triaxial
25 acceleration sensor.
26
27 To compile this driver as a module, choose M here: the
28 module will be called bma220_spi.
29
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010030config BMC150_ACCEL
31 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010032 select IIO_BUFFER
33 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +020034 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +020035 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020036 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010037 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +000038 Say yes here to build support for the following Bosch accelerometers:
39 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
40
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010041 This is a combo module with both accelerometer and magnetometer.
42 This driver is only implementing accelerometer part, which has
43 its own address and register map.
44
Markus Pargmann55637c32015-09-21 12:55:15 +020045config BMC150_ACCEL_I2C
46 tristate
47 select REGMAP_I2C
48
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020049config BMC150_ACCEL_SPI
50 tristate
51 select REGMAP_SPI
52
Aleksei Mamlinb1b79f52016-07-25 18:21:18 +030053config DMARD06
54 tristate "Domintech DMARD06 Digital Accelerometer Driver"
55 depends on OF || COMPILE_TEST
56 depends on I2C
57 help
58 Say yes here to build support for the Domintech low-g tri-axial
59 digital accelerometers: DMARD05, DMARD06, DMARD07.
60
61 To compile this driver as a module, choose M here: the
62 module will be called dmard06.
63
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010064config HID_SENSOR_ACCEL_3D
65 depends on HID_SENSOR_HUB
66 select IIO_BUFFER
67 select IIO_TRIGGERED_BUFFER
68 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +000069 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +010070 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010071 help
72 Say yes here to build support for the HID SENSOR
73 accelerometers 3D.
74
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +020075 To compile this driver as a module, choose M here: the
76 module will be called hid-sensor-accel-3d.
77
Denis Cioccad6251162013-01-25 23:44:00 +000078config IIO_ST_ACCEL_3AXIS
79 tristate "STMicroelectronics accelerometers 3-Axis Driver"
80 depends on (I2C || SPI_MASTER) && SYSFS
81 select IIO_ST_SENSORS_CORE
82 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
83 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
84 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +000085 help
86 Say yes here to build support for STMicroelectronics accelerometers:
87 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
Tiberiu Breana1e52fef2016-03-09 14:06:14 +020088 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
Denis Cioccad6251162013-01-25 23:44:00 +000089
Peter Meerwald341673f2013-06-23 22:28:00 +010090 This driver can also be built as a module. If so, these modules
91 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +000092 - st_accel (core functions for the driver [it is mandatory]);
93 - st_accel_i2c (necessary for the I2C devices [optional*]);
94 - st_accel_spi (necessary for the SPI devices [optional*]);
95
96 (*) one of these is necessary to do something.
97
98config IIO_ST_ACCEL_I2C_3AXIS
99 tristate
100 depends on IIO_ST_ACCEL_3AXIS
101 depends on IIO_ST_SENSORS_I2C
102
103config IIO_ST_ACCEL_SPI_3AXIS
104 tristate
105 depends on IIO_ST_ACCEL_3AXIS
106 depends on IIO_ST_SENSORS_SPI
107
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +0100108config KXSD9
109 tristate "Kionix KXSD9 Accelerometer Driver"
110 depends on SPI
111 help
112 Say yes here to build support for the Kionix KXSD9 accelerometer.
113 Currently this only supports the device via an SPI interface.
114
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +0200115 To compile this driver as a module, choose M here: the module
116 will be called kxsd9.
117
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000118config KXCJK1013
119 tristate "Kionix 3-Axis Accelerometer Driver"
120 depends on I2C
121 select IIO_BUFFER
122 select IIO_TRIGGERED_BUFFER
123 help
124 Say Y here if you want to build a driver for the Kionix KXCJK-1013
Daniel Balutac6861372014-03-09 08:33:00 +0000125 triaxial acceleration sensor. This driver also supports KXCJ9-1008
126 and KXTJ2-1009.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000127
128 To compile this driver as a module, choose M here: the module will
129 be called kxcjk-1013.
130
Joachim Eastwooda84ef0d2015-10-31 13:49:16 +0100131config MMA7455
132 tristate
133 select IIO_BUFFER
134 select IIO_TRIGGERED_BUFFER
135
136config MMA7455_I2C
137 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
138 depends on I2C
139 select MMA7455
140 select REGMAP_I2C
141 help
142 Say yes here to build support for the Freescale MMA7455L and
143 MMA7456L 3-axis accelerometer.
144
145 To compile this driver as a module, choose M here: the module
146 will be called mma7455_i2c.
147
148config MMA7455_SPI
149 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
150 depends on SPI_MASTER
151 select MMA7455
152 select REGMAP_SPI
153 help
154 Say yes here to build support for the Freescale MMA7455L and
155 MMA7456L 3-axis accelerometer.
156
157 To compile this driver as a module, choose M here: the module
158 will be called mma7455_spi.
159
Constantin Musca32133be2016-05-03 15:05:45 +0300160config MMA7660
161 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
162 depends on I2C
163 help
164 Say yes here to get support for the Freescale MMA7660FC 3-Axis
165 accelerometer.
166
167 Choosing M will build the driver as a module. If so, the module
168 will be called mma7660.
169
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200170config MMA8452
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200171 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200172 depends on I2C
173 select IIO_BUFFER
174 select IIO_TRIGGERED_BUFFER
175 help
Martin Kepplingerf26ab1a2016-06-03 14:51:52 +0200176 Say yes here to build support for the following Freescale / NXP 3-axis
Martin Kepplingere8731182016-03-09 12:01:29 +0100177 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
178 FXLS8471Q.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200179
180 To compile this driver as a module, choose M here: the module
181 will be called mma8452.
182
Irina Tirdead5b97f52015-01-11 21:10:15 +0200183config MMA9551_CORE
184 tristate
185
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200186config MMA9551
187 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
188 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200189 select MMA9551_CORE
190
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200191 help
192 Say yes here to build support for the Freescale MMA9551L
193 Intelligent Motion-Sensing Platform Driver.
194
195 To compile this driver as a module, choose M here: the module
196 will be called mma9551.
197
Irina Tirdea40cb7612015-01-29 18:45:10 +0000198config MMA9553
199 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
200 depends on I2C
201 select MMA9551_CORE
202 help
203 Say yes here to build support for the Freescale MMA9553L
204 Intelligent Pedometer Platform Driver.
205
206 To compile this driver as a module, choose M here: the module
207 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300208
Teodora Baluta077377f2015-08-20 17:37:31 +0300209config MXC4005
210 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
211 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300212 select IIO_BUFFER
213 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300214 select REGMAP_I2C
215 help
216 Say yes here to build support for the Memsic MXC4005XC 3-axis
217 accelerometer.
218
219 To compile this driver as a module, choose M. The module will be
220 called mxc4005.
221
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300222config MXC6255
223 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
224 depends on I2C
225 select REGMAP_I2C
226 help
227 Say yes here to build support for the Memsic MXC6255 Orientation
228 Sensing Accelerometer Driver.
229
230 To compile this driver as a module, choose M here: the module will be
231 called mxc6255.
232
Tiberiu Breana90bad332015-05-12 18:48:42 +0300233config STK8312
234 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
235 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200236 select IIO_BUFFER
237 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300238 help
239 Say yes here to get support for the Sensortek STK8312 3-axis
240 accelerometer.
241
242 Choosing M will build the driver as a module. If so, the module
243 will be called stk8312.
244
Tiberiu Breana884ca452015-05-18 14:49:50 +0300245config STK8BA50
246 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
247 depends on I2C
Vegard Nossum01cc5232016-01-02 14:04:39 +0100248 depends on IIO_TRIGGER
Tiberiu Breana884ca452015-05-18 14:49:50 +0300249 help
250 Say yes here to get support for the Sensortek STK8BA50 3-axis
251 accelerometer.
252
253 Choosing M will build the driver as a module. If so, the module
254 will be called stk8ba50.
255
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100256endmenu