xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision a4fa6509dda47e51c3582409e8630b24702970c5)
145fe6f7dSsrinivas pandruvada#
245fe6f7dSsrinivas pandruvada# Accelerometer drivers
345fe6f7dSsrinivas pandruvada#
43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order
53edc84e6SLars-Peter Clausen
645fe6f7dSsrinivas pandruvadamenu "Accelerometers"
745fe6f7dSsrinivas pandruvada
8fdadbce0SOleksandr Kravchenkoconfig BMA180
92017cff2SPeter Meerwald	tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
10fdadbce0SOleksandr Kravchenko	depends on I2C
11fdadbce0SOleksandr Kravchenko	select IIO_BUFFER
12fdadbce0SOleksandr Kravchenko	select IIO_TRIGGERED_BUFFER
13fdadbce0SOleksandr Kravchenko	help
142017cff2SPeter Meerwald	  Say Y here if you want to build a driver for the Bosch BMA180 or
152017cff2SPeter Meerwald	  BMA250 triaxial acceleration sensor.
16fdadbce0SOleksandr Kravchenko
17fdadbce0SOleksandr Kravchenko	  To compile this driver as a module, choose M here: the
18fdadbce0SOleksandr Kravchenko	  module will be called bma180.
19fdadbce0SOleksandr Kravchenko
20bf2a5600STiberiu Breanaconfig BMA220
21bf2a5600STiberiu Breana    tristate "Bosch BMA220 3-Axis Accelerometer Driver"
22bf2a5600STiberiu Breana	depends on SPI
23bf2a5600STiberiu Breana    help
24bf2a5600STiberiu Breana      Say yes here to add support for the Bosch BMA220 triaxial
25bf2a5600STiberiu Breana      acceleration sensor.
26bf2a5600STiberiu Breana
27bf2a5600STiberiu Breana      To compile this driver as a module, choose M here: the
28bf2a5600STiberiu Breana      module will be called bma220_spi.
29bf2a5600STiberiu Breana
30bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL
31bd7fe5b7SSrinivas Pandruvada	tristate "Bosch BMC150 Accelerometer Driver"
32bd7fe5b7SSrinivas Pandruvada	select IIO_BUFFER
33bd7fe5b7SSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
344011eda6SMarkus Pargmann	select REGMAP
3555637c38SMarkus Pargmann	select BMC150_ACCEL_I2C if I2C
36f9ab96e2SMarkus Pargmann	select BMC150_ACCEL_SPI if SPI
37bd7fe5b7SSrinivas Pandruvada	help
388ecbb3c3SLaurentiu Palcu	  Say yes here to build support for the following Bosch accelerometers:
398ecbb3c3SLaurentiu Palcu	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
408ecbb3c3SLaurentiu Palcu
41bd7fe5b7SSrinivas Pandruvada	  This is a combo module with both accelerometer and magnetometer.
42bd7fe5b7SSrinivas Pandruvada	  This driver is only implementing accelerometer part, which has
43bd7fe5b7SSrinivas Pandruvada	  its own address and register map.
44bd7fe5b7SSrinivas Pandruvada
4555637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C
4655637c38SMarkus Pargmann	tristate
4755637c38SMarkus Pargmann	select REGMAP_I2C
4855637c38SMarkus Pargmann
49f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI
50f9ab96e2SMarkus Pargmann	tristate
51f9ab96e2SMarkus Pargmann	select REGMAP_SPI
52f9ab96e2SMarkus Pargmann
53b1b79f53SAleksei Mamlinconfig DMARD06
54b1b79f53SAleksei Mamlin	tristate "Domintech DMARD06 Digital Accelerometer Driver"
55b1b79f53SAleksei Mamlin	depends on OF || COMPILE_TEST
56b1b79f53SAleksei Mamlin	depends on I2C
57b1b79f53SAleksei Mamlin	help
58b1b79f53SAleksei Mamlin	  Say yes here to build support for the Domintech low-g tri-axial
59b1b79f53SAleksei Mamlin	  digital accelerometers: DMARD05, DMARD06, DMARD07.
60b1b79f53SAleksei Mamlin
61b1b79f53SAleksei Mamlin	  To compile this driver as a module, choose M here: the
62b1b79f53SAleksei Mamlin	  module will be called dmard06.
63b1b79f53SAleksei Mamlin
64*a4fa6509SJelle van der Waaconfig DMARD09
65*a4fa6509SJelle van der Waa	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
66*a4fa6509SJelle van der Waa	depends on I2C
67*a4fa6509SJelle van der Waa	help
68*a4fa6509SJelle van der Waa	  Say yes here to get support for the Domintech DMARD09 3-axis
69*a4fa6509SJelle van der Waa	  accelerometer.
70*a4fa6509SJelle van der Waa
71*a4fa6509SJelle van der Waa	  Choosing M will build the driver as a module. If so, the module
72*a4fa6509SJelle van der Waa	  will be called dmard09.
73*a4fa6509SJelle van der Waa
7445fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
7545fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
7645fe6f7dSsrinivas pandruvada	select IIO_BUFFER
7745fe6f7dSsrinivas pandruvada	select IIO_TRIGGERED_BUFFER
7845fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
799541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
80ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
8145fe6f7dSsrinivas pandruvada	help
8245fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
8345fe6f7dSsrinivas pandruvada	  accelerometers 3D.
8445fe6f7dSsrinivas pandruvada
8588f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
8688f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
8788f4c6c4SRoberta Dobrescu
88d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
89d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
90d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
91d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
92d6251168SDenis Ciocca	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
93d6251168SDenis Ciocca	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
94d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
95d6251168SDenis Ciocca	help
96d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
97d6251168SDenis Ciocca	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
981e52fefcSTiberiu Breana	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
99d6251168SDenis Ciocca
100341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
101341673f1SPeter Meerwald	  will be created:
102d6251168SDenis Ciocca	  - st_accel (core functions for the driver [it is mandatory]);
103d6251168SDenis Ciocca	  - st_accel_i2c (necessary for the I2C devices [optional*]);
104d6251168SDenis Ciocca	  - st_accel_spi (necessary for the SPI devices [optional*]);
105d6251168SDenis Ciocca
106d6251168SDenis Ciocca	  (*) one of these is necessary to do something.
107d6251168SDenis Ciocca
108d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
109d6251168SDenis Ciocca	tristate
110d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
111d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_I2C
112d6251168SDenis Ciocca
113d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
114d6251168SDenis Ciocca	tristate
115d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
116d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_SPI
117d6251168SDenis Ciocca
1183edc84e6SLars-Peter Clausenconfig KXSD9
1193edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
1203edc84e6SLars-Peter Clausen	depends on SPI
1213edc84e6SLars-Peter Clausen	help
1223edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
1233edc84e6SLars-Peter Clausen	  Currently this only supports the device via an SPI interface.
1243edc84e6SLars-Peter Clausen
12588f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
12688f4c6c4SRoberta Dobrescu	  will be called kxsd9.
12788f4c6c4SRoberta Dobrescu
1281a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
1291a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
1301a4fbf6aSSrinivas Pandruvada	depends on I2C
1311a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
1321a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
1331a4fbf6aSSrinivas Pandruvada	help
1341a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
135c6861377SDaniel Baluta	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
136c6861377SDaniel Baluta	  and KXTJ2-1009.
1371a4fbf6aSSrinivas Pandruvada
1381a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
1391a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
1401a4fbf6aSSrinivas Pandruvada
141a84ef0d1SJoachim Eastwoodconfig MMA7455
142a84ef0d1SJoachim Eastwood	tristate
143a84ef0d1SJoachim Eastwood	select IIO_BUFFER
144a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
145a84ef0d1SJoachim Eastwood
146a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
147a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
148a84ef0d1SJoachim Eastwood	depends on I2C
149a84ef0d1SJoachim Eastwood	select MMA7455
150a84ef0d1SJoachim Eastwood	select REGMAP_I2C
151a84ef0d1SJoachim Eastwood	help
152a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
153a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
154a84ef0d1SJoachim Eastwood
155a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
156a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
157a84ef0d1SJoachim Eastwood
158a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
159a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
160a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
161a84ef0d1SJoachim Eastwood	select MMA7455
162a84ef0d1SJoachim Eastwood	select REGMAP_SPI
163a84ef0d1SJoachim Eastwood	help
164a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
165a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
166a84ef0d1SJoachim Eastwood
167a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
168a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
169a84ef0d1SJoachim Eastwood
17032133be6SConstantin Muscaconfig MMA7660
17132133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
17232133be6SConstantin Musca	depends on I2C
17332133be6SConstantin Musca	help
17432133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
17532133be6SConstantin Musca	  accelerometer.
17632133be6SConstantin Musca
17732133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
17832133be6SConstantin Musca	  will be called mma7660.
17932133be6SConstantin Musca
1808838cc7fSHartmut Knaackconfig MMA8452
181f26ab1aaSMartin Kepplinger	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
1828838cc7fSHartmut Knaack	depends on I2C
1838838cc7fSHartmut Knaack	select IIO_BUFFER
1848838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
1858838cc7fSHartmut Knaack	help
186f26ab1aaSMartin Kepplinger	  Say yes here to build support for the following Freescale / NXP 3-axis
187e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
188e8731180SMartin Kepplinger	  FXLS8471Q.
1898838cc7fSHartmut Knaack
1908838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
1918838cc7fSHartmut Knaack	  will be called mma8452.
1928838cc7fSHartmut Knaack
193d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
194d5b97f5cSIrina Tirdea	tristate
195d5b97f5cSIrina Tirdea
196c78b9171SVlad Dogaruconfig MMA9551
197c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
198c78b9171SVlad Dogaru	depends on I2C
199d5b97f5cSIrina Tirdea	select MMA9551_CORE
200d5b97f5cSIrina Tirdea
201c78b9171SVlad Dogaru	help
202c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
203c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
204c78b9171SVlad Dogaru
205c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
206c78b9171SVlad Dogaru	  will be called mma9551.
207c78b9171SVlad Dogaru
20840cb7613SIrina Tirdeaconfig MMA9553
20940cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
21040cb7613SIrina Tirdea	depends on I2C
21140cb7613SIrina Tirdea	select MMA9551_CORE
21240cb7613SIrina Tirdea	help
21340cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
21440cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
21540cb7613SIrina Tirdea
21640cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
21740cb7613SIrina Tirdea	  will be called mma9553.
21890bad33aSTiberiu Breana
219077377fcSTeodora Balutaconfig MXC4005
220077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
221077377fcSTeodora Baluta	depends on I2C
2221ce0eda0STeodora Baluta	select IIO_BUFFER
2231ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
224077377fcSTeodora Baluta	select REGMAP_I2C
225077377fcSTeodora Baluta	help
226077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
227077377fcSTeodora Baluta	  accelerometer.
228077377fcSTeodora Baluta
229077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
230077377fcSTeodora Baluta	  called mxc4005.
231077377fcSTeodora Baluta
23275b6548fSTeodora Balutaconfig MXC6255
23375b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
23475b6548fSTeodora Baluta	depends on I2C
23575b6548fSTeodora Baluta	select REGMAP_I2C
23675b6548fSTeodora Baluta	help
23775b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
23875b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
23975b6548fSTeodora Baluta
24075b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
24175b6548fSTeodora Baluta	  called mxc6255.
24275b6548fSTeodora Baluta
24390bad33aSTiberiu Breanaconfig STK8312
24490bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
24590bad33aSTiberiu Breana	depends on I2C
246946448e0SHartmut Knaack	select IIO_BUFFER
247946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
24890bad33aSTiberiu Breana	help
24990bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
25090bad33aSTiberiu Breana	  accelerometer.
25190bad33aSTiberiu Breana
25290bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
25390bad33aSTiberiu Breana	  will be called stk8312.
25490bad33aSTiberiu Breana
255884ca456STiberiu Breanaconfig STK8BA50
256884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
257884ca456STiberiu Breana	depends on I2C
25801cc5235SVegard Nossum	depends on IIO_TRIGGER
259884ca456STiberiu Breana	help
260884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
261884ca456STiberiu Breana	  accelerometer.
262884ca456STiberiu Breana
263884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
264884ca456STiberiu Breana	  will be called stk8ba50.
265884ca456STiberiu Breana
26645fe6f7dSsrinivas pandruvadaendmenu
267