xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision 8730046c)
1#
2# Accelerometer drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Accelerometers"
7
8config 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
20config 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
32config 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
47config BMC150_ACCEL_I2C
48	tristate
49	select REGMAP_I2C
50
51config BMC150_ACCEL_SPI
52	tristate
53	select REGMAP_SPI
54
55config 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
65config 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
75config 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
86config 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
96config 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
106config 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
111	select HID_SENSOR_IIO_TRIGGER
112	tristate "HID Accelerometers 3D"
113	help
114	  Say yes here to build support for the HID SENSOR
115	  accelerometers 3D.
116
117	  To compile this driver as a module, choose M here: the
118	  module will be called hid-sensor-accel-3d.
119
120config IIO_ST_ACCEL_3AXIS
121	tristate "STMicroelectronics accelerometers 3-Axis Driver"
122	depends on (I2C || SPI_MASTER) && SYSFS
123	select IIO_ST_SENSORS_CORE
124	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
125	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
126	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
127	help
128	  Say yes here to build support for STMicroelectronics accelerometers:
129	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
130	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
131	  LNG2DM
132
133	  This driver can also be built as a module. If so, these modules
134	  will be created:
135	  - st_accel (core functions for the driver [it is mandatory]);
136	  - st_accel_i2c (necessary for the I2C devices [optional*]);
137	  - st_accel_spi (necessary for the SPI devices [optional*]);
138
139	  (*) one of these is necessary to do something.
140
141config IIO_ST_ACCEL_I2C_3AXIS
142	tristate
143	depends on IIO_ST_ACCEL_3AXIS
144	depends on IIO_ST_SENSORS_I2C
145
146config IIO_ST_ACCEL_SPI_3AXIS
147	tristate
148	depends on IIO_ST_ACCEL_3AXIS
149	depends on IIO_ST_SENSORS_SPI
150
151config KXSD9
152	tristate "Kionix KXSD9 Accelerometer Driver"
153	select IIO_BUFFER
154	select IIO_TRIGGERED_BUFFER
155	help
156	  Say yes here to build support for the Kionix KXSD9 accelerometer.
157	  It can be accessed using an (optional) SPI or I2C interface.
158
159	  To compile this driver as a module, choose M here: the module
160	  will be called kxsd9.
161
162config KXSD9_SPI
163	tristate "Kionix KXSD9 SPI transport"
164	depends on KXSD9
165	depends on SPI
166	default KXSD9
167	select REGMAP_SPI
168	help
169	  Say yes here to enable the Kionix KXSD9 accelerometer
170	  SPI transport channel.
171
172config KXSD9_I2C
173	tristate "Kionix KXSD9 I2C transport"
174	depends on KXSD9
175	depends on I2C
176	default KXSD9
177	select REGMAP_I2C
178	help
179	  Say yes here to enable the Kionix KXSD9 accelerometer
180	  I2C transport channel.
181
182config KXCJK1013
183	tristate "Kionix 3-Axis Accelerometer Driver"
184	depends on I2C
185	select IIO_BUFFER
186	select IIO_TRIGGERED_BUFFER
187	help
188	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
189	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
190	  and KXTJ2-1009.
191
192	  To compile this driver as a module, choose M here: the module will
193	  be called kxcjk-1013.
194
195config MC3230
196	tristate "mCube MC3230 Digital Accelerometer Driver"
197	depends on I2C
198	help
199	  Say yes here to build support for the mCube MC3230 low-g tri-axial
200	  digital accelerometer.
201
202	  To compile this driver as a module, choose M here: the
203	  module will be called mc3230.
204
205config MMA7455
206	tristate
207	select IIO_BUFFER
208	select IIO_TRIGGERED_BUFFER
209
210config MMA7455_I2C
211	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
212	depends on I2C
213	select MMA7455
214	select REGMAP_I2C
215	help
216	  Say yes here to build support for the Freescale MMA7455L and
217	  MMA7456L 3-axis accelerometer.
218
219	  To compile this driver as a module, choose M here: the module
220	  will be called mma7455_i2c.
221
222config MMA7455_SPI
223	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
224	depends on SPI_MASTER
225	select MMA7455
226	select REGMAP_SPI
227	help
228	  Say yes here to build support for the Freescale MMA7455L and
229	  MMA7456L 3-axis accelerometer.
230
231	  To compile this driver as a module, choose M here: the module
232	  will be called mma7455_spi.
233
234config MMA7660
235	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
236	depends on I2C
237	help
238	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
239	  accelerometer.
240
241	  Choosing M will build the driver as a module. If so, the module
242	  will be called mma7660.
243
244config MMA8452
245	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
246	depends on I2C
247	select IIO_BUFFER
248	select IIO_TRIGGERED_BUFFER
249	help
250	  Say yes here to build support for the following Freescale / NXP 3-axis
251	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
252	  FXLS8471Q.
253
254	  To compile this driver as a module, choose M here: the module
255	  will be called mma8452.
256
257config MMA9551_CORE
258	tristate
259
260config MMA9551
261	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
262	depends on I2C
263	select MMA9551_CORE
264
265	help
266	  Say yes here to build support for the Freescale MMA9551L
267	  Intelligent Motion-Sensing Platform Driver.
268
269	  To compile this driver as a module, choose M here: the module
270	  will be called mma9551.
271
272config MMA9553
273	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
274	depends on I2C
275	select MMA9551_CORE
276	help
277	  Say yes here to build support for the Freescale MMA9553L
278	  Intelligent Pedometer Platform Driver.
279
280	  To compile this driver as a module, choose M here: the module
281	  will be called mma9553.
282
283config MXC4005
284	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
285	depends on I2C
286	select IIO_BUFFER
287	select IIO_TRIGGERED_BUFFER
288	select REGMAP_I2C
289	help
290	  Say yes here to build support for the Memsic MXC4005XC 3-axis
291	  accelerometer.
292
293	  To compile this driver as a module, choose M. The module will be
294	  called mxc4005.
295
296config MXC6255
297	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
298	depends on I2C
299	select REGMAP_I2C
300	help
301	  Say yes here to build support for the Memsic MXC6255 Orientation
302	  Sensing Accelerometer Driver.
303
304	  To compile this driver as a module, choose M here: the module will be
305	  called mxc6255.
306
307config SCA3000
308	select IIO_BUFFER
309	select IIO_KFIFO_BUF
310	depends on SPI
311	tristate "VTI SCA3000 series accelerometers"
312	help
313	  Say Y here to build support for the VTI SCA3000 series of SPI
314	  accelerometers. These devices use a hardware ring buffer.
315
316	  To compile this driver as a module, say M here: the module will be
317	  called sca3000.
318
319config STK8312
320	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
321	depends on I2C
322	select IIO_BUFFER
323	select IIO_TRIGGERED_BUFFER
324	help
325	  Say yes here to get support for the Sensortek STK8312 3-axis
326	  accelerometer.
327
328	  Choosing M will build the driver as a module. If so, the module
329	  will be called stk8312.
330
331config STK8BA50
332	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
333	depends on I2C
334	select IIO_BUFFER
335	select IIO_TRIGGERED_BUFFER
336	help
337	  Say yes here to get support for the Sensortek STK8BA50 3-axis
338	  accelerometer.
339
340	  Choosing M will build the driver as a module. If so, the module
341	  will be called stk8ba50.
342
343endmenu
344