xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision 09138ba68c1487a42c400485e999386a74911dbc)
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
180fdadbce0SOleksandr Kravchenkoconfig BMA180
181a7ba1c24SStephan Gerhold	tristate "Bosch BMA023/BMA1x0/BMA250 3-Axis Accelerometer Driver"
182a5e633ebSJonathan Bakker	depends on I2C && INPUT_BMA150=n
183fdadbce0SOleksandr Kravchenko	select IIO_BUFFER
184fdadbce0SOleksandr Kravchenko	select IIO_TRIGGERED_BUFFER
185fdadbce0SOleksandr Kravchenko	help
1866198bdb4SJonathan Bakker	  Say Y here if you want to build a driver for the Bosch BMA023, BMA150
187a7ba1c24SStephan Gerhold	  BMA180, BMA250 or SMB380 triaxial acceleration sensor.
188fdadbce0SOleksandr Kravchenko
189fdadbce0SOleksandr Kravchenko	  To compile this driver as a module, choose M here: the
190fdadbce0SOleksandr Kravchenko	  module will be called bma180.
191fdadbce0SOleksandr Kravchenko
192bf2a5600STiberiu Breanaconfig BMA220
193bf2a5600STiberiu Breana	tristate "Bosch BMA220 3-Axis Accelerometer Driver"
194bf2a5600STiberiu Breana	depends on SPI
195193e2d4fSAlison Schofield	select IIO_BUFFER
196193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
197bf2a5600STiberiu Breana	help
198bf2a5600STiberiu Breana	  Say yes here to add support for the Bosch BMA220 triaxial
199bf2a5600STiberiu Breana	  acceleration sensor.
200bf2a5600STiberiu Breana
201bf2a5600STiberiu Breana	  To compile this driver as a module, choose M here: the
202bf2a5600STiberiu Breana	  module will be called bma220_spi.
203bf2a5600STiberiu Breana
204465c811fSDan Robertsonconfig BMA400
205465c811fSDan Robertson	tristate "Bosch BMA400 3-Axis Accelerometer Driver"
206465c811fSDan Robertson	select REGMAP
207ffe0ab6aSJagath Jog J	select IIO_BUFFER
208ffe0ab6aSJagath Jog J	select IIO_TRIGGERED_BUFFER
209465c811fSDan Robertson	select BMA400_I2C if I2C
2109bea1064SDan Robertson	select BMA400_SPI if SPI
211465c811fSDan Robertson	help
212465c811fSDan Robertson	  Say Y here if you want to build a driver for the Bosch BMA400
213465c811fSDan Robertson	  triaxial acceleration sensor.
214465c811fSDan Robertson
215465c811fSDan Robertson	  To compile this driver as a module, choose M here: the
216465c811fSDan Robertson	  module will be called bma400_core and you will also get
2179bea1064SDan Robertson	  bma400_i2c if I2C is enabled and bma400_spi if SPI is
2189bea1064SDan Robertson	  enabled.
219465c811fSDan Robertson
220465c811fSDan Robertsonconfig BMA400_I2C
221465c811fSDan Robertson	tristate
22254e67b77SMario Limonciello	select REGMAP_I2C
223465c811fSDan Robertson	depends on BMA400
224465c811fSDan Robertson
2259bea1064SDan Robertsonconfig BMA400_SPI
2269bea1064SDan Robertson	tristate
22754e67b77SMario Limonciello	select REGMAP_SPI
2289bea1064SDan Robertson	depends on BMA400
2299bea1064SDan Robertson
230bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL
231bd7fe5b7SSrinivas Pandruvada	tristate "Bosch BMC150 Accelerometer Driver"
232bd7fe5b7SSrinivas Pandruvada	select IIO_BUFFER
233bd7fe5b7SSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
2344011eda6SMarkus Pargmann	select REGMAP
23555637c38SMarkus Pargmann	select BMC150_ACCEL_I2C if I2C
236f9ab96e2SMarkus Pargmann	select BMC150_ACCEL_SPI if SPI
237bd7fe5b7SSrinivas Pandruvada	help
2388ecbb3c3SLaurentiu Palcu	  Say yes here to build support for the following Bosch accelerometers:
23952ae7c70SStephan Gerhold	  BMA222, BMA222E, BMA250E, BMA253, BMA254, BMA255, BMA280, BMC150, BMC156
24052ae7c70SStephan Gerhold	  BMI055.
2418ecbb3c3SLaurentiu Palcu
2424c177823SStephan Gerhold	  Note that some of these are combo modules:
24352ae7c70SStephan Gerhold	    - BMC150/BMC156: accelerometer and magnetometer
2444c177823SStephan Gerhold	    - BMI055: accelerometer and gyroscope
2454c177823SStephan Gerhold
246bd7fe5b7SSrinivas Pandruvada	  This driver is only implementing accelerometer part, which has
247bd7fe5b7SSrinivas Pandruvada	  its own address and register map.
248bd7fe5b7SSrinivas Pandruvada
24955637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C
25055637c38SMarkus Pargmann	tristate
25155637c38SMarkus Pargmann	select REGMAP_I2C
25255637c38SMarkus Pargmann
253f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI
254f9ab96e2SMarkus Pargmann	tristate
255f9ab96e2SMarkus Pargmann	select REGMAP_SPI
256f9ab96e2SMarkus Pargmann
257c19ae6beSMike Looijmansconfig BMI088_ACCEL
258c19ae6beSMike Looijmans	tristate "Bosch BMI088 Accelerometer Driver"
259c19ae6beSMike Looijmans	depends on SPI
260c19ae6beSMike Looijmans	select IIO_BUFFER
261c19ae6beSMike Looijmans	select IIO_TRIGGERED_BUFFER
262c19ae6beSMike Looijmans	select REGMAP
263c19ae6beSMike Looijmans	select BMI088_ACCEL_SPI
264c19ae6beSMike Looijmans	help
265c19ae6beSMike Looijmans	  Say yes here to build support for the Bosch BMI088 accelerometer.
266c19ae6beSMike Looijmans
267c19ae6beSMike Looijmans	  This is a combo module with both accelerometer and gyroscope. This
268c19ae6beSMike Looijmans	  driver only implements the accelerometer part, which has its own
269c19ae6beSMike Looijmans	  address and register map. BMG160 provides the gyroscope driver.
270c19ae6beSMike Looijmans
271c19ae6beSMike Looijmansconfig BMI088_ACCEL_SPI
272c19ae6beSMike Looijmans	tristate
273c19ae6beSMike Looijmans	select REGMAP_SPI
274c19ae6beSMike Looijmans
275f225951dSHans de Goedeconfig DA280
276f225951dSHans de Goede	tristate "MiraMEMS DA280 3-axis 14-bit digital accelerometer driver"
277f225951dSHans de Goede	depends on I2C
278f225951dSHans de Goede	help
279f225951dSHans de Goede	  Say yes here to build support for the MiraMEMS DA280 3-axis 14-bit
280f225951dSHans de Goede	  digital accelerometer.
281f225951dSHans de Goede
282f225951dSHans de Goede	  To compile this driver as a module, choose M here: the
283f225951dSHans de Goede	  module will be called da280.
284f225951dSHans de Goede
285598893e9SHans de Goedeconfig DA311
286598893e9SHans de Goede	tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
287598893e9SHans de Goede	depends on I2C
288598893e9SHans de Goede	help
289598893e9SHans de Goede	  Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
290598893e9SHans de Goede	  digital accelerometer.
291598893e9SHans de Goede
292598893e9SHans de Goede	  To compile this driver as a module, choose M here: the
293598893e9SHans de Goede	  module will be called da311.
294598893e9SHans de Goede
295b1b79f53SAleksei Mamlinconfig DMARD06
296b1b79f53SAleksei Mamlin	tristate "Domintech DMARD06 Digital Accelerometer Driver"
297b1b79f53SAleksei Mamlin	depends on I2C
298b1b79f53SAleksei Mamlin	help
299b1b79f53SAleksei Mamlin	  Say yes here to build support for the Domintech low-g tri-axial
300b1b79f53SAleksei Mamlin	  digital accelerometers: DMARD05, DMARD06, DMARD07.
301b1b79f53SAleksei Mamlin
302b1b79f53SAleksei Mamlin	  To compile this driver as a module, choose M here: the
303b1b79f53SAleksei Mamlin	  module will be called dmard06.
304b1b79f53SAleksei Mamlin
305a4fa6509SJelle van der Waaconfig DMARD09
306a4fa6509SJelle van der Waa	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
307a4fa6509SJelle van der Waa	depends on I2C
308a4fa6509SJelle van der Waa	help
309a4fa6509SJelle van der Waa	  Say yes here to get support for the Domintech DMARD09 3-axis
310a4fa6509SJelle van der Waa	  accelerometer.
311a4fa6509SJelle van der Waa
312a4fa6509SJelle van der Waa	  Choosing M will build the driver as a module. If so, the module
313a4fa6509SJelle van der Waa	  will be called dmard09.
314a4fa6509SJelle van der Waa
315569906e2SHans de Goedeconfig DMARD10
316569906e2SHans de Goede	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
317569906e2SHans de Goede	depends on I2C
318569906e2SHans de Goede	help
319569906e2SHans de Goede	  Say yes here to get support for the Domintech DMARD10 3-axis
320569906e2SHans de Goede	  accelerometer.
321569906e2SHans de Goede
322569906e2SHans de Goede	  Choosing M will build the driver as a module. If so, the module
323569906e2SHans de Goede	  will be called dmard10.
324569906e2SHans de Goede
325a3e0b518SSean Nyekjaerconfig FXLS8962AF
326a3e0b518SSean Nyekjaer	tristate
3279f9decdbSArnd Bergmann	depends on I2C || !I2C # cannot be built-in for modular I2C
3287387777aSAlexander Sverdlin	select IIO_BUFFER
3297387777aSAlexander Sverdlin	select IIO_KFIFO_BUF
330a3e0b518SSean Nyekjaer
331a3e0b518SSean Nyekjaerconfig FXLS8962AF_I2C
332a3e0b518SSean Nyekjaer	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer I2C Driver"
333a3e0b518SSean Nyekjaer	depends on I2C
334a3e0b518SSean Nyekjaer	select FXLS8962AF
335a3e0b518SSean Nyekjaer	select REGMAP_I2C
336a3e0b518SSean Nyekjaer	help
337a3e0b518SSean Nyekjaer	  Say yes here to build support for the NXP 3-axis automotive
338a3e0b518SSean Nyekjaer	  accelerometer FXLS8962AF/FXLS8964AF with I2C support.
339a3e0b518SSean Nyekjaer
340a3e0b518SSean Nyekjaer	  To compile this driver as a module, choose M here: the module
341a3e0b518SSean Nyekjaer	  will be called fxls8962af_i2c.
342a3e0b518SSean Nyekjaer
343a3e0b518SSean Nyekjaerconfig FXLS8962AF_SPI
344a3e0b518SSean Nyekjaer	tristate "NXP FXLS8962AF/FXLS8964AF Accelerometer SPI Driver"
345a3e0b518SSean Nyekjaer	depends on SPI
3469f9decdbSArnd Bergmann	depends on I2C || !I2C
347a3e0b518SSean Nyekjaer	select FXLS8962AF
348a3e0b518SSean Nyekjaer	select REGMAP_SPI
349a3e0b518SSean Nyekjaer	help
350a3e0b518SSean Nyekjaer	  Say yes here to build support for the NXP 3-axis automotive
351a3e0b518SSean Nyekjaer	  accelerometer FXLS8962AF/FXLS8964AF with SPI support.
352a3e0b518SSean Nyekjaer
353a3e0b518SSean Nyekjaer	  To compile this driver as a module, choose M here: the module
354a3e0b518SSean Nyekjaer	  will be called fxls8962af_spi.
355a3e0b518SSean Nyekjaer
35645fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
35745fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
35845fe6f7dSsrinivas pandruvada	select IIO_BUFFER
35945fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
3609541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
361ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
36245fe6f7dSsrinivas pandruvada	help
36345fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
36445fe6f7dSsrinivas pandruvada	  accelerometers 3D.
36545fe6f7dSsrinivas pandruvada
36688f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
36788f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
36888f4c6c4SRoberta Dobrescu
36911b86c70SGwendal Grignouconfig IIO_CROS_EC_ACCEL_LEGACY
37011b86c70SGwendal Grignou	tristate "ChromeOS EC Legacy Accelerometer Sensor"
371d96e2677SGwendal Grignou	depends on IIO_CROS_EC_SENSORS_CORE
37211b86c70SGwendal Grignou	help
37311b86c70SGwendal Grignou	  Say yes here to get support for accelerometers on Chromebook using
37411b86c70SGwendal Grignou	  legacy EC firmware.
37511b86c70SGwendal Grignou	  Sensor data is retrieved through IO memory.
37611b86c70SGwendal Grignou	  Newer devices should use IIO_CROS_EC_SENSORS.
37711b86c70SGwendal Grignou
378d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
379d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
380d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
381ed8959f4SLinus Walleij	depends on !SENSORS_LIS3_I2C
382ed8959f4SLinus Walleij	depends on !SENSORS_LIS3_SPI
383d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
384d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
385d6251168SDenis Ciocca	help
386d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
38723fd6f0bSStephan Gerhold	  LSM303C, LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
388dcdb0a78SLorenzo Bianconi	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
3893f4a559bSGaëtan André	  LNG2DM, LIS3DE, LIS2DE12, LIS2HH12
390d6251168SDenis Ciocca
39126b2ec2eSNikita Yushchenko	  Also need to enable at least one of I2C and SPI interface drivers
39226b2ec2eSNikita Yushchenko	  below.
393d6251168SDenis Ciocca
394d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
39526b2ec2eSNikita Yushchenko	tristate "STMicroelectronics accelerometers 3-Axis I2C Interface"
39626b2ec2eSNikita Yushchenko	depends on I2C && IIO_ST_ACCEL_3AXIS
39726b2ec2eSNikita Yushchenko	default I2C && IIO_ST_ACCEL_3AXIS
39826b2ec2eSNikita Yushchenko	select IIO_ST_SENSORS_I2C
39926b2ec2eSNikita Yushchenko	help
40026b2ec2eSNikita Yushchenko	  Build support for STMicroelectronics accelerometers I2C interface.
40126b2ec2eSNikita Yushchenko
40226b2ec2eSNikita Yushchenko	  To compile this driver as a module, choose M here. The module
40326b2ec2eSNikita Yushchenko	  will be called st_accel_i2c.
404d6251168SDenis Ciocca
405d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
40626b2ec2eSNikita Yushchenko	tristate "STMicroelectronics accelerometers 3-Axis SPI Interface"
40726b2ec2eSNikita Yushchenko	depends on SPI_MASTER && IIO_ST_ACCEL_3AXIS
40826b2ec2eSNikita Yushchenko	default SPI_MASTER && IIO_ST_ACCEL_3AXIS
40926b2ec2eSNikita Yushchenko	select IIO_ST_SENSORS_SPI
41026b2ec2eSNikita Yushchenko	help
41126b2ec2eSNikita Yushchenko	  Build support for STMicroelectronics accelerometers SPI interface.
41226b2ec2eSNikita Yushchenko
41326b2ec2eSNikita Yushchenko	  To compile this driver as a module, choose M here. The module
41426b2ec2eSNikita Yushchenko	  will be called st_accel_spi.
415d6251168SDenis Ciocca
4167c1d1677SMatti Vaittinenconfig IIO_KX022A
4177c1d1677SMatti Vaittinen	tristate
418*232c2eb6SJavier Carrasco	select IIO_BUFFER
419*232c2eb6SJavier Carrasco	select IIO_TRIGGERED_BUFFER
4207c1d1677SMatti Vaittinen
4217c1d1677SMatti Vaittinenconfig IIO_KX022A_SPI
4227c1d1677SMatti Vaittinen	tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
4237c1d1677SMatti Vaittinen	depends on SPI
4247c1d1677SMatti Vaittinen	select IIO_KX022A
4257c1d1677SMatti Vaittinen	select REGMAP_SPI
4267c1d1677SMatti Vaittinen	help
4277c1d1677SMatti Vaittinen	  Enable support for the Kionix KX022A digital tri-axis
4287c1d1677SMatti Vaittinen	  accelerometer connected to I2C interface.
4297c1d1677SMatti Vaittinen
4307c1d1677SMatti Vaittinenconfig IIO_KX022A_I2C
4317c1d1677SMatti Vaittinen	tristate "Kionix KX022A tri-axis digital accelerometer I2C interface"
4327c1d1677SMatti Vaittinen	depends on I2C
4337c1d1677SMatti Vaittinen	select IIO_KX022A
4347c1d1677SMatti Vaittinen	select REGMAP_I2C
4357c1d1677SMatti Vaittinen	help
4367c1d1677SMatti Vaittinen	  Enable support for the Kionix KX022A digital tri-axis
4377c1d1677SMatti Vaittinen	  accelerometer connected to I2C interface.
4387c1d1677SMatti Vaittinen
4393edc84e6SLars-Peter Clausenconfig KXSD9
4403edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
4410427a106SLinus Walleij	select IIO_BUFFER
4420427a106SLinus Walleij	select IIO_TRIGGERED_BUFFER
4433edc84e6SLars-Peter Clausen	help
4443edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
445a483ab79SLinus Walleij	  It can be accessed using an (optional) SPI or I2C interface.
4463edc84e6SLars-Peter Clausen
44788f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
44888f4c6c4SRoberta Dobrescu	  will be called kxsd9.
44988f4c6c4SRoberta Dobrescu
450bf96f6e8SLinus Walleijconfig KXSD9_SPI
451bf96f6e8SLinus Walleij	tristate "Kionix KXSD9 SPI transport"
452bf96f6e8SLinus Walleij	depends on KXSD9
453bf96f6e8SLinus Walleij	depends on SPI
454bf96f6e8SLinus Walleij	default KXSD9
4550d1fb2d5SLinus Walleij	select REGMAP_SPI
456bf96f6e8SLinus Walleij	help
457bf96f6e8SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
458bf96f6e8SLinus Walleij	  SPI transport channel.
459bf96f6e8SLinus Walleij
460a483ab79SLinus Walleijconfig KXSD9_I2C
461a483ab79SLinus Walleij	tristate "Kionix KXSD9 I2C transport"
462a483ab79SLinus Walleij	depends on KXSD9
463a483ab79SLinus Walleij	depends on I2C
464a483ab79SLinus Walleij	default KXSD9
465a483ab79SLinus Walleij	select REGMAP_I2C
466a483ab79SLinus Walleij	help
467a483ab79SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
468a483ab79SLinus Walleij	  I2C transport channel.
469a483ab79SLinus Walleij
4701a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
4711a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
4721a4fbf6aSSrinivas Pandruvada	depends on I2C
4731a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
4741a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
4751a4fbf6aSSrinivas Pandruvada	help
4761a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
4771540d010SMichał Mirosław	  triaxial acceleration sensor. This driver also supports KXCJ9-1008,
4781540d010SMichał Mirosław	  KXTJ2-1009 and KXTF9.
4791a4fbf6aSSrinivas Pandruvada
4801a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
4811a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
4821a4fbf6aSSrinivas Pandruvada
483063e3303SHans de Goedeconfig MC3230
484063e3303SHans de Goede	tristate "mCube MC3230 Digital Accelerometer Driver"
485063e3303SHans de Goede	depends on I2C
486063e3303SHans de Goede	help
487063e3303SHans de Goede	  Say yes here to build support for the mCube MC3230 low-g tri-axial
488063e3303SHans de Goede	  digital accelerometer.
489063e3303SHans de Goede
490063e3303SHans de Goede	  To compile this driver as a module, choose M here: the
491063e3303SHans de Goede	  module will be called mc3230.
492063e3303SHans de Goede
493a84ef0d1SJoachim Eastwoodconfig MMA7455
494a84ef0d1SJoachim Eastwood	tristate
495a84ef0d1SJoachim Eastwood	select IIO_BUFFER
496a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
497a84ef0d1SJoachim Eastwood
498a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
499a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
500a84ef0d1SJoachim Eastwood	depends on I2C
501a84ef0d1SJoachim Eastwood	select MMA7455
502a84ef0d1SJoachim Eastwood	select REGMAP_I2C
503a84ef0d1SJoachim Eastwood	help
504a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
505a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
506a84ef0d1SJoachim Eastwood
507a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
508a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
509a84ef0d1SJoachim Eastwood
510a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
511a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
512a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
513a84ef0d1SJoachim Eastwood	select MMA7455
514a84ef0d1SJoachim Eastwood	select REGMAP_SPI
515a84ef0d1SJoachim Eastwood	help
516a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
517a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
518a84ef0d1SJoachim Eastwood
519a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
520a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
521a84ef0d1SJoachim Eastwood
52232133be6SConstantin Muscaconfig MMA7660
52332133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
52432133be6SConstantin Musca	depends on I2C
52532133be6SConstantin Musca	help
52632133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
52732133be6SConstantin Musca	  accelerometer.
52832133be6SConstantin Musca
52932133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
53032133be6SConstantin Musca	  will be called mma7660.
53132133be6SConstantin Musca
5328838cc7fSHartmut Knaackconfig MMA8452
533f26ab1aaSMartin Kepplinger	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
5348838cc7fSHartmut Knaack	depends on I2C
5358838cc7fSHartmut Knaack	select IIO_BUFFER
5368838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
5378838cc7fSHartmut Knaack	help
538f26ab1aaSMartin Kepplinger	  Say yes here to build support for the following Freescale / NXP 3-axis
539e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
540e8731180SMartin Kepplinger	  FXLS8471Q.
5418838cc7fSHartmut Knaack
5428838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
5438838cc7fSHartmut Knaack	  will be called mma8452.
5448838cc7fSHartmut Knaack
545d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
546d5b97f5cSIrina Tirdea	tristate
547d5b97f5cSIrina Tirdea
548c78b9171SVlad Dogaruconfig MMA9551
549c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
550c78b9171SVlad Dogaru	depends on I2C
551d5b97f5cSIrina Tirdea	select MMA9551_CORE
552d5b97f5cSIrina Tirdea
553c78b9171SVlad Dogaru	help
554c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
555c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
556c78b9171SVlad Dogaru
557c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
558c78b9171SVlad Dogaru	  will be called mma9551.
559c78b9171SVlad Dogaru
56040cb7613SIrina Tirdeaconfig MMA9553
56140cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
56240cb7613SIrina Tirdea	depends on I2C
56340cb7613SIrina Tirdea	select MMA9551_CORE
56440cb7613SIrina Tirdea	help
56540cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
56640cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
56740cb7613SIrina Tirdea
56840cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
56940cb7613SIrina Tirdea	  will be called mma9553.
57090bad33aSTiberiu Breana
5711ca2cfbcSDmitry Rokosovconfig MSA311
5721ca2cfbcSDmitry Rokosov	tristate "MEMSensing Digital 3-Axis Accelerometer Driver"
5731ca2cfbcSDmitry Rokosov	depends on I2C
5741ca2cfbcSDmitry Rokosov	select IIO_BUFFER
5751ca2cfbcSDmitry Rokosov	select IIO_TRIGGERED_BUFFER
5761ca2cfbcSDmitry Rokosov	select REGMAP_I2C
5771ca2cfbcSDmitry Rokosov	help
5781ca2cfbcSDmitry Rokosov	  Say yes here to build support for the MEMSensing MSA311
5791ca2cfbcSDmitry Rokosov	  accelerometer driver.
5801ca2cfbcSDmitry Rokosov
5811ca2cfbcSDmitry Rokosov	  To compile this driver as a module, choose M here: the module will be
5821ca2cfbcSDmitry Rokosov	  called msa311.
5831ca2cfbcSDmitry Rokosov
584077377fcSTeodora Balutaconfig MXC4005
585077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
586077377fcSTeodora Baluta	depends on I2C
5871ce0eda0STeodora Baluta	select IIO_BUFFER
5881ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
589077377fcSTeodora Baluta	select REGMAP_I2C
590077377fcSTeodora Baluta	help
591077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
592077377fcSTeodora Baluta	  accelerometer.
593077377fcSTeodora Baluta
594077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
595077377fcSTeodora Baluta	  called mxc4005.
596077377fcSTeodora Baluta
59775b6548fSTeodora Balutaconfig MXC6255
59875b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
59975b6548fSTeodora Baluta	depends on I2C
60075b6548fSTeodora Baluta	select REGMAP_I2C
60175b6548fSTeodora Baluta	help
60275b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
60375b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
60475b6548fSTeodora Baluta
60575b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
60675b6548fSTeodora Baluta	  called mxc6255.
60775b6548fSTeodora Baluta
608d62e5feeSJonathan Cameronconfig SCA3000
609d62e5feeSJonathan Cameron	select IIO_BUFFER
610d62e5feeSJonathan Cameron	select IIO_KFIFO_BUF
611d62e5feeSJonathan Cameron	depends on SPI
612d62e5feeSJonathan Cameron	tristate "VTI SCA3000 series accelerometers"
613d62e5feeSJonathan Cameron	help
614d62e5feeSJonathan Cameron	  Say Y here to build support for the VTI SCA3000 series of SPI
615d62e5feeSJonathan Cameron	  accelerometers. These devices use a hardware ring buffer.
616d62e5feeSJonathan Cameron
617d62e5feeSJonathan Cameron	  To compile this driver as a module, say M here: the module will be
618d62e5feeSJonathan Cameron	  called sca3000.
619d62e5feeSJonathan Cameron
6209cc9806eSTomas Melinconfig SCA3300
6219cc9806eSTomas Melin	tristate "Murata SCA3300 3-Axis Accelerometer Driver"
6229cc9806eSTomas Melin	depends on SPI
6239cc9806eSTomas Melin	select CRC8
6249cc9806eSTomas Melin	select IIO_BUFFER
6259cc9806eSTomas Melin	select IIO_TRIGGERED_BUFFER
6269cc9806eSTomas Melin	help
6279cc9806eSTomas Melin	  Say yes here to build support for Murata SCA3300 3-Axis
6289cc9806eSTomas Melin	  accelerometer.
6299cc9806eSTomas Melin
6309cc9806eSTomas Melin	  To compile this driver as a module, choose M here: the module will be
6319cc9806eSTomas Melin	  called sca3300.
6329cc9806eSTomas Melin
63390bad33aSTiberiu Breanaconfig STK8312
63490bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
63590bad33aSTiberiu Breana	depends on I2C
636946448e0SHartmut Knaack	select IIO_BUFFER
637946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
63890bad33aSTiberiu Breana	help
63990bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
64090bad33aSTiberiu Breana	  accelerometer.
64190bad33aSTiberiu Breana
64290bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
64390bad33aSTiberiu Breana	  will be called stk8312.
64490bad33aSTiberiu Breana
645884ca456STiberiu Breanaconfig STK8BA50
646884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
647884ca456STiberiu Breana	depends on I2C
648193e2d4fSAlison Schofield	select IIO_BUFFER
649193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
650884ca456STiberiu Breana	help
651884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
652884ca456STiberiu Breana	  accelerometer.
653884ca456STiberiu Breana
654884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
655884ca456STiberiu Breana	  will be called stk8ba50.
656884ca456STiberiu Breana
65745fe6f7dSsrinivas pandruvadaendmenu
658