]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/iio/accel/Kconfig
8824400d49111bb0b24dd4ceb9589102715b9cb3
[mirror_ubuntu-artful-kernel.git] / drivers / iio / accel / Kconfig
1 #
2 # Accelerometer drivers
3 #
4 # When adding new entries keep the list in alphabetical order
5
6 menu "Accelerometers"
7
8 config BMA180
9 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
10 depends on I2C
11 select IIO_BUFFER
12 select IIO_TRIGGERED_BUFFER
13 help
14 Say Y here if you want to build a driver for the Bosch BMA180 or
15 BMA250 triaxial acceleration sensor.
16
17 To compile this driver as a module, choose M here: the
18 module will be called bma180.
19
20 config BMA220
21 tristate "Bosch BMA220 3-Axis Accelerometer Driver"
22 depends on SPI
23 select IIO_BUFFER
24 select IIO_TRIGGERED_BUFFER
25 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
32 config BMC150_ACCEL
33 tristate "Bosch BMC150 Accelerometer Driver"
34 select IIO_BUFFER
35 select IIO_TRIGGERED_BUFFER
36 select REGMAP
37 select BMC150_ACCEL_I2C if I2C
38 select BMC150_ACCEL_SPI if SPI
39 help
40 Say yes here to build support for the following Bosch accelerometers:
41 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
42
43 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
47 config BMC150_ACCEL_I2C
48 tristate
49 select REGMAP_I2C
50
51 config BMC150_ACCEL_SPI
52 tristate
53 select REGMAP_SPI
54
55 config 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
66 config 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
76 config 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
81 select HID_SENSOR_IIO_TRIGGER
82 tristate "HID Accelerometers 3D"
83 help
84 Say yes here to build support for the HID SENSOR
85 accelerometers 3D.
86
87 To compile this driver as a module, choose M here: the
88 module will be called hid-sensor-accel-3d.
89
90 config 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)
97 help
98 Say yes here to build support for STMicroelectronics accelerometers:
99 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
100 LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
101
102 This driver can also be built as a module. If so, these modules
103 will be created:
104 - 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
110 config IIO_ST_ACCEL_I2C_3AXIS
111 tristate
112 depends on IIO_ST_ACCEL_3AXIS
113 depends on IIO_ST_SENSORS_I2C
114
115 config IIO_ST_ACCEL_SPI_3AXIS
116 tristate
117 depends on IIO_ST_ACCEL_3AXIS
118 depends on IIO_ST_SENSORS_SPI
119
120 config KXSD9
121 tristate "Kionix KXSD9 Accelerometer Driver"
122 help
123 Say yes here to build support for the Kionix KXSD9 accelerometer.
124 It can be accessed using an (optional) SPI or I2C interface.
125
126 To compile this driver as a module, choose M here: the module
127 will be called kxsd9.
128
129 config KXSD9_SPI
130 tristate "Kionix KXSD9 SPI transport"
131 depends on KXSD9
132 depends on SPI
133 default KXSD9
134 select REGMAP_SPI
135 help
136 Say yes here to enable the Kionix KXSD9 accelerometer
137 SPI transport channel.
138
139 config KXSD9_I2C
140 tristate "Kionix KXSD9 I2C transport"
141 depends on KXSD9
142 depends on I2C
143 default KXSD9
144 select REGMAP_I2C
145 help
146 Say yes here to enable the Kionix KXSD9 accelerometer
147 I2C transport channel.
148
149 config KXCJK1013
150 tristate "Kionix 3-Axis Accelerometer Driver"
151 depends on I2C
152 select IIO_BUFFER
153 select IIO_TRIGGERED_BUFFER
154 help
155 Say Y here if you want to build a driver for the Kionix KXCJK-1013
156 triaxial acceleration sensor. This driver also supports KXCJ9-1008
157 and KXTJ2-1009.
158
159 To compile this driver as a module, choose M here: the module will
160 be called kxcjk-1013.
161
162 config MMA7455
163 tristate
164 select IIO_BUFFER
165 select IIO_TRIGGERED_BUFFER
166
167 config MMA7455_I2C
168 tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
169 depends on I2C
170 select MMA7455
171 select REGMAP_I2C
172 help
173 Say yes here to build support for the Freescale MMA7455L and
174 MMA7456L 3-axis accelerometer.
175
176 To compile this driver as a module, choose M here: the module
177 will be called mma7455_i2c.
178
179 config MMA7455_SPI
180 tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
181 depends on SPI_MASTER
182 select MMA7455
183 select REGMAP_SPI
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_spi.
190
191 config MMA7660
192 tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
193 depends on I2C
194 help
195 Say yes here to get support for the Freescale MMA7660FC 3-Axis
196 accelerometer.
197
198 Choosing M will build the driver as a module. If so, the module
199 will be called mma7660.
200
201 config MMA8452
202 tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
203 depends on I2C
204 select IIO_BUFFER
205 select IIO_TRIGGERED_BUFFER
206 help
207 Say yes here to build support for the following Freescale / NXP 3-axis
208 accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
209 FXLS8471Q.
210
211 To compile this driver as a module, choose M here: the module
212 will be called mma8452.
213
214 config MMA9551_CORE
215 tristate
216
217 config MMA9551
218 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
219 depends on I2C
220 select MMA9551_CORE
221
222 help
223 Say yes here to build support for the Freescale MMA9551L
224 Intelligent Motion-Sensing Platform Driver.
225
226 To compile this driver as a module, choose M here: the module
227 will be called mma9551.
228
229 config MMA9553
230 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
231 depends on I2C
232 select MMA9551_CORE
233 help
234 Say yes here to build support for the Freescale MMA9553L
235 Intelligent Pedometer Platform Driver.
236
237 To compile this driver as a module, choose M here: the module
238 will be called mma9553.
239
240 config MXC4005
241 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
242 depends on I2C
243 select IIO_BUFFER
244 select IIO_TRIGGERED_BUFFER
245 select REGMAP_I2C
246 help
247 Say yes here to build support for the Memsic MXC4005XC 3-axis
248 accelerometer.
249
250 To compile this driver as a module, choose M. The module will be
251 called mxc4005.
252
253 config MXC6255
254 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
255 depends on I2C
256 select REGMAP_I2C
257 help
258 Say yes here to build support for the Memsic MXC6255 Orientation
259 Sensing Accelerometer Driver.
260
261 To compile this driver as a module, choose M here: the module will be
262 called mxc6255.
263
264 config STK8312
265 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
266 depends on I2C
267 select IIO_BUFFER
268 select IIO_TRIGGERED_BUFFER
269 help
270 Say yes here to get support for the Sensortek STK8312 3-axis
271 accelerometer.
272
273 Choosing M will build the driver as a module. If so, the module
274 will be called stk8312.
275
276 config STK8BA50
277 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
278 depends on I2C
279 select IIO_BUFFER
280 select IIO_TRIGGERED_BUFFER
281 help
282 Say yes here to get support for the Sensortek STK8BA50 3-axis
283 accelerometer.
284
285 Choosing M will build the driver as a module. If so, the module
286 will be called stk8ba50.
287
288 endmenu