xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision 569906e2032ebbdd56e820ba60368cd803234cec)
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
55b1b79f53SAleksei Mamlinconfig DMARD06
56b1b79f53SAleksei Mamlin	tristate "Domintech DMARD06 Digital Accelerometer Driver"
57b1b79f53SAleksei Mamlin	depends on OF || COMPILE_TEST
58b1b79f53SAleksei Mamlin	depends on I2C
59b1b79f53SAleksei Mamlin	help
60b1b79f53SAleksei Mamlin	  Say yes here to build support for the Domintech low-g tri-axial
61b1b79f53SAleksei Mamlin	  digital accelerometers: DMARD05, DMARD06, DMARD07.
62b1b79f53SAleksei Mamlin
63b1b79f53SAleksei Mamlin	  To compile this driver as a module, choose M here: the
64b1b79f53SAleksei Mamlin	  module will be called dmard06.
65b1b79f53SAleksei Mamlin
66a4fa6509SJelle van der Waaconfig DMARD09
67a4fa6509SJelle van der Waa	tristate "Domintech DMARD09 3-axis Accelerometer Driver"
68a4fa6509SJelle van der Waa	depends on I2C
69a4fa6509SJelle van der Waa	help
70a4fa6509SJelle van der Waa	  Say yes here to get support for the Domintech DMARD09 3-axis
71a4fa6509SJelle van der Waa	  accelerometer.
72a4fa6509SJelle van der Waa
73a4fa6509SJelle van der Waa	  Choosing M will build the driver as a module. If so, the module
74a4fa6509SJelle van der Waa	  will be called dmard09.
75a4fa6509SJelle van der Waa
76*569906e2SHans de Goedeconfig DMARD10
77*569906e2SHans de Goede	tristate "Domintech DMARD10 3-axis Accelerometer Driver"
78*569906e2SHans de Goede	depends on I2C
79*569906e2SHans de Goede	help
80*569906e2SHans de Goede	  Say yes here to get support for the Domintech DMARD10 3-axis
81*569906e2SHans de Goede	  accelerometer.
82*569906e2SHans de Goede
83*569906e2SHans de Goede	  Choosing M will build the driver as a module. If so, the module
84*569906e2SHans de Goede	  will be called dmard10.
85*569906e2SHans de Goede
8645fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
8745fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
8845fe6f7dSsrinivas pandruvada	select IIO_BUFFER
8945fe6f7dSsrinivas pandruvada	select IIO_TRIGGERED_BUFFER
9045fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
919541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
92ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
9345fe6f7dSsrinivas pandruvada	help
9445fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
9545fe6f7dSsrinivas pandruvada	  accelerometers 3D.
9645fe6f7dSsrinivas pandruvada
9788f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
9888f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
9988f4c6c4SRoberta Dobrescu
100d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
101d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
102d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
103d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
104d6251168SDenis Ciocca	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
105d6251168SDenis Ciocca	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
106d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
107d6251168SDenis Ciocca	help
108d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
109d6251168SDenis Ciocca	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
1101e52fefcSTiberiu Breana	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
111d6251168SDenis Ciocca
112341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
113341673f1SPeter Meerwald	  will be created:
114d6251168SDenis Ciocca	  - st_accel (core functions for the driver [it is mandatory]);
115d6251168SDenis Ciocca	  - st_accel_i2c (necessary for the I2C devices [optional*]);
116d6251168SDenis Ciocca	  - st_accel_spi (necessary for the SPI devices [optional*]);
117d6251168SDenis Ciocca
118d6251168SDenis Ciocca	  (*) one of these is necessary to do something.
119d6251168SDenis Ciocca
120d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
121d6251168SDenis Ciocca	tristate
122d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
123d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_I2C
124d6251168SDenis Ciocca
125d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
126d6251168SDenis Ciocca	tristate
127d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
128d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_SPI
129d6251168SDenis Ciocca
1303edc84e6SLars-Peter Clausenconfig KXSD9
1313edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
1320427a106SLinus Walleij	select IIO_BUFFER
1330427a106SLinus Walleij	select IIO_TRIGGERED_BUFFER
1343edc84e6SLars-Peter Clausen	help
1353edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
136a483ab79SLinus Walleij	  It can be accessed using an (optional) SPI or I2C interface.
1373edc84e6SLars-Peter Clausen
13888f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
13988f4c6c4SRoberta Dobrescu	  will be called kxsd9.
14088f4c6c4SRoberta Dobrescu
141bf96f6e8SLinus Walleijconfig KXSD9_SPI
142bf96f6e8SLinus Walleij	tristate "Kionix KXSD9 SPI transport"
143bf96f6e8SLinus Walleij	depends on KXSD9
144bf96f6e8SLinus Walleij	depends on SPI
145bf96f6e8SLinus Walleij	default KXSD9
1460d1fb2d5SLinus Walleij	select REGMAP_SPI
147bf96f6e8SLinus Walleij	help
148bf96f6e8SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
149bf96f6e8SLinus Walleij	  SPI transport channel.
150bf96f6e8SLinus Walleij
151a483ab79SLinus Walleijconfig KXSD9_I2C
152a483ab79SLinus Walleij	tristate "Kionix KXSD9 I2C transport"
153a483ab79SLinus Walleij	depends on KXSD9
154a483ab79SLinus Walleij	depends on I2C
155a483ab79SLinus Walleij	default KXSD9
156a483ab79SLinus Walleij	select REGMAP_I2C
157a483ab79SLinus Walleij	help
158a483ab79SLinus Walleij	  Say yes here to enable the Kionix KXSD9 accelerometer
159a483ab79SLinus Walleij	  I2C transport channel.
160a483ab79SLinus Walleij
1611a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
1621a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
1631a4fbf6aSSrinivas Pandruvada	depends on I2C
1641a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
1651a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
1661a4fbf6aSSrinivas Pandruvada	help
1671a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
168c6861377SDaniel Baluta	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
169c6861377SDaniel Baluta	  and KXTJ2-1009.
1701a4fbf6aSSrinivas Pandruvada
1711a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
1721a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
1731a4fbf6aSSrinivas Pandruvada
174063e3303SHans de Goedeconfig MC3230
175063e3303SHans de Goede	tristate "mCube MC3230 Digital Accelerometer Driver"
176063e3303SHans de Goede	depends on I2C
177063e3303SHans de Goede	help
178063e3303SHans de Goede	  Say yes here to build support for the mCube MC3230 low-g tri-axial
179063e3303SHans de Goede	  digital accelerometer.
180063e3303SHans de Goede
181063e3303SHans de Goede	  To compile this driver as a module, choose M here: the
182063e3303SHans de Goede	  module will be called mc3230.
183063e3303SHans de Goede
184a84ef0d1SJoachim Eastwoodconfig MMA7455
185a84ef0d1SJoachim Eastwood	tristate
186a84ef0d1SJoachim Eastwood	select IIO_BUFFER
187a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
188a84ef0d1SJoachim Eastwood
189a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
190a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
191a84ef0d1SJoachim Eastwood	depends on I2C
192a84ef0d1SJoachim Eastwood	select MMA7455
193a84ef0d1SJoachim Eastwood	select REGMAP_I2C
194a84ef0d1SJoachim Eastwood	help
195a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
196a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
197a84ef0d1SJoachim Eastwood
198a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
199a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
200a84ef0d1SJoachim Eastwood
201a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
202a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
203a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
204a84ef0d1SJoachim Eastwood	select MMA7455
205a84ef0d1SJoachim Eastwood	select REGMAP_SPI
206a84ef0d1SJoachim Eastwood	help
207a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
208a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
209a84ef0d1SJoachim Eastwood
210a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
211a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
212a84ef0d1SJoachim Eastwood
21332133be6SConstantin Muscaconfig MMA7660
21432133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
21532133be6SConstantin Musca	depends on I2C
21632133be6SConstantin Musca	help
21732133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
21832133be6SConstantin Musca	  accelerometer.
21932133be6SConstantin Musca
22032133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
22132133be6SConstantin Musca	  will be called mma7660.
22232133be6SConstantin Musca
2238838cc7fSHartmut Knaackconfig MMA8452
224f26ab1aaSMartin Kepplinger	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
2258838cc7fSHartmut Knaack	depends on I2C
2268838cc7fSHartmut Knaack	select IIO_BUFFER
2278838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
2288838cc7fSHartmut Knaack	help
229f26ab1aaSMartin Kepplinger	  Say yes here to build support for the following Freescale / NXP 3-axis
230e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
231e8731180SMartin Kepplinger	  FXLS8471Q.
2328838cc7fSHartmut Knaack
2338838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
2348838cc7fSHartmut Knaack	  will be called mma8452.
2358838cc7fSHartmut Knaack
236d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
237d5b97f5cSIrina Tirdea	tristate
238d5b97f5cSIrina Tirdea
239c78b9171SVlad Dogaruconfig MMA9551
240c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
241c78b9171SVlad Dogaru	depends on I2C
242d5b97f5cSIrina Tirdea	select MMA9551_CORE
243d5b97f5cSIrina Tirdea
244c78b9171SVlad Dogaru	help
245c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
246c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
247c78b9171SVlad Dogaru
248c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
249c78b9171SVlad Dogaru	  will be called mma9551.
250c78b9171SVlad Dogaru
25140cb7613SIrina Tirdeaconfig MMA9553
25240cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
25340cb7613SIrina Tirdea	depends on I2C
25440cb7613SIrina Tirdea	select MMA9551_CORE
25540cb7613SIrina Tirdea	help
25640cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
25740cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
25840cb7613SIrina Tirdea
25940cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
26040cb7613SIrina Tirdea	  will be called mma9553.
26190bad33aSTiberiu Breana
262077377fcSTeodora Balutaconfig MXC4005
263077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
264077377fcSTeodora Baluta	depends on I2C
2651ce0eda0STeodora Baluta	select IIO_BUFFER
2661ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
267077377fcSTeodora Baluta	select REGMAP_I2C
268077377fcSTeodora Baluta	help
269077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
270077377fcSTeodora Baluta	  accelerometer.
271077377fcSTeodora Baluta
272077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
273077377fcSTeodora Baluta	  called mxc4005.
274077377fcSTeodora Baluta
27575b6548fSTeodora Balutaconfig MXC6255
27675b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
27775b6548fSTeodora Baluta	depends on I2C
27875b6548fSTeodora Baluta	select REGMAP_I2C
27975b6548fSTeodora Baluta	help
28075b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
28175b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
28275b6548fSTeodora Baluta
28375b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
28475b6548fSTeodora Baluta	  called mxc6255.
28575b6548fSTeodora Baluta
28690bad33aSTiberiu Breanaconfig STK8312
28790bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
28890bad33aSTiberiu Breana	depends on I2C
289946448e0SHartmut Knaack	select IIO_BUFFER
290946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
29190bad33aSTiberiu Breana	help
29290bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
29390bad33aSTiberiu Breana	  accelerometer.
29490bad33aSTiberiu Breana
29590bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
29690bad33aSTiberiu Breana	  will be called stk8312.
29790bad33aSTiberiu Breana
298884ca456STiberiu Breanaconfig STK8BA50
299884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
300884ca456STiberiu Breana	depends on I2C
301193e2d4fSAlison Schofield	select IIO_BUFFER
302193e2d4fSAlison Schofield	select IIO_TRIGGERED_BUFFER
303884ca456STiberiu Breana	help
304884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
305884ca456STiberiu Breana	  accelerometer.
306884ca456STiberiu Breana
307884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
308884ca456STiberiu Breana	  will be called stk8ba50.
309884ca456STiberiu Breana
31045fe6f7dSsrinivas pandruvadaendmenu
311