xref: /linux/drivers/iio/accel/Kconfig (revision fc5ced75d6dffc9e2a441520b7dc587b95281f86)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
245fe6f7dSsrinivas pandruvada#
345fe6f7dSsrinivas pandruvada# Accelerometer drivers
445fe6f7dSsrinivas pandruvada#
53edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
63edc84e6SLars-Peter Clausen
745fe6f7dSsrinivas pandruvadamenu "Accelerometers"
845fe6f7dSsrinivas pandruvada
9591298e5SHimanshu Jhaconfig ADIS16201
10591298e5SHimanshu Jha	tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer"
11591298e5SHimanshu Jha	depends on SPI
12591298e5SHimanshu Jha	select IIO_ADIS_LIB
13591298e5SHimanshu Jha	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
14591298e5SHimanshu Jha	help
15591298e5SHimanshu Jha	  Say Y here to build support for Analog Devices adis16201 dual-axis
16591298e5SHimanshu Jha	  digital inclinometer and accelerometer.
17591298e5SHimanshu Jha
18591298e5SHimanshu Jha	  To compile this driver as a module, say M here: the module will
19591298e5SHimanshu Jha	  be called adis16201.
20591298e5SHimanshu Jha
21524c7628SShreeya Patelconfig ADIS16209
22524c7628SShreeya Patel	tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer"
23524c7628SShreeya Patel	depends on SPI
24524c7628SShreeya Patel	select IIO_ADIS_LIB
25524c7628SShreeya Patel	select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
26524c7628SShreeya Patel	help
27524c7628SShreeya Patel	  Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer
28524c7628SShreeya Patel	  and accelerometer.
29524c7628SShreeya Patel
30524c7628SShreeya Patel	  To compile this driver as a module, say M here: the module will be
31524c7628SShreeya Patel	  called adis16209.
32524c7628SShreeya Patel
33636d4463SLucas Stankusconfig ADXL313
34636d4463SLucas Stankus	tristate
35636d4463SLucas Stankus
36636d4463SLucas Stankusconfig ADXL313_I2C
37636d4463SLucas Stankus	tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver"
38636d4463SLucas Stankus	depends on I2C
39636d4463SLucas Stankus	select ADXL313
40636d4463SLucas Stankus	select REGMAP_I2C
41636d4463SLucas Stankus	help
42636d4463SLucas Stankus	  Say Y here if you want to build i2c support for the Analog Devices
43636d4463SLucas Stankus	  ADXL313 3-axis digital accelerometer.
44636d4463SLucas Stankus
45636d4463SLucas Stankus	  To compile this driver as a module, choose M here: the module
46636d4463SLucas Stankus	  will be called adxl313_i2c and you will also get adxl313_core
47636d4463SLucas Stankus	  for the core module.
48636d4463SLucas Stankus
49636d4463SLucas Stankusconfig ADXL313_SPI
50636d4463SLucas Stankus	tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
51636d4463SLucas Stankus	depends on SPI
52636d4463SLucas Stankus	select ADXL313
53636d4463SLucas Stankus	select REGMAP_SPI
54636d4463SLucas Stankus	help
55636d4463SLucas Stankus	  Say Y here if you want to build spi support for the Analog Devices
56636d4463SLucas Stankus	  ADXL313 3-axis digital accelerometer.
57636d4463SLucas Stankus
58636d4463SLucas Stankus	  To compile this driver as a module, choose M here: the module
59636d4463SLucas Stankus	  will be called adxl313_spi and you will also get adxl313_core
60636d4463SLucas Stankus	  for the core module.
61636d4463SLucas Stankus
62c6236075SEva Rachel Retuyaconfig ADXL345
635170512cSEva Rachel Retuya	tristate
645170512cSEva Rachel Retuya
655170512cSEva Rachel Retuyaconfig ADXL345_I2C
665170512cSEva Rachel Retuya	tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
675170512cSEva Rachel Retuya	depends on INPUT_ADXL34X=n
68c6236075SEva Rachel Retuya	depends on I2C
695170512cSEva Rachel Retuya	select ADXL345
7031fd2c70SEva Rachel Retuya	select REGMAP_I2C
71c6236075SEva Rachel Retuya	help
72c6236075SEva Rachel Retuya	  Say Y here if you want to build support for the Analog Devices
73ef89f4b9SLars-Peter Clausen	  ADXL345 or ADXL375 3-axis digital accelerometer.
74c6236075SEva Rachel Retuya
755170512cSEva Rachel Retuya	  To compile this driver as a module, choose M here: the module
765170512cSEva Rachel Retuya	  will be called adxl345_i2c and you will also get adxl345_core
775170512cSEva Rachel Retuya	  for the core module.
78c6236075SEva Rachel Retuya
79fb0e5250SEva Rachel Retuyaconfig ADXL345_SPI
80fb0e5250SEva Rachel Retuya	tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver"
81fb0e5250SEva Rachel Retuya	depends on INPUT_ADXL34X=n
82fb0e5250SEva Rachel Retuya	depends on SPI
83fb0e5250SEva Rachel Retuya	select ADXL345
84fb0e5250SEva Rachel Retuya	select REGMAP_SPI
85fb0e5250SEva Rachel Retuya	help
86fb0e5250SEva Rachel Retuya	  Say Y here if you want to build support for the Analog Devices
87ef89f4b9SLars-Peter Clausen	  ADXL345 or ADXL375 3-axis digital accelerometer.
88fb0e5250SEva Rachel Retuya
89fb0e5250SEva Rachel Retuya	  To compile this driver as a module, choose M here: the module
90fb0e5250SEva Rachel Retuya	  will be called adxl345_spi and you will also get adxl345_core
91fb0e5250SEva Rachel Retuya	  for the core module.
92fb0e5250SEva Rachel Retuya
9312ed2786SPuranjay Mohanconfig ADXL355
9412ed2786SPuranjay Mohan	tristate
9512ed2786SPuranjay Mohan
9612ed2786SPuranjay Mohanconfig ADXL355_I2C
9712ed2786SPuranjay Mohan	tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer I2C Driver"
9812ed2786SPuranjay Mohan	depends on I2C
9912ed2786SPuranjay Mohan	select ADXL355
10012ed2786SPuranjay Mohan	select REGMAP_I2C
101327a0eafSPuranjay Mohan	select IIO_BUFFER
102327a0eafSPuranjay Mohan	select IIO_TRIGGERED_BUFFER
10312ed2786SPuranjay Mohan	help
10412ed2786SPuranjay Mohan	  Say Y here if you want to build i2c support for the Analog Devices
10512ed2786SPuranjay Mohan	  ADXL355 3-axis digital accelerometer.
10612ed2786SPuranjay Mohan
10712ed2786SPuranjay Mohan	  To compile this driver as a module, choose M here: the module
10812ed2786SPuranjay Mohan	  will be called adxl355_i2c and you will also get adxl355_core
10912ed2786SPuranjay Mohan	  for the core module.
11012ed2786SPuranjay Mohan
11112ed2786SPuranjay Mohanconfig ADXL355_SPI
11212ed2786SPuranjay Mohan	tristate "Analog Devices ADXL355 3-Axis Digital Accelerometer SPI Driver"
11312ed2786SPuranjay Mohan	depends on SPI
11412ed2786SPuranjay Mohan	select ADXL355
11512ed2786SPuranjay Mohan	select REGMAP_SPI
116327a0eafSPuranjay Mohan	select IIO_BUFFER
117327a0eafSPuranjay Mohan	select IIO_TRIGGERED_BUFFER
11812ed2786SPuranjay Mohan	help
11912ed2786SPuranjay Mohan	  Say Y here if you want to build spi support for the Analog Devices
12012ed2786SPuranjay Mohan	  ADXL355 3-axis digital accelerometer.
12112ed2786SPuranjay Mohan
12212ed2786SPuranjay Mohan	  To compile this driver as a module, choose M here: the module
12312ed2786SPuranjay Mohan	  will be called adxl355_spi and you will also get adxl355_core
12412ed2786SPuranjay Mohan	  for the core module.
12512ed2786SPuranjay Mohan
126cbab791cSCosmin Tanislavconfig ADXL367
127cbab791cSCosmin Tanislav	tristate
128cbab791cSCosmin Tanislav	select IIO_BUFFER
129cbab791cSCosmin Tanislav	select IIO_TRIGGERED_BUFFER
130cbab791cSCosmin Tanislav
131cbab791cSCosmin Tanislavconfig ADXL367_SPI
132cbab791cSCosmin Tanislav	tristate "Analog Devices ADXL367 3-Axis Accelerometer SPI Driver"
133cbab791cSCosmin Tanislav	depends on SPI
134cbab791cSCosmin Tanislav	select ADXL367
135cbab791cSCosmin Tanislav	select REGMAP_SPI
136cbab791cSCosmin Tanislav	help
137cbab791cSCosmin Tanislav	  Say yes here to add support for the Analog Devices ADXL367 triaxial
138cbab791cSCosmin Tanislav	  acceleration sensor.
139cbab791cSCosmin Tanislav	  To compile this driver as a module, choose M here: the
140cbab791cSCosmin Tanislav	  module will be called adxl367_spi.
141cbab791cSCosmin Tanislav
142cbab791cSCosmin Tanislavconfig ADXL367_I2C
143cbab791cSCosmin Tanislav	tristate "Analog Devices ADXL367 3-Axis Accelerometer I2C Driver"
144cbab791cSCosmin Tanislav	depends on I2C
145cbab791cSCosmin Tanislav	select ADXL367
146cbab791cSCosmin Tanislav	select REGMAP_I2C
147cbab791cSCosmin Tanislav	help
148cbab791cSCosmin Tanislav	  Say yes here to add support for the Analog Devices ADXL367 triaxial
149cbab791cSCosmin Tanislav	  acceleration sensor.
150cbab791cSCosmin Tanislav	  To compile this driver as a module, choose M here: the
151cbab791cSCosmin Tanislav	  module will be called adxl367_i2c.
152cbab791cSCosmin Tanislav
1534097da40SStefan Popaconfig ADXL372
154d9e8fd04SStefan Popa	tristate
1554097da40SStefan Popa	select IIO_BUFFER
1564097da40SStefan Popa	select IIO_TRIGGERED_BUFFER
157d9e8fd04SStefan Popa
158d9e8fd04SStefan Popaconfig ADXL372_SPI
159d9e8fd04SStefan Popa	tristate "Analog Devices ADXL372 3-Axis Accelerometer SPI Driver"
160d9e8fd04SStefan Popa	depends on SPI
161d9e8fd04SStefan Popa	select ADXL372
162d9e8fd04SStefan Popa	select REGMAP_SPI
1634097da40SStefan Popa	help
1644097da40SStefan Popa	  Say yes here to add support for the Analog Devices ADXL372 triaxial
1654097da40SStefan Popa	  acceleration sensor.
1664097da40SStefan Popa	  To compile this driver as a module, choose M here: the
167d9e8fd04SStefan Popa	  module will be called adxl372_spi.
1684097da40SStefan Popa
16994dbb46cSStefan Popaconfig ADXL372_I2C
17094dbb46cSStefan Popa	tristate "Analog Devices ADXL372 3-Axis Accelerometer I2C Driver"
17194dbb46cSStefan Popa	depends on I2C
17294dbb46cSStefan Popa	select ADXL372
17394dbb46cSStefan Popa	select REGMAP_I2C
17494dbb46cSStefan Popa	help
17594dbb46cSStefan Popa	  Say yes here to add support for the Analog Devices ADXL372 triaxial
17694dbb46cSStefan Popa	  acceleration sensor.
17794dbb46cSStefan Popa	  To compile this driver as a module, choose M here: the
17894dbb46cSStefan Popa	  module will be called adxl372_i2c.
17994dbb46cSStefan Popa
180df36de13SAntoniu Miclausconfig ADXL380
181df36de13SAntoniu Miclaus	tristate
182df36de13SAntoniu Miclaus	select IIO_BUFFER
183df36de13SAntoniu Miclaus	select IIO_TRIGGERED_BUFFER
184df36de13SAntoniu Miclaus
185df36de13SAntoniu Miclausconfig ADXL380_SPI
186df36de13SAntoniu Miclaus	tristate "Analog Devices ADXL380 3-Axis Accelerometer SPI Driver"
187df36de13SAntoniu Miclaus	depends on SPI
188df36de13SAntoniu Miclaus	select ADXL380
189df36de13SAntoniu Miclaus	select REGMAP_SPI
190df36de13SAntoniu Miclaus	help
191df36de13SAntoniu Miclaus	  Say yes here to add support for the Analog Devices ADXL380 triaxial
192df36de13SAntoniu Miclaus	  acceleration sensor.
193df36de13SAntoniu Miclaus	  To compile this driver as a module, choose M here: the
194df36de13SAntoniu Miclaus	  module will be called adxl380_spi.
195df36de13SAntoniu Miclaus
196df36de13SAntoniu Miclausconfig ADXL380_I2C
197df36de13SAntoniu Miclaus	tristate "Analog Devices ADXL380 3-Axis Accelerometer I2C Driver"
198df36de13SAntoniu Miclaus	depends on I2C
199df36de13SAntoniu Miclaus	select ADXL380
200df36de13SAntoniu Miclaus	select REGMAP_I2C
201df36de13SAntoniu Miclaus	help
202df36de13SAntoniu Miclaus	  Say yes here to add support for the Analog Devices ADXL380 triaxial
203df36de13SAntoniu Miclaus	  acceleration sensor.
204df36de13SAntoniu Miclaus	  To compile this driver as a module, choose M here: the
205df36de13SAntoniu Miclaus	  module will be called adxl380_i2c.
206df36de13SAntoniu Miclaus
207fdadbce0SOleksandr Kravchenkoconfig BMA180
208a7ba1c24SStephan Gerhold	tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver"
209a5e633ebSJonathan Bakker	depends on I2C && INPUT_BMA150=n
210fdadbce0SOleksandr Kravchenko	select IIO_BUFFER
211fdadbce0SOleksandr Kravchenko	select IIO_TRIGGERED_BUFFER
212fdadbce0SOleksandr Kravchenko	help
2136198bdb4SJonathan Bakker	  Say Y here if you want to build a driver for the Bosch BMA023, BMA150
214a7ba1c24SStephan Gerhold	  BMA180, BMA250 or SMB380 triaxial acceleration sensor.
215fdadbce0SOleksandr Kravchenko
216fdadbce0SOleksandr Kravchenko	  To compile this driver as a module, choose M here: the
217fdadbce0SOleksandr Kravchenko	  module will be called bma180.
218fdadbce0SOleksandr Kravchenko
219bf2a5600STiberiu Breanaconfig BMA220
220bf2a5600STiberiu Breana	tristate "Bosch BMA220 3-Axis Accelerometer Driver"
221bf2a5600STiberiu Breana	depends on SPI
222193e2d4fSAlison Schofield	select IIO_BUFFER
223193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
224bf2a5600STiberiu Breana	help
225bf2a5600STiberiu Breana	  Say yes here to add support for the Bosch BMA220 triaxial
226bf2a5600STiberiu Breana	  acceleration sensor.
227bf2a5600STiberiu Breana
228bf2a5600STiberiu Breana	  To compile this driver as a module, choose M here: the
229bf2a5600STiberiu Breana	  module will be called bma220_spi.
230bf2a5600STiberiu Breana
231465c811fSDan Robertsonconfig BMA400
232465c811fSDan Robertson	tristate "Bosch BMA400 3-Axis Accelerometer Driver"
233465c811fSDan Robertson	select REGMAP
234ffe0ab6aSJagath Jog J	select IIO_BUFFER
235ffe0ab6aSJagath Jog J	select IIO_TRIGGERED_BUFFER
236465c811fSDan Robertson	select BMA400_I2C if I2C
2379bea1064SDan Robertson	select BMA400_SPI if SPI
238465c811fSDan Robertson	help
239465c811fSDan Robertson	  Say Y here if you want to build a driver for the Bosch BMA400
240465c811fSDan Robertson	  triaxial acceleration sensor.
241465c811fSDan Robertson
242465c811fSDan Robertson	  To compile this driver as a module, choose M here: the
243465c811fSDan Robertson	  module will be called bma400_core and you will also get
2449bea1064SDan Robertson	  bma400_i2c if I2C is enabled and bma400_spi if SPI is
2459bea1064SDan Robertson	  enabled.
246465c811fSDan Robertson
247465c811fSDan Robertsonconfig BMA400_I2C
248465c811fSDan Robertson	tristate
2494cb81840SMario Limonciello	select REGMAP_I2C
250465c811fSDan Robertson	depends on BMA400
251465c811fSDan Robertson
2529bea1064SDan Robertsonconfig BMA400_SPI
2539bea1064SDan Robertson	tristate
2544cb81840SMario Limonciello	select REGMAP_SPI
2559bea1064SDan Robertson	depends on BMA400
2569bea1064SDan Robertson
257bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL
258bd7fe5b7SSrinivas Pandruvada	tristate "Bosch BMC150 Accelerometer Driver"
259bd7fe5b7SSrinivas Pandruvada	select IIO_BUFFER
260bd7fe5b7SSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
2614011eda6SMarkus Pargmann	select REGMAP
26255637c38SMarkus Pargmann	select BMC150_ACCEL_I2C if I2C
263f9ab96e2SMarkus Pargmann	select BMC150_ACCEL_SPI if SPI
264bd7fe5b7SSrinivas Pandruvada	help
2658ecbb3c3SLaurentiu Palcu	  Say yes here to build support for the following Bosch accelerometers:
26652ae7c70SStephan Gerhold	  BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156
26752ae7c70SStephan Gerhold	  BMI055.
2688ecbb3c3SLaurentiu Palcu
2694c177823SStephan Gerhold	  Note that some of these are combo modules:
27052ae7c70SStephan Gerhold	    - BMC150/BMC156: accelerometer and magnetometer
2714c177823SStephan Gerhold	    - BMI055: accelerometer and gyroscope
2724c177823SStephan Gerhold
273bd7fe5b7SSrinivas Pandruvada	  This driver is only implementing accelerometer part, which has
274bd7fe5b7SSrinivas Pandruvada	  its own address and register map.
275bd7fe5b7SSrinivas Pandruvada
27655637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C
27755637c38SMarkus Pargmann	tristate
27855637c38SMarkus Pargmann	select REGMAP_I2C
27955637c38SMarkus Pargmann
280f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI
281f9ab96e2SMarkus Pargmann	tristate
282f9ab96e2SMarkus Pargmann	select REGMAP_SPI
283f9ab96e2SMarkus Pargmann
284c19ae6beSMike Looijmansconfig BMI088_ACCEL
285c19ae6beSMike Looijmans	tristate "Bosch BMI088 Accelerometer Driver"
286c19ae6beSMike Looijmans	select IIO_BUFFER
287c19ae6beSMike Looijmans	select IIO_TRIGGERED_BUFFER
288c19ae6beSMike Looijmans	select REGMAP
289b2463c49SJun Yan	select BMI088_ACCEL_SPI if SPI
290b2463c49SJun Yan	select BMI088_ACCEL_I2C if I2C
291c19ae6beSMike Looijmans	help
29238f0bd4cSJun Yan	  Say yes here to build support for the following Bosch accelerometers:
29338f0bd4cSJun Yan	  BMI088, BMI085, BMI090L. Note that all of these are combo module that
29438f0bd4cSJun Yan	  include both accelerometer and gyroscope.
295c19ae6beSMike Looijmans
29638f0bd4cSJun Yan	  This driver only implements the accelerometer part, which has its own
297c19ae6beSMike Looijmans	  address and register map. BMG160 provides the gyroscope driver.
298c19ae6beSMike Looijmans
299b2463c49SJun Yanconfig BMI088_ACCEL_I2C
300b2463c49SJun Yan	tristate
301b2463c49SJun Yan	select REGMAP_I2C
302b2463c49SJun Yan
303c19ae6beSMike Looijmansconfig BMI088_ACCEL_SPI
304c19ae6beSMike Looijmans	tristate
305c19ae6beSMike Looijmans	select REGMAP_SPI
306c19ae6beSMike Looijmans
307f225951dSHans de Goedeconfig DA280
308f225951dSHans de Goede	tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
309f225951dSHans de Goede	depends on I2C
310f225951dSHans de Goede	help
311f225951dSHans de Goede	  Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
312f225951dSHans de Goede	  digital accelerometer.
313f225951dSHans de Goede
314f225951dSHans de Goede	  To compile this driver as a module, choose M here: the
315f225951dSHans de Goede	  module will be called da280.
316f225951dSHans de Goede
317598893e9SHans de Goedeconfig DA311
318598893e9SHans de Goede	tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
319598893e9SHans de Goede	depends on I2C
320598893e9SHans de Goede	help
321598893e9SHans de Goede	  Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
322598893e9SHans de Goede	  digital accelerometer.
323598893e9SHans de Goede
324598893e9SHans de Goede	  To compile this driver as a module, choose M here: the
325598893e9SHans de Goede	  module will be called da311.
326598893e9SHans de Goede
327b1b79f53SAleksei Mamlinconfig DMARD06
328b1b79f53SAleksei Mamlin	tristate "Domintech DMARD06 Digital Accelerometer Driver"
329b1b79f53SAleksei Mamlin	depends on I2C
330b1b79f53SAleksei Mamlin	help
331b1b79f53SAleksei Mamlin	  Say yes here to build support for the Domintech low-g tri-axial
332b1b79f53SAleksei Mamlin	  digital accelerometers: DMARD05, DMARD06, DMARD07.
333b1b79f53SAleksei Mamlin
334b1b79f53SAleksei Mamlin	  To compile this driver as a module, choose M here: the
335b1b79f53SAleksei Mamlin	  module will be called dmard06.
336b1b79f53SAleksei Mamlin
337a4fa6509SJelle van der Waaconfig DMARD09
338a4fa6509SJelle van der Waa	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
339a4fa6509SJelle van der Waa	depends on I2C
340a4fa6509SJelle van der Waa	help
341a4fa6509SJelle van der Waa	  Say yes here to get support for the Domintech DMARD09 3-axis
342a4fa6509SJelle van der Waa	  accelerometer.
343a4fa6509SJelle van der Waa
344a4fa6509SJelle van der Waa	  Choosing M will build the driver as a module. If so, the module
345a4fa6509SJelle van der Waa	  will be called dmard09.
346a4fa6509SJelle van der Waa
347569906e2SHans de Goedeconfig DMARD10
348569906e2SHans de Goede	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
349569906e2SHans de Goede	depends on I2C
350569906e2SHans de Goede	help
351569906e2SHans de Goede	  Say yes here to get support for the Domintech DMARD10 3-axis
352569906e2SHans de Goede	  accelerometer.
353569906e2SHans de Goede
354569906e2SHans de Goede	  Choosing M will build the driver as a module. If so, the module
355569906e2SHans de Goede	  will be called dmard10.
356569906e2SHans de Goede
357a3e0b518SSean Nyekjaerconfig FXLS8962AF
358a3e0b518SSean Nyekjaer	tristate
3599f9decdbSArnd Bergmann	depends on I2C || !I2C # cannot be built-in for modular I2C
360a821d711SAlexander Sverdlin	select IIO_BUFFER
361a821d711SAlexander Sverdlin	select IIO_KFIFO_BUF
362a3e0b518SSean Nyekjaer
363a3e0b518SSean Nyekjaerconfig FXLS8962AF_I2C
364a3e0b518SSean Nyekjaer	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
365a3e0b518SSean Nyekjaer	depends on I2C
366a3e0b518SSean Nyekjaer	select FXLS8962AF
367a3e0b518SSean Nyekjaer	select REGMAP_I2C
368a3e0b518SSean Nyekjaer	help
369a3e0b518SSean Nyekjaer	  Say yes here to build support for the NXP 3-axis automotive
370a3e0b518SSean Nyekjaer	  accelerometer FXLS8962AF/FXLS8964AF with I2C support.
371a3e0b518SSean Nyekjaer
372a3e0b518SSean Nyekjaer	  To compile this driver as a module, choose M here: the module
373a3e0b518SSean Nyekjaer	  will be called fxls8962af_i2c.
374a3e0b518SSean Nyekjaer
375a3e0b518SSean Nyekjaerconfig FXLS8962AF_SPI
376a3e0b518SSean Nyekjaer	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver"
377a3e0b518SSean Nyekjaer	depends on SPI
3789f9decdbSArnd Bergmann	depends on I2C || !I2C
379a3e0b518SSean Nyekjaer	select FXLS8962AF
380a3e0b518SSean Nyekjaer	select REGMAP_SPI
381a3e0b518SSean Nyekjaer	help
382a3e0b518SSean Nyekjaer	  Say yes here to build support for the NXP 3-axis automotive
383a3e0b518SSean Nyekjaer	  accelerometer FXLS8962AF/FXLS8964AF with SPI support.
384a3e0b518SSean Nyekjaer
385a3e0b518SSean Nyekjaer	  To compile this driver as a module, choose M here: the module
386a3e0b518SSean Nyekjaer	  will be called fxls8962af_spi.
387a3e0b518SSean Nyekjaer
38845fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
38945fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
39045fe6f7dSsrinivas pandruvada	select IIO_BUFFER
39145fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
3929541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
393ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
39445fe6f7dSsrinivas pandruvada	help
39545fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
39645fe6f7dSsrinivas pandruvada	  accelerometers 3D.
39745fe6f7dSsrinivas pandruvada
39888f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
39988f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
40088f4c6c4SRoberta Dobrescu
40111b86c70SGwendal Grignouconfig IIO_CROS_EC_ACCEL_LEGACY
40211b86c70SGwendal Grignou	tristate "ChromeOS EC Legacy Accelerometer Sensor"
403d96e2677SGwendal Grignou	depends on IIO_CROS_EC_SENSORS_CORE
40411b86c70SGwendal Grignou	help
40511b86c70SGwendal Grignou	  Say yes here to get support for accelerometers on Chromebook using
40611b86c70SGwendal Grignou	  legacy EC firmware.
40711b86c70SGwendal Grignou	  Sensor data is retrieved through IO memory.
40811b86c70SGwendal Grignou	  Newer devices should use IIO_CROS_EC_SENSORS.
40911b86c70SGwendal Grignou
410d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
411d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
412d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
413ed8959f4SLinus Walleij	depends on !SENSORS_LIS3_I2C
414ed8959f4SLinus Walleij	depends on !SENSORS_LIS3_SPI
415d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
416d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
417d6251168SDenis Ciocca	help
418d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
41923fd6f0bSStephan Gerhold	  LSM303C, LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
420dcdb0a78SLorenzo Bianconi	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
4213f4a559bSGaëtan André	  LNG2DM, LIS3DE, LIS2DE12, LIS2HH12
422d6251168SDenis Ciocca
42326b2ec2eSNikita Yushchenko	  Also need to enable at least one of I2C and SPI interface drivers
42426b2ec2eSNikita Yushchenko	  below.
425d6251168SDenis Ciocca
426d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
42726b2ec2eSNikita Yushchenko	tristate "STMicroelectronics accelerometers 3-Axis I2C Interface"
42826b2ec2eSNikita Yushchenko	depends on I2C && IIO_ST_ACCEL_3AXIS
42926b2ec2eSNikita Yushchenko	default I2C && IIO_ST_ACCEL_3AXIS
43026b2ec2eSNikita Yushchenko	select IIO_ST_SENSORS_I2C
43126b2ec2eSNikita Yushchenko	help
43226b2ec2eSNikita Yushchenko	  Build support for STMicroelectronics accelerometers I2C interface.
43326b2ec2eSNikita Yushchenko
43426b2ec2eSNikita Yushchenko	  To compile this driver as a module, choose M here. The module
43526b2ec2eSNikita Yushchenko	  will be called st_accel_i2c.
436d6251168SDenis Ciocca
437d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
43826b2ec2eSNikita Yushchenko	tristate "STMicroelectronics accelerometers 3-Axis SPI Interface"
43926b2ec2eSNikita Yushchenko	depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS
44026b2ec2eSNikita Yushchenko	default SPI_MASTER && IIO_ST_ACCEL_3AXIS
44126b2ec2eSNikita Yushchenko	select IIO_ST_SENSORS_SPI
44226b2ec2eSNikita Yushchenko	help
44326b2ec2eSNikita Yushchenko	  Build support for STMicroelectronics accelerometers SPI interface.
44426b2ec2eSNikita Yushchenko
44526b2ec2eSNikita Yushchenko	  To compile this driver as a module, choose M here. The module
44626b2ec2eSNikita Yushchenko	  will be called st_accel_spi.
447d6251168SDenis Ciocca
4487c1d1677SMatti Vaittinenconfig IIO_KX022A
4497c1d1677SMatti Vaittinen	tristate
450*96666f05SJavier Carrasco	select IIO_BUFFER
451*96666f05SJavier Carrasco	select IIO_TRIGGERED_BUFFER
4527c1d1677SMatti Vaittinen
4537c1d1677SMatti Vaittinenconfig IIO_KX022A_SPI
4547c1d1677SMatti Vaittinen	tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
4557c1d1677SMatti Vaittinen	depends on SPI
4567c1d1677SMatti Vaittinen	select IIO_KX022A
4577c1d1677SMatti Vaittinen	select REGMAP_SPI
4587c1d1677SMatti Vaittinen	help
459e631f61fSMehdi Djait	  Enable support for the Kionix digital tri-axis accelerometers
460e631f61fSMehdi Djait	  connected to SPI interface. Supported devices are:
4611c8af637SMatti Vaittinen	    KX022A, KX132-1211, KX132ACR-LBZ
4627c1d1677SMatti Vaittinen
4637c1d1677SMatti Vaittinenconfig IIO_KX022A_I2C
4647c1d1677SMatti Vaittinen	tristate "Kionix KX022A tri-axis digital accelerometer I2C interface"
4657c1d1677SMatti Vaittinen	depends on I2C
4667c1d1677SMatti Vaittinen	select IIO_KX022A
4677c1d1677SMatti Vaittinen	select REGMAP_I2C
4687c1d1677SMatti Vaittinen	help
469e631f61fSMehdi Djait	  Enable support for the Kionix digital tri-axis accelerometers
470e631f61fSMehdi Djait	  connected to I2C interface. Supported devices are:
4711c8af637SMatti Vaittinen	    KX022A, KX132-1211, KX132ACR-LBZ
4727c1d1677SMatti Vaittinen
4733edc84e6SLars-Peter Clausenconfig KXSD9
4743edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
4750427a106SLinus Walleij	select IIO_BUFFER
4760427a106SLinus Walleij	select IIO_TRIGGERED_BUFFER
4773edc84e6SLars-Peter Clausen	help
4783edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
479a483ab79SLinus Walleij	  It can be accessed using an (optional) SPI or I2C interface.
4803edc84e6SLars-Peter Clausen
48188f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
48288f4c6c4SRoberta Dobrescu	  will be called kxsd9.
48388f4c6c4SRoberta Dobrescu
484bf96f6e8SLinus Walleijconfig KXSD9_SPI
485bf96f6e8SLinus Walleij	tristate "Kionix KXSD9 SPI transport"
486bf96f6e8SLinus Walleij	depends on KXSD9
487bf96f6e8SLinus Walleij	depends on SPI
488bf96f6e8SLinus Walleij	default KXSD9
4890d1fb2d5SLinus Walleij	select REGMAP_SPI
490bf96f6e8SLinus Walleij	help
491bf96f6e8SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
492bf96f6e8SLinus Walleij	  SPI transport channel.
493bf96f6e8SLinus Walleij
494a483ab79SLinus Walleijconfig KXSD9_I2C
495a483ab79SLinus Walleij	tristate "Kionix KXSD9 I2C transport"
496a483ab79SLinus Walleij	depends on KXSD9
497a483ab79SLinus Walleij	depends on I2C
498a483ab79SLinus Walleij	default KXSD9
499a483ab79SLinus Walleij	select REGMAP_I2C
500a483ab79SLinus Walleij	help
501a483ab79SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
502a483ab79SLinus Walleij	  I2C transport channel.
503a483ab79SLinus Walleij
5041a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
5051a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
5061a4fbf6aSSrinivas Pandruvada	depends on I2C
5071a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
5081a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
5091a4fbf6aSSrinivas Pandruvada	help
5101a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
5111540d010SMichał Mirosław	  triaxial acceleration sensor. This driver also supports KXCJ9-1008,
5121540d010SMichał Mirosław	  KXTJ2-1009 and KXTF9.
5131a4fbf6aSSrinivas Pandruvada
5141a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
5151a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
5161a4fbf6aSSrinivas Pandruvada
517063e3303SHans de Goedeconfig MC3230
518063e3303SHans de Goede	tristate "mCube MC3230 Digital Accelerometer Driver"
519063e3303SHans de Goede	depends on I2C
520063e3303SHans de Goede	help
521063e3303SHans de Goede	  Say yes here to build support for the mCube MC3230 low-g tri-axial
522063e3303SHans de Goede	  digital accelerometer.
523063e3303SHans de Goede
524063e3303SHans de Goede	  To compile this driver as a module, choose M here: the
525063e3303SHans de Goede	  module will be called mc3230.
526063e3303SHans de Goede
527a84ef0d1SJoachim Eastwoodconfig MMA7455
528a84ef0d1SJoachim Eastwood	tristate
529a84ef0d1SJoachim Eastwood	select IIO_BUFFER
530a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
531a84ef0d1SJoachim Eastwood
532a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
533a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
534a84ef0d1SJoachim Eastwood	depends on I2C
535a84ef0d1SJoachim Eastwood	select MMA7455
536a84ef0d1SJoachim Eastwood	select REGMAP_I2C
537a84ef0d1SJoachim Eastwood	help
538a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
539a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
540a84ef0d1SJoachim Eastwood
541a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
542a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
543a84ef0d1SJoachim Eastwood
544a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
545a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
546a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
547a84ef0d1SJoachim Eastwood	select MMA7455
548a84ef0d1SJoachim Eastwood	select REGMAP_SPI
549a84ef0d1SJoachim Eastwood	help
550a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
551a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
552a84ef0d1SJoachim Eastwood
553a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
554a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
555a84ef0d1SJoachim Eastwood
55632133be6SConstantin Muscaconfig MMA7660
55732133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
55832133be6SConstantin Musca	depends on I2C
55932133be6SConstantin Musca	help
56032133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
56132133be6SConstantin Musca	  accelerometer.
56232133be6SConstantin Musca
56332133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
56432133be6SConstantin Musca	  will be called mma7660.
56532133be6SConstantin Musca
5668838cc7fSHartmut Knaackconfig MMA8452
567f26ab1aaSMartin Kepplinger	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
5688838cc7fSHartmut Knaack	depends on I2C
5698838cc7fSHartmut Knaack	select IIO_BUFFER
5708838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
5718838cc7fSHartmut Knaack	help
572f26ab1aaSMartin Kepplinger	  Say yes here to build support for the following Freescale / NXP 3-axis
573e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
574e8731180SMartin Kepplinger	  FXLS8471Q.
5758838cc7fSHartmut Knaack
5768838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
5778838cc7fSHartmut Knaack	  will be called mma8452.
5788838cc7fSHartmut Knaack
579d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
580d5b97f5cSIrina Tirdea	tristate
581d5b97f5cSIrina Tirdea
582c78b9171SVlad Dogaruconfig MMA9551
583c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
584c78b9171SVlad Dogaru	depends on I2C
585d5b97f5cSIrina Tirdea	select MMA9551_CORE
586d5b97f5cSIrina Tirdea
587c78b9171SVlad Dogaru	help
588c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
589c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
590c78b9171SVlad Dogaru
591c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
592c78b9171SVlad Dogaru	  will be called mma9551.
593c78b9171SVlad Dogaru
59440cb7613SIrina Tirdeaconfig MMA9553
59540cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
59640cb7613SIrina Tirdea	depends on I2C
59740cb7613SIrina Tirdea	select MMA9551_CORE
59840cb7613SIrina Tirdea	help
59940cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
60040cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
60140cb7613SIrina Tirdea
60240cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
60340cb7613SIrina Tirdea	  will be called mma9553.
60490bad33aSTiberiu Breana
6051ca2cfbcSDmitry Rokosovconfig MSA311
6061ca2cfbcSDmitry Rokosov	tristate "MEMSensing Digital 3-Axis Accelerometer Driver"
6071ca2cfbcSDmitry Rokosov	depends on I2C
6081ca2cfbcSDmitry Rokosov	select IIO_BUFFER
6091ca2cfbcSDmitry Rokosov	select IIO_TRIGGERED_BUFFER
6101ca2cfbcSDmitry Rokosov	select REGMAP_I2C
6111ca2cfbcSDmitry Rokosov	help
6121ca2cfbcSDmitry Rokosov	  Say yes here to build support for the MEMSensing MSA311
6131ca2cfbcSDmitry Rokosov	  accelerometer driver.
6141ca2cfbcSDmitry Rokosov
6151ca2cfbcSDmitry Rokosov	  To compile this driver as a module, choose M here: the module will be
6161ca2cfbcSDmitry Rokosov	  called msa311.
6171ca2cfbcSDmitry Rokosov
618077377fcSTeodora Balutaconfig MXC4005
619077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
620077377fcSTeodora Baluta	depends on I2C
6211ce0eda0STeodora Baluta	select IIO_BUFFER
6221ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
623077377fcSTeodora Baluta	select REGMAP_I2C
624077377fcSTeodora Baluta	help
625077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
626077377fcSTeodora Baluta	  accelerometer.
627077377fcSTeodora Baluta
628077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
629077377fcSTeodora Baluta	  called mxc4005.
630077377fcSTeodora Baluta
63175b6548fSTeodora Balutaconfig MXC6255
63275b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
63375b6548fSTeodora Baluta	depends on I2C
63475b6548fSTeodora Baluta	select REGMAP_I2C
63575b6548fSTeodora Baluta	help
63675b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
63775b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
63875b6548fSTeodora Baluta
63975b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
64075b6548fSTeodora Baluta	  called mxc6255.
64175b6548fSTeodora Baluta
642d62e5feeSJonathan Cameronconfig SCA3000
643d62e5feeSJonathan Cameron	select IIO_BUFFER
644d62e5feeSJonathan Cameron	select IIO_KFIFO_BUF
645d62e5feeSJonathan Cameron	depends on SPI
646d62e5feeSJonathan Cameron	tristate "VTI SCA3000 series accelerometers"
647d62e5feeSJonathan Cameron	help
648d62e5feeSJonathan Cameron	  Say Y here to build support for the VTI SCA3000 series of SPI
649d62e5feeSJonathan Cameron	  accelerometers. These devices use a hardware ring buffer.
650d62e5feeSJonathan Cameron
651d62e5feeSJonathan Cameron	  To compile this driver as a module, say M here: the module will be
652d62e5feeSJonathan Cameron	  called sca3000.
653d62e5feeSJonathan Cameron
6549cc9806eSTomas Melinconfig SCA3300
6559cc9806eSTomas Melin	tristate "Murata SCA3300 3-Axis Accelerometer Driver"
6569cc9806eSTomas Melin	depends on SPI
6579cc9806eSTomas Melin	select CRC8
6589cc9806eSTomas Melin	select IIO_BUFFER
6599cc9806eSTomas Melin	select IIO_TRIGGERED_BUFFER
6609cc9806eSTomas Melin	help
6619cc9806eSTomas Melin	  Say yes here to build support for Murata SCA3300 3-Axis
6629cc9806eSTomas Melin	  accelerometer.
6639cc9806eSTomas Melin
6649cc9806eSTomas Melin	  To compile this driver as a module, choose M here: the module will be
6659cc9806eSTomas Melin	  called sca3300.
6669cc9806eSTomas Melin
66790bad33aSTiberiu Breanaconfig STK8312
66890bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
66990bad33aSTiberiu Breana	depends on I2C
670946448e0SHartmut Knaack	select IIO_BUFFER
671946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
67290bad33aSTiberiu Breana	help
67390bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
67490bad33aSTiberiu Breana	  accelerometer.
67590bad33aSTiberiu Breana
67690bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
67790bad33aSTiberiu Breana	  will be called stk8312.
67890bad33aSTiberiu Breana
679884ca456STiberiu Breanaconfig STK8BA50
680884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
681884ca456STiberiu Breana	depends on I2C
682193e2d4fSAlison Schofield	select IIO_BUFFER
683193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
684884ca456STiberiu Breana	help
685884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
686884ca456STiberiu Breana	  accelerometer.
687884ca456STiberiu Breana
688884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
689884ca456STiberiu Breana	  will be called stk8ba50.
690884ca456STiberiu Breana
69145fe6f7dSsrinivas pandruvadaendmenu
692