xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision 598893e9cb64d9c74152db6174c4d7a6036a84e8)
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
23193e2d4fSAlison Schofield	select IIO_BUFFER
24193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
25bf2a5600STiberiu Breana    help
26bf2a5600STiberiu Breana      Say yes here to add support for the Bosch BMA220 triaxial
27bf2a5600STiberiu Breana      acceleration sensor.
28bf2a5600STiberiu Breana
29bf2a5600STiberiu Breana      To compile this driver as a module, choose M here: the
30bf2a5600STiberiu Breana      module will be called bma220_spi.
31bf2a5600STiberiu Breana
32bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL
33bd7fe5b7SSrinivas Pandruvada	tristate "Bosch BMC150 Accelerometer Driver"
34bd7fe5b7SSrinivas Pandruvada	select IIO_BUFFER
35bd7fe5b7SSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
364011eda6SMarkus Pargmann	select REGMAP
3755637c38SMarkus Pargmann	select BMC150_ACCEL_I2C if I2C
38f9ab96e2SMarkus Pargmann	select BMC150_ACCEL_SPI if SPI
39bd7fe5b7SSrinivas Pandruvada	help
408ecbb3c3SLaurentiu Palcu	  Say yes here to build support for the following Bosch accelerometers:
418ecbb3c3SLaurentiu Palcu	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
428ecbb3c3SLaurentiu Palcu
43bd7fe5b7SSrinivas Pandruvada	  This is a combo module with both accelerometer and magnetometer.
44bd7fe5b7SSrinivas Pandruvada	  This driver is only implementing accelerometer part, which has
45bd7fe5b7SSrinivas Pandruvada	  its own address and register map.
46bd7fe5b7SSrinivas Pandruvada
4755637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C
4855637c38SMarkus Pargmann	tristate
4955637c38SMarkus Pargmann	select REGMAP_I2C
5055637c38SMarkus Pargmann
51f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI
52f9ab96e2SMarkus Pargmann	tristate
53f9ab96e2SMarkus Pargmann	select REGMAP_SPI
54f9ab96e2SMarkus Pargmann
55*598893e9SHans de Goedeconfig DA311
56*598893e9SHans de Goede	tristate "MiraMEMS DA311 3-axis 12-bit digital accelerometer driver"
57*598893e9SHans de Goede	depends on I2C
58*598893e9SHans de Goede	help
59*598893e9SHans de Goede	  Say yes here to build support for the MiraMEMS DA311 3-axis 12-bit
60*598893e9SHans de Goede	  digital accelerometer.
61*598893e9SHans de Goede
62*598893e9SHans de Goede	  To compile this driver as a module, choose M here: the
63*598893e9SHans de Goede	  module will be called da311.
64*598893e9SHans de Goede
65b1b79f53SAleksei Mamlinconfig DMARD06
66b1b79f53SAleksei Mamlin	tristate "Domintech DMARD06 Digital Accelerometer Driver"
67b1b79f53SAleksei Mamlin	depends on OF || COMPILE_TEST
68b1b79f53SAleksei Mamlin	depends on I2C
69b1b79f53SAleksei Mamlin	help
70b1b79f53SAleksei Mamlin	  Say yes here to build support for the Domintech low-g tri-axial
71b1b79f53SAleksei Mamlin	  digital accelerometers: DMARD05, DMARD06, DMARD07.
72b1b79f53SAleksei Mamlin
73b1b79f53SAleksei Mamlin	  To compile this driver as a module, choose M here: the
74b1b79f53SAleksei Mamlin	  module will be called dmard06.
75b1b79f53SAleksei Mamlin
76a4fa6509SJelle van der Waaconfig DMARD09
77a4fa6509SJelle van der Waa	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
78a4fa6509SJelle van der Waa	depends on I2C
79a4fa6509SJelle van der Waa	help
80a4fa6509SJelle van der Waa	  Say yes here to get support for the Domintech DMARD09 3-axis
81a4fa6509SJelle van der Waa	  accelerometer.
82a4fa6509SJelle van der Waa
83a4fa6509SJelle van der Waa	  Choosing M will build the driver as a module. If so, the module
84a4fa6509SJelle van der Waa	  will be called dmard09.
85a4fa6509SJelle van der Waa
86569906e2SHans de Goedeconfig DMARD10
87569906e2SHans de Goede	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
88569906e2SHans de Goede	depends on I2C
89569906e2SHans de Goede	help
90569906e2SHans de Goede	  Say yes here to get support for the Domintech DMARD10 3-axis
91569906e2SHans de Goede	  accelerometer.
92569906e2SHans de Goede
93569906e2SHans de Goede	  Choosing M will build the driver as a module. If so, the module
94569906e2SHans de Goede	  will be called dmard10.
95569906e2SHans de Goede
9645fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
9745fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
9845fe6f7dSsrinivas pandruvada	select IIO_BUFFER
9945fe6f7dSsrinivas pandruvada	select IIO_TRIGGERED_BUFFER
10045fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
1019541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
102ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
10345fe6f7dSsrinivas pandruvada	help
10445fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
10545fe6f7dSsrinivas pandruvada	  accelerometers 3D.
10645fe6f7dSsrinivas pandruvada
10788f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
10888f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
10988f4c6c4SRoberta Dobrescu
110d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
111d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
112d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
113d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
114d6251168SDenis Ciocca	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
115d6251168SDenis Ciocca	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
116d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
117d6251168SDenis Ciocca	help
118d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
119d6251168SDenis Ciocca	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
1201e52fefcSTiberiu Breana	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
121d6251168SDenis Ciocca
122341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
123341673f1SPeter Meerwald	  will be created:
124d6251168SDenis Ciocca	  - st_accel (core functions for the driver [it is mandatory]);
125d6251168SDenis Ciocca	  - st_accel_i2c (necessary for the I2C devices [optional*]);
126d6251168SDenis Ciocca	  - st_accel_spi (necessary for the SPI devices [optional*]);
127d6251168SDenis Ciocca
128d6251168SDenis Ciocca	  (*) one of these is necessary to do something.
129d6251168SDenis Ciocca
130d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
131d6251168SDenis Ciocca	tristate
132d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
133d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_I2C
134d6251168SDenis Ciocca
135d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
136d6251168SDenis Ciocca	tristate
137d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
138d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_SPI
139d6251168SDenis Ciocca
1403edc84e6SLars-Peter Clausenconfig KXSD9
1413edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
1420427a106SLinus Walleij	select IIO_BUFFER
1430427a106SLinus Walleij	select IIO_TRIGGERED_BUFFER
1443edc84e6SLars-Peter Clausen	help
1453edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
146a483ab79SLinus Walleij	  It can be accessed using an (optional) SPI or I2C interface.
1473edc84e6SLars-Peter Clausen
14888f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
14988f4c6c4SRoberta Dobrescu	  will be called kxsd9.
15088f4c6c4SRoberta Dobrescu
151bf96f6e8SLinus Walleijconfig KXSD9_SPI
152bf96f6e8SLinus Walleij	tristate "Kionix KXSD9 SPI transport"
153bf96f6e8SLinus Walleij	depends on KXSD9
154bf96f6e8SLinus Walleij	depends on SPI
155bf96f6e8SLinus Walleij	default KXSD9
1560d1fb2d5SLinus Walleij	select REGMAP_SPI
157bf96f6e8SLinus Walleij	help
158bf96f6e8SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
159bf96f6e8SLinus Walleij	  SPI transport channel.
160bf96f6e8SLinus Walleij
161a483ab79SLinus Walleijconfig KXSD9_I2C
162a483ab79SLinus Walleij	tristate "Kionix KXSD9 I2C transport"
163a483ab79SLinus Walleij	depends on KXSD9
164a483ab79SLinus Walleij	depends on I2C
165a483ab79SLinus Walleij	default KXSD9
166a483ab79SLinus Walleij	select REGMAP_I2C
167a483ab79SLinus Walleij	help
168a483ab79SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
169a483ab79SLinus Walleij	  I2C transport channel.
170a483ab79SLinus Walleij
1711a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
1721a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
1731a4fbf6aSSrinivas Pandruvada	depends on I2C
1741a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
1751a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
1761a4fbf6aSSrinivas Pandruvada	help
1771a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
178c6861377SDaniel Baluta	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
179c6861377SDaniel Baluta	  and KXTJ2-1009.
1801a4fbf6aSSrinivas Pandruvada
1811a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
1821a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
1831a4fbf6aSSrinivas Pandruvada
184063e3303SHans de Goedeconfig MC3230
185063e3303SHans de Goede	tristate "mCube MC3230 Digital Accelerometer Driver"
186063e3303SHans de Goede	depends on I2C
187063e3303SHans de Goede	help
188063e3303SHans de Goede	  Say yes here to build support for the mCube MC3230 low-g tri-axial
189063e3303SHans de Goede	  digital accelerometer.
190063e3303SHans de Goede
191063e3303SHans de Goede	  To compile this driver as a module, choose M here: the
192063e3303SHans de Goede	  module will be called mc3230.
193063e3303SHans de Goede
194a84ef0d1SJoachim Eastwoodconfig MMA7455
195a84ef0d1SJoachim Eastwood	tristate
196a84ef0d1SJoachim Eastwood	select IIO_BUFFER
197a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
198a84ef0d1SJoachim Eastwood
199a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
200a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
201a84ef0d1SJoachim Eastwood	depends on I2C
202a84ef0d1SJoachim Eastwood	select MMA7455
203a84ef0d1SJoachim Eastwood	select REGMAP_I2C
204a84ef0d1SJoachim Eastwood	help
205a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
206a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
207a84ef0d1SJoachim Eastwood
208a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
209a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
210a84ef0d1SJoachim Eastwood
211a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
212a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
213a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
214a84ef0d1SJoachim Eastwood	select MMA7455
215a84ef0d1SJoachim Eastwood	select REGMAP_SPI
216a84ef0d1SJoachim Eastwood	help
217a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
218a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
219a84ef0d1SJoachim Eastwood
220a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
221a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
222a84ef0d1SJoachim Eastwood
22332133be6SConstantin Muscaconfig MMA7660
22432133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
22532133be6SConstantin Musca	depends on I2C
22632133be6SConstantin Musca	help
22732133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
22832133be6SConstantin Musca	  accelerometer.
22932133be6SConstantin Musca
23032133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
23132133be6SConstantin Musca	  will be called mma7660.
23232133be6SConstantin Musca
2338838cc7fSHartmut Knaackconfig MMA8452
234f26ab1aaSMartin Kepplinger	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
2358838cc7fSHartmut Knaack	depends on I2C
2368838cc7fSHartmut Knaack	select IIO_BUFFER
2378838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
2388838cc7fSHartmut Knaack	help
239f26ab1aaSMartin Kepplinger	  Say yes here to build support for the following Freescale / NXP 3-axis
240e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
241e8731180SMartin Kepplinger	  FXLS8471Q.
2428838cc7fSHartmut Knaack
2438838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
2448838cc7fSHartmut Knaack	  will be called mma8452.
2458838cc7fSHartmut Knaack
246d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
247d5b97f5cSIrina Tirdea	tristate
248d5b97f5cSIrina Tirdea
249c78b9171SVlad Dogaruconfig MMA9551
250c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
251c78b9171SVlad Dogaru	depends on I2C
252d5b97f5cSIrina Tirdea	select MMA9551_CORE
253d5b97f5cSIrina Tirdea
254c78b9171SVlad Dogaru	help
255c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
256c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
257c78b9171SVlad Dogaru
258c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
259c78b9171SVlad Dogaru	  will be called mma9551.
260c78b9171SVlad Dogaru
26140cb7613SIrina Tirdeaconfig MMA9553
26240cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
26340cb7613SIrina Tirdea	depends on I2C
26440cb7613SIrina Tirdea	select MMA9551_CORE
26540cb7613SIrina Tirdea	help
26640cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
26740cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
26840cb7613SIrina Tirdea
26940cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
27040cb7613SIrina Tirdea	  will be called mma9553.
27190bad33aSTiberiu Breana
272077377fcSTeodora Balutaconfig MXC4005
273077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
274077377fcSTeodora Baluta	depends on I2C
2751ce0eda0STeodora Baluta	select IIO_BUFFER
2761ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
277077377fcSTeodora Baluta	select REGMAP_I2C
278077377fcSTeodora Baluta	help
279077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
280077377fcSTeodora Baluta	  accelerometer.
281077377fcSTeodora Baluta
282077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
283077377fcSTeodora Baluta	  called mxc4005.
284077377fcSTeodora Baluta
28575b6548fSTeodora Balutaconfig MXC6255
28675b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
28775b6548fSTeodora Baluta	depends on I2C
28875b6548fSTeodora Baluta	select REGMAP_I2C
28975b6548fSTeodora Baluta	help
29075b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
29175b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
29275b6548fSTeodora Baluta
29375b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
29475b6548fSTeodora Baluta	  called mxc6255.
29575b6548fSTeodora Baluta
29690bad33aSTiberiu Breanaconfig STK8312
29790bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
29890bad33aSTiberiu Breana	depends on I2C
299946448e0SHartmut Knaack	select IIO_BUFFER
300946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
30190bad33aSTiberiu Breana	help
30290bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
30390bad33aSTiberiu Breana	  accelerometer.
30490bad33aSTiberiu Breana
30590bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
30690bad33aSTiberiu Breana	  will be called stk8312.
30790bad33aSTiberiu Breana
308884ca456STiberiu Breanaconfig STK8BA50
309884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
310884ca456STiberiu Breana	depends on I2C
311193e2d4fSAlison Schofield	select IIO_BUFFER
312193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
313884ca456STiberiu Breana	help
314884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
315884ca456STiberiu Breana	  accelerometer.
316884ca456STiberiu Breana
317884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
318884ca456STiberiu Breana	  will be called stk8ba50.
319884ca456STiberiu Breana
32045fe6f7dSsrinivas pandruvadaendmenu
321