xref: /linux/drivers/iio/accel/Kconfig (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Accelerometer drivers
4#
5# When adding new entries keep the list in alphabetical order
6
7menu "Accelerometers"
8
9config ADIS16201
10	tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
11	depends on SPI
12	select IIO_ADIS_LIB
13	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
14	help
15	  Say Y here to build support for Analog Devices adis16201 dual-axis
16	  digital inclinometer and accelerometer.
17
18	  To compile this driver as a module, say M here: the module will
19	  be called adis16201.
20
21config ADIS16209
22	tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
23	depends on SPI
24	select IIO_ADIS_LIB
25	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
26	help
27	  Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
28	  and accelerometer.
29
30	  To compile this driver as a module, say M here: the module will be
31	  called adis16209.
32
33config ADXL313
34	tristate
35
36config ADXL313_I2C
37	tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
38	depends on I2C
39	select ADXL313
40	select REGMAP_I2C
41	help
42	  Say Y here if you want to build i2c support for the Analog Devices
43	  ADXL313 3-axis digital accelerometer.
44
45	  To compile this driver as a module, choose M here: the module
46	  will be called adxl313_i2c and you will also get adxl313_core
47	  for the core module.
48
49config ADXL313_SPI
50	tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
51	depends on SPI
52	select ADXL313
53	select REGMAP_SPI
54	help
55	  Say Y here if you want to build spi support for the Analog Devices
56	  ADXL313 3-axis digital accelerometer.
57
58	  To compile this driver as a module, choose M here: the module
59	  will be called adxl313_spi and you will also get adxl313_core
60	  for the core module.
61
62config ADXL345
63	tristate
64
65config ADXL345_I2C
66	tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
67	depends on INPUT_ADXL34X=n
68	depends on I2C
69	select ADXL345
70	select REGMAP_I2C
71	help
72	  Say Y here if you want to build support for the Analog Devices
73	  ADXL345 or ADXL375 3-axis digital accelerometer.
74
75	  To compile this driver as a module, choose M here: the module
76	  will be called adxl345_i2c and you will also get adxl345_core
77	  for the core module.
78
79config ADXL345_SPI
80	tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
81	depends on INPUT_ADXL34X=n
82	depends on SPI
83	select ADXL345
84	select REGMAP_SPI
85	help
86	  Say Y here if you want to build support for the Analog Devices
87	  ADXL345 or ADXL375 3-axis digital accelerometer.
88
89	  To compile this driver as a module, choose M here: the module
90	  will be called adxl345_spi and you will also get adxl345_core
91	  for the core module.
92
93config ADXL355
94	tristate
95
96config ADXL355_I2C
97	tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer I2C Driver"
98	depends on I2C
99	select ADXL355
100	select REGMAP_I2C
101	select IIO_BUFFER
102	select IIO_TRIGGERED_BUFFER
103	help
104	  Say Y here if you want to build i2c support for the Analog Devices
105	  ADXL355 3-axis digital accelerometer.
106
107	  To compile this driver as a module, choose M here: the module
108	  will be called adxl355_i2c and you will also get adxl355_core
109	  for the core module.
110
111config ADXL355_SPI
112	tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer SPI Driver"
113	depends on SPI
114	select ADXL355
115	select REGMAP_SPI
116	select IIO_BUFFER
117	select IIO_TRIGGERED_BUFFER
118	help
119	  Say Y here if you want to build spi support for the Analog Devices
120	  ADXL355 3-axis digital accelerometer.
121
122	  To compile this driver as a module, choose M here: the module
123	  will be called adxl355_spi and you will also get adxl355_core
124	  for the core module.
125
126config ADXL367
127	tristate
128	select IIO_BUFFER
129	select IIO_TRIGGERED_BUFFER
130
131config ADXL367_SPI
132	tristate "Analog Devices ADXL367 3-Axis Accelerometer SPI Driver"
133	depends on SPI
134	select ADXL367
135	select REGMAP_SPI
136	help
137	  Say yes here to add support for the Analog Devices ADXL367 triaxial
138	  acceleration sensor.
139	  To compile this driver as a module, choose M here: the
140	  module will be called adxl367_spi.
141
142config ADXL367_I2C
143	tristate "Analog Devices ADXL367 3-Axis Accelerometer I2C Driver"
144	depends on I2C
145	select ADXL367
146	select REGMAP_I2C
147	help
148	  Say yes here to add support for the Analog Devices ADXL367 triaxial
149	  acceleration sensor.
150	  To compile this driver as a module, choose M here: the
151	  module will be called adxl367_i2c.
152
153config ADXL372
154	tristate
155	select IIO_BUFFER
156	select IIO_TRIGGERED_BUFFER
157
158config ADXL372_SPI
159	tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
160	depends on SPI
161	select ADXL372
162	select REGMAP_SPI
163	help
164	  Say yes here to add support for the Analog Devices ADXL372 triaxial
165	  acceleration sensor.
166	  To compile this driver as a module, choose M here: the
167	  module will be called adxl372_spi.
168
169config ADXL372_I2C
170	tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
171	depends on I2C
172	select ADXL372
173	select REGMAP_I2C
174	help
175	  Say yes here to add support for the Analog Devices ADXL372 triaxial
176	  acceleration sensor.
177	  To compile this driver as a module, choose M here: the
178	  module will be called adxl372_i2c.
179
180config ADXL380
181	tristate
182	select IIO_BUFFER
183	select IIO_TRIGGERED_BUFFER
184
185config ADXL380_SPI
186	tristate "Analog Devices ADXL380 3-Axis Accelerometer SPI Driver"
187	depends on SPI
188	select ADXL380
189	select REGMAP_SPI
190	help
191	  Say yes here to add support for the Analog Devices ADXL380 triaxial
192	  acceleration sensor.
193	  To compile this driver as a module, choose M here: the
194	  module will be called adxl380_spi.
195
196config ADXL380_I2C
197	tristate "Analog Devices ADXL380 3-Axis Accelerometer I2C Driver"
198	depends on I2C
199	select ADXL380
200	select REGMAP_I2C
201	help
202	  Say yes here to add support for the Analog Devices ADXL380 triaxial
203	  acceleration sensor.
204	  To compile this driver as a module, choose M here: the
205	  module will be called adxl380_i2c.
206
207config BMA180
208	tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver"
209	depends on I2C && INPUT_BMA150=n
210	select IIO_BUFFER
211	select IIO_TRIGGERED_BUFFER
212	help
213	  Say Y here if you want to build a driver for the Bosch BMA023, BMA150
214	  BMA180, BMA250 or SMB380 triaxial acceleration sensor.
215
216	  To compile this driver as a module, choose M here: the
217	  module will be called bma180.
218
219config BMA220
220	tristate "Bosch BMA220 3-Axis Accelerometer Driver"
221	depends on SPI
222	select IIO_BUFFER
223	select IIO_TRIGGERED_BUFFER
224	help
225	  Say yes here to add support for the Bosch BMA220 triaxial
226	  acceleration sensor.
227
228	  To compile this driver as a module, choose M here: the
229	  module will be called bma220_spi.
230
231config BMA400
232	tristate "Bosch BMA400 3-Axis Accelerometer Driver"
233	select REGMAP
234	select IIO_BUFFER
235	select IIO_TRIGGERED_BUFFER
236	select BMA400_I2C if I2C
237	select BMA400_SPI if SPI
238	help
239	  Say Y here if you want to build a driver for the Bosch BMA400
240	  triaxial acceleration sensor.
241
242	  To compile this driver as a module, choose M here: the
243	  module will be called bma400_core and you will also get
244	  bma400_i2c if I2C is enabled and bma400_spi if SPI is
245	  enabled.
246
247config BMA400_I2C
248	tristate
249	select REGMAP_I2C
250	depends on BMA400
251
252config BMA400_SPI
253	tristate
254	select REGMAP_SPI
255	depends on BMA400
256
257config BMC150_ACCEL
258	tristate "Bosch BMC150 Accelerometer Driver"
259	select IIO_BUFFER
260	select IIO_TRIGGERED_BUFFER
261	select REGMAP
262	select BMC150_ACCEL_I2C if I2C
263	select BMC150_ACCEL_SPI if SPI
264	help
265	  Say yes here to build support for the following Bosch accelerometers:
266	  BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156
267	  BMI055.
268
269	  Note that some of these are combo modules:
270	    - BMC150/BMC156: accelerometer and magnetometer
271	    - BMI055: accelerometer and gyroscope
272
273	  This driver is only implementing accelerometer part, which has
274	  its own address and register map.
275
276config BMC150_ACCEL_I2C
277	tristate
278	select REGMAP_I2C
279
280config BMC150_ACCEL_SPI
281	tristate
282	select REGMAP_SPI
283
284config BMI088_ACCEL
285	tristate "Bosch BMI088 Accelerometer Driver"
286	select IIO_BUFFER
287	select IIO_TRIGGERED_BUFFER
288	select REGMAP
289	select BMI088_ACCEL_SPI if SPI
290	select BMI088_ACCEL_I2C if I2C
291	help
292	  Say yes here to build support for the following Bosch accelerometers:
293	  BMI088, BMI085, BMI090L. Note that all of these are combo module that
294	  include both accelerometer and gyroscope.
295
296	  This driver only implements the accelerometer part, which has its own
297	  address and register map. BMG160 provides the gyroscope driver.
298
299config BMI088_ACCEL_I2C
300	tristate
301	select REGMAP_I2C
302
303config BMI088_ACCEL_SPI
304	tristate
305	select REGMAP_SPI
306
307config DA280
308	tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
309	depends on I2C
310	help
311	  Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
312	  digital accelerometer.
313
314	  To compile this driver as a module, choose M here: the
315	  module will be called da280.
316
317config DA311
318	tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
319	depends on I2C
320	help
321	  Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
322	  digital accelerometer.
323
324	  To compile this driver as a module, choose M here: the
325	  module will be called da311.
326
327config DMARD06
328	tristate "Domintech DMARD06 Digital Accelerometer Driver"
329	depends on I2C
330	help
331	  Say yes here to build support for the Domintech low-g tri-axial
332	  digital accelerometers: DMARD05, DMARD06, DMARD07.
333
334	  To compile this driver as a module, choose M here: the
335	  module will be called dmard06.
336
337config DMARD09
338	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
339	depends on I2C
340	help
341	  Say yes here to get support for the Domintech DMARD09 3-axis
342	  accelerometer.
343
344	  Choosing M will build the driver as a module. If so, the module
345	  will be called dmard09.
346
347config DMARD10
348	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
349	depends on I2C
350	help
351	  Say yes here to get support for the Domintech DMARD10 3-axis
352	  accelerometer.
353
354	  Choosing M will build the driver as a module. If so, the module
355	  will be called dmard10.
356
357config FXLS8962AF
358	tristate
359	depends on I2C || !I2C # cannot be built-in for modular I2C
360	select IIO_BUFFER
361	select IIO_KFIFO_BUF
362
363config FXLS8962AF_I2C
364	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
365	depends on I2C
366	select FXLS8962AF
367	select REGMAP_I2C
368	help
369	  Say yes here to build support for the NXP 3-axis automotive
370	  accelerometer FXLS8962AF/FXLS8964AF with I2C support.
371
372	  To compile this driver as a module, choose M here: the module
373	  will be called fxls8962af_i2c.
374
375config FXLS8962AF_SPI
376	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver"
377	depends on SPI
378	depends on I2C || !I2C
379	select FXLS8962AF
380	select REGMAP_SPI
381	help
382	  Say yes here to build support for the NXP 3-axis automotive
383	  accelerometer FXLS8962AF/FXLS8964AF with SPI support.
384
385	  To compile this driver as a module, choose M here: the module
386	  will be called fxls8962af_spi.
387
388config HID_SENSOR_ACCEL_3D
389	depends on HID_SENSOR_HUB
390	select IIO_BUFFER
391	select HID_SENSOR_IIO_COMMON
392	select HID_SENSOR_IIO_TRIGGER
393	tristate "HID Accelerometers 3D"
394	help
395	  Say yes here to build support for the HID SENSOR
396	  accelerometers 3D.
397
398	  To compile this driver as a module, choose M here: the
399	  module will be called hid-sensor-accel-3d.
400
401config IIO_CROS_EC_ACCEL_LEGACY
402	tristate "ChromeOS EC Legacy Accelerometer Sensor"
403	depends on IIO_CROS_EC_SENSORS_CORE
404	help
405	  Say yes here to get support for accelerometers on Chromebook using
406	  legacy EC firmware.
407	  Sensor data is retrieved through IO memory.
408	  Newer devices should use IIO_CROS_EC_SENSORS.
409
410config IIO_ST_ACCEL_3AXIS
411	tristate "STMicroelectronics accelerometers 3-Axis Driver"
412	depends on (I2C || SPI_MASTER) && SYSFS
413	depends on !SENSORS_LIS3_I2C
414	depends on !SENSORS_LIS3_SPI
415	select IIO_ST_SENSORS_CORE
416	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
417	help
418	  Say yes here to build support for STMicroelectronics accelerometers:
419	  LSM303C, LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
420	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
421	  LNG2DM, LIS3DE, LIS2DE12, LIS2HH12
422
423	  Also need to enable at least one of I2C and SPI interface drivers
424	  below.
425
426config IIO_ST_ACCEL_I2C_3AXIS
427	tristate "STMicroelectronics accelerometers 3-Axis I2C Interface"
428	depends on I2C && IIO_ST_ACCEL_3AXIS
429	default I2C && IIO_ST_ACCEL_3AXIS
430	select IIO_ST_SENSORS_I2C
431	help
432	  Build support for STMicroelectronics accelerometers I2C interface.
433
434	  To compile this driver as a module, choose M here. The module
435	  will be called st_accel_i2c.
436
437config IIO_ST_ACCEL_SPI_3AXIS
438	tristate "STMicroelectronics accelerometers 3-Axis SPI Interface"
439	depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS
440	default SPI_MASTER && IIO_ST_ACCEL_3AXIS
441	select IIO_ST_SENSORS_SPI
442	help
443	  Build support for STMicroelectronics accelerometers SPI interface.
444
445	  To compile this driver as a module, choose M here. The module
446	  will be called st_accel_spi.
447
448config IIO_KX022A
449	tristate
450
451config IIO_KX022A_SPI
452	tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
453	depends on SPI
454	select IIO_KX022A
455	select REGMAP_SPI
456	help
457	  Enable support for the Kionix digital tri-axis accelerometers
458	  connected to SPI interface. Supported devices are:
459	    KX022A, KX132-1211, KX132ACR-LBZ
460
461config IIO_KX022A_I2C
462	tristate "Kionix KX022A tri-axis digital accelerometer I2C interface"
463	depends on I2C
464	select IIO_KX022A
465	select REGMAP_I2C
466	help
467	  Enable support for the Kionix digital tri-axis accelerometers
468	  connected to I2C interface. Supported devices are:
469	    KX022A, KX132-1211, KX132ACR-LBZ
470
471config KXSD9
472	tristate "Kionix KXSD9 Accelerometer Driver"
473	select IIO_BUFFER
474	select IIO_TRIGGERED_BUFFER
475	help
476	  Say yes here to build support for the Kionix KXSD9 accelerometer.
477	  It can be accessed using an (optional) SPI or I2C interface.
478
479	  To compile this driver as a module, choose M here: the module
480	  will be called kxsd9.
481
482config KXSD9_SPI
483	tristate "Kionix KXSD9 SPI transport"
484	depends on KXSD9
485	depends on SPI
486	default KXSD9
487	select REGMAP_SPI
488	help
489	  Say yes here to enable the Kionix KXSD9 accelerometer
490	  SPI transport channel.
491
492config KXSD9_I2C
493	tristate "Kionix KXSD9 I2C transport"
494	depends on KXSD9
495	depends on I2C
496	default KXSD9
497	select REGMAP_I2C
498	help
499	  Say yes here to enable the Kionix KXSD9 accelerometer
500	  I2C transport channel.
501
502config KXCJK1013
503	tristate "Kionix 3-Axis Accelerometer Driver"
504	depends on I2C
505	select IIO_BUFFER
506	select IIO_TRIGGERED_BUFFER
507	help
508	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
509	  triaxial acceleration sensor. This driver also supports KXCJ9-1008,
510	  KXTJ2-1009 and KXTF9.
511
512	  To compile this driver as a module, choose M here: the module will
513	  be called kxcjk-1013.
514
515config MC3230
516	tristate "mCube MC3230 Digital Accelerometer Driver"
517	depends on I2C
518	help
519	  Say yes here to build support for the mCube MC3230 low-g tri-axial
520	  digital accelerometer.
521
522	  To compile this driver as a module, choose M here: the
523	  module will be called mc3230.
524
525config MMA7455
526	tristate
527	select IIO_BUFFER
528	select IIO_TRIGGERED_BUFFER
529
530config MMA7455_I2C
531	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
532	depends on I2C
533	select MMA7455
534	select REGMAP_I2C
535	help
536	  Say yes here to build support for the Freescale MMA7455L and
537	  MMA7456L 3-axis accelerometer.
538
539	  To compile this driver as a module, choose M here: the module
540	  will be called mma7455_i2c.
541
542config MMA7455_SPI
543	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
544	depends on SPI_MASTER
545	select MMA7455
546	select REGMAP_SPI
547	help
548	  Say yes here to build support for the Freescale MMA7455L and
549	  MMA7456L 3-axis accelerometer.
550
551	  To compile this driver as a module, choose M here: the module
552	  will be called mma7455_spi.
553
554config MMA7660
555	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
556	depends on I2C
557	help
558	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
559	  accelerometer.
560
561	  Choosing M will build the driver as a module. If so, the module
562	  will be called mma7660.
563
564config MMA8452
565	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
566	depends on I2C
567	select IIO_BUFFER
568	select IIO_TRIGGERED_BUFFER
569	help
570	  Say yes here to build support for the following Freescale / NXP 3-axis
571	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
572	  FXLS8471Q.
573
574	  To compile this driver as a module, choose M here: the module
575	  will be called mma8452.
576
577config MMA9551_CORE
578	tristate
579
580config MMA9551
581	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
582	depends on I2C
583	select MMA9551_CORE
584
585	help
586	  Say yes here to build support for the Freescale MMA9551L
587	  Intelligent Motion-Sensing Platform Driver.
588
589	  To compile this driver as a module, choose M here: the module
590	  will be called mma9551.
591
592config MMA9553
593	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
594	depends on I2C
595	select MMA9551_CORE
596	help
597	  Say yes here to build support for the Freescale MMA9553L
598	  Intelligent Pedometer Platform Driver.
599
600	  To compile this driver as a module, choose M here: the module
601	  will be called mma9553.
602
603config MSA311
604	tristate "MEMSensing Digital 3-Axis Accelerometer Driver"
605	depends on I2C
606	select IIO_BUFFER
607	select IIO_TRIGGERED_BUFFER
608	select REGMAP_I2C
609	help
610	  Say yes here to build support for the MEMSensing MSA311
611	  accelerometer driver.
612
613	  To compile this driver as a module, choose M here: the module will be
614	  called msa311.
615
616config MXC4005
617	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
618	depends on I2C
619	select IIO_BUFFER
620	select IIO_TRIGGERED_BUFFER
621	select REGMAP_I2C
622	help
623	  Say yes here to build support for the Memsic MXC4005XC 3-axis
624	  accelerometer.
625
626	  To compile this driver as a module, choose M. The module will be
627	  called mxc4005.
628
629config MXC6255
630	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
631	depends on I2C
632	select REGMAP_I2C
633	help
634	  Say yes here to build support for the Memsic MXC6255 Orientation
635	  Sensing Accelerometer Driver.
636
637	  To compile this driver as a module, choose M here: the module will be
638	  called mxc6255.
639
640config SCA3000
641	select IIO_BUFFER
642	select IIO_KFIFO_BUF
643	depends on SPI
644	tristate "VTI SCA3000 series accelerometers"
645	help
646	  Say Y here to build support for the VTI SCA3000 series of SPI
647	  accelerometers. These devices use a hardware ring buffer.
648
649	  To compile this driver as a module, say M here: the module will be
650	  called sca3000.
651
652config SCA3300
653	tristate "Murata SCA3300 3-Axis Accelerometer Driver"
654	depends on SPI
655	select CRC8
656	select IIO_BUFFER
657	select IIO_TRIGGERED_BUFFER
658	help
659	  Say yes here to build support for Murata SCA3300 3-Axis
660	  accelerometer.
661
662	  To compile this driver as a module, choose M here: the module will be
663	  called sca3300.
664
665config STK8312
666	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
667	depends on I2C
668	select IIO_BUFFER
669	select IIO_TRIGGERED_BUFFER
670	help
671	  Say yes here to get support for the Sensortek STK8312 3-axis
672	  accelerometer.
673
674	  Choosing M will build the driver as a module. If so, the module
675	  will be called stk8312.
676
677config STK8BA50
678	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
679	depends on I2C
680	select IIO_BUFFER
681	select IIO_TRIGGERED_BUFFER
682	help
683	  Say yes here to get support for the Sensortek STK8BA50 3-axis
684	  accelerometer.
685
686	  Choosing M will build the driver as a module. If so, the module
687	  will be called stk8ba50.
688
689endmenu
690