xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision 32133be6768257726b57094f673415418cb3dc48)
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
20bd7fe5b7SSrinivas Pandruvadaconfig BMC150_ACCEL
21bd7fe5b7SSrinivas Pandruvada	tristate "Bosch BMC150 Accelerometer Driver"
22bd7fe5b7SSrinivas Pandruvada	select IIO_BUFFER
23bd7fe5b7SSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
244011eda6SMarkus Pargmann	select REGMAP
2555637c38SMarkus Pargmann	select BMC150_ACCEL_I2C if I2C
26f9ab96e2SMarkus Pargmann	select BMC150_ACCEL_SPI if SPI
27bd7fe5b7SSrinivas Pandruvada	help
288ecbb3c3SLaurentiu Palcu	  Say yes here to build support for the following Bosch accelerometers:
298ecbb3c3SLaurentiu Palcu	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
308ecbb3c3SLaurentiu Palcu
31bd7fe5b7SSrinivas Pandruvada	  This is a combo module with both accelerometer and magnetometer.
32bd7fe5b7SSrinivas Pandruvada	  This driver is only implementing accelerometer part, which has
33bd7fe5b7SSrinivas Pandruvada	  its own address and register map.
34bd7fe5b7SSrinivas Pandruvada
3555637c38SMarkus Pargmannconfig BMC150_ACCEL_I2C
3655637c38SMarkus Pargmann	tristate
3755637c38SMarkus Pargmann	select REGMAP_I2C
3855637c38SMarkus Pargmann
39f9ab96e2SMarkus Pargmannconfig BMC150_ACCEL_SPI
40f9ab96e2SMarkus Pargmann	tristate
41f9ab96e2SMarkus Pargmann	select REGMAP_SPI
42f9ab96e2SMarkus Pargmann
4345fe6f7dSsrinivas pandruvadaconfig HID_SENSOR_ACCEL_3D
4445fe6f7dSsrinivas pandruvada	depends on HID_SENSOR_HUB
4545fe6f7dSsrinivas pandruvada	select IIO_BUFFER
4645fe6f7dSsrinivas pandruvada	select IIO_TRIGGERED_BUFFER
4745fe6f7dSsrinivas pandruvada	select HID_SENSOR_IIO_COMMON
489541cc39SAlexander Holler	select HID_SENSOR_IIO_TRIGGER
49ace43fceSPeter Meerwald	tristate "HID Accelerometers 3D"
5045fe6f7dSsrinivas pandruvada	help
5145fe6f7dSsrinivas pandruvada	  Say yes here to build support for the HID SENSOR
5245fe6f7dSsrinivas pandruvada	  accelerometers 3D.
5345fe6f7dSsrinivas pandruvada
5488f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the
5588f4c6c4SRoberta Dobrescu	  module will be called hid-sensor-accel-3d.
5688f4c6c4SRoberta Dobrescu
57d6251168SDenis Cioccaconfig IIO_ST_ACCEL_3AXIS
58d6251168SDenis Ciocca	tristate "STMicroelectronics accelerometers 3-Axis Driver"
59d6251168SDenis Ciocca	depends on (I2C || SPI_MASTER) && SYSFS
60d6251168SDenis Ciocca	select IIO_ST_SENSORS_CORE
61d6251168SDenis Ciocca	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
62d6251168SDenis Ciocca	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
63d6251168SDenis Ciocca	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
64d6251168SDenis Ciocca	help
65d6251168SDenis Ciocca	  Say yes here to build support for STMicroelectronics accelerometers:
66d6251168SDenis Ciocca	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
671e52fefcSTiberiu Breana	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
68d6251168SDenis Ciocca
69341673f1SPeter Meerwald	  This driver can also be built as a module. If so, these modules
70341673f1SPeter Meerwald	  will be created:
71d6251168SDenis Ciocca	  - st_accel (core functions for the driver [it is mandatory]);
72d6251168SDenis Ciocca	  - st_accel_i2c (necessary for the I2C devices [optional*]);
73d6251168SDenis Ciocca	  - st_accel_spi (necessary for the SPI devices [optional*]);
74d6251168SDenis Ciocca
75d6251168SDenis Ciocca	  (*) one of these is necessary to do something.
76d6251168SDenis Ciocca
77d6251168SDenis Cioccaconfig IIO_ST_ACCEL_I2C_3AXIS
78d6251168SDenis Ciocca	tristate
79d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
80d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_I2C
81d6251168SDenis Ciocca
82d6251168SDenis Cioccaconfig IIO_ST_ACCEL_SPI_3AXIS
83d6251168SDenis Ciocca	tristate
84d6251168SDenis Ciocca	depends on IIO_ST_ACCEL_3AXIS
85d6251168SDenis Ciocca	depends on IIO_ST_SENSORS_SPI
86d6251168SDenis Ciocca
873edc84e6SLars-Peter Clausenconfig KXSD9
883edc84e6SLars-Peter Clausen	tristate "Kionix KXSD9 Accelerometer Driver"
893edc84e6SLars-Peter Clausen	depends on SPI
903edc84e6SLars-Peter Clausen	help
913edc84e6SLars-Peter Clausen	  Say yes here to build support for the Kionix KXSD9 accelerometer.
923edc84e6SLars-Peter Clausen	  Currently this only supports the device via an SPI interface.
933edc84e6SLars-Peter Clausen
9488f4c6c4SRoberta Dobrescu	  To compile this driver as a module, choose M here: the module
9588f4c6c4SRoberta Dobrescu	  will be called kxsd9.
9688f4c6c4SRoberta Dobrescu
971a4fbf6aSSrinivas Pandruvadaconfig KXCJK1013
981a4fbf6aSSrinivas Pandruvada	tristate "Kionix 3-Axis Accelerometer Driver"
991a4fbf6aSSrinivas Pandruvada	depends on I2C
1001a4fbf6aSSrinivas Pandruvada	select IIO_BUFFER
1011a4fbf6aSSrinivas Pandruvada	select IIO_TRIGGERED_BUFFER
1021a4fbf6aSSrinivas Pandruvada	help
1031a4fbf6aSSrinivas Pandruvada	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
104c6861377SDaniel Baluta	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
105c6861377SDaniel Baluta	  and KXTJ2-1009.
1061a4fbf6aSSrinivas Pandruvada
1071a4fbf6aSSrinivas Pandruvada	  To compile this driver as a module, choose M here: the module will
1081a4fbf6aSSrinivas Pandruvada	  be called kxcjk-1013.
1091a4fbf6aSSrinivas Pandruvada
110a84ef0d1SJoachim Eastwoodconfig MMA7455
111a84ef0d1SJoachim Eastwood	tristate
112a84ef0d1SJoachim Eastwood	select IIO_BUFFER
113a84ef0d1SJoachim Eastwood	select IIO_TRIGGERED_BUFFER
114a84ef0d1SJoachim Eastwood
115a84ef0d1SJoachim Eastwoodconfig MMA7455_I2C
116a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
117a84ef0d1SJoachim Eastwood	depends on I2C
118a84ef0d1SJoachim Eastwood	select MMA7455
119a84ef0d1SJoachim Eastwood	select REGMAP_I2C
120a84ef0d1SJoachim Eastwood	help
121a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
122a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
123a84ef0d1SJoachim Eastwood
124a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
125a84ef0d1SJoachim Eastwood	  will be called mma7455_i2c.
126a84ef0d1SJoachim Eastwood
127a84ef0d1SJoachim Eastwoodconfig MMA7455_SPI
128a84ef0d1SJoachim Eastwood	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
129a84ef0d1SJoachim Eastwood	depends on SPI_MASTER
130a84ef0d1SJoachim Eastwood	select MMA7455
131a84ef0d1SJoachim Eastwood	select REGMAP_SPI
132a84ef0d1SJoachim Eastwood	help
133a84ef0d1SJoachim Eastwood	  Say yes here to build support for the Freescale MMA7455L and
134a84ef0d1SJoachim Eastwood	  MMA7456L 3-axis accelerometer.
135a84ef0d1SJoachim Eastwood
136a84ef0d1SJoachim Eastwood	  To compile this driver as a module, choose M here: the module
137a84ef0d1SJoachim Eastwood	  will be called mma7455_spi.
138a84ef0d1SJoachim Eastwood
139*32133be6SConstantin Muscaconfig MMA7660
140*32133be6SConstantin Musca	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
141*32133be6SConstantin Musca	depends on I2C
142*32133be6SConstantin Musca	help
143*32133be6SConstantin Musca	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
144*32133be6SConstantin Musca	  accelerometer.
145*32133be6SConstantin Musca
146*32133be6SConstantin Musca	  Choosing M will build the driver as a module. If so, the module
147*32133be6SConstantin Musca	  will be called mma7660.
148*32133be6SConstantin Musca
1498838cc7fSHartmut Knaackconfig MMA8452
150c5ea1b58SMartin Kepplinger	tristate "Freescale MMA8452Q and similar Accelerometers Driver"
1518838cc7fSHartmut Knaack	depends on I2C
1528838cc7fSHartmut Knaack	select IIO_BUFFER
1538838cc7fSHartmut Knaack	select IIO_TRIGGERED_BUFFER
1548838cc7fSHartmut Knaack	help
155c5ea1b58SMartin Kepplinger	  Say yes here to build support for the following Freescale 3-axis
156e8731180SMartin Kepplinger	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
157e8731180SMartin Kepplinger	  FXLS8471Q.
1588838cc7fSHartmut Knaack
1598838cc7fSHartmut Knaack	  To compile this driver as a module, choose M here: the module
1608838cc7fSHartmut Knaack	  will be called mma8452.
1618838cc7fSHartmut Knaack
162d5b97f5cSIrina Tirdeaconfig MMA9551_CORE
163d5b97f5cSIrina Tirdea	tristate
164d5b97f5cSIrina Tirdea
165c78b9171SVlad Dogaruconfig MMA9551
166c78b9171SVlad Dogaru	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
167c78b9171SVlad Dogaru	depends on I2C
168d5b97f5cSIrina Tirdea	select MMA9551_CORE
169d5b97f5cSIrina Tirdea
170c78b9171SVlad Dogaru	help
171c78b9171SVlad Dogaru	  Say yes here to build support for the Freescale MMA9551L
172c78b9171SVlad Dogaru	  Intelligent Motion-Sensing Platform Driver.
173c78b9171SVlad Dogaru
174c78b9171SVlad Dogaru	  To compile this driver as a module, choose M here: the module
175c78b9171SVlad Dogaru	  will be called mma9551.
176c78b9171SVlad Dogaru
17740cb7613SIrina Tirdeaconfig MMA9553
17840cb7613SIrina Tirdea	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
17940cb7613SIrina Tirdea	depends on I2C
18040cb7613SIrina Tirdea	select MMA9551_CORE
18140cb7613SIrina Tirdea	help
18240cb7613SIrina Tirdea	  Say yes here to build support for the Freescale MMA9553L
18340cb7613SIrina Tirdea	  Intelligent Pedometer Platform Driver.
18440cb7613SIrina Tirdea
18540cb7613SIrina Tirdea	  To compile this driver as a module, choose M here: the module
18640cb7613SIrina Tirdea	  will be called mma9553.
18790bad33aSTiberiu Breana
188077377fcSTeodora Balutaconfig MXC4005
189077377fcSTeodora Baluta	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
190077377fcSTeodora Baluta	depends on I2C
1911ce0eda0STeodora Baluta	select IIO_BUFFER
1921ce0eda0STeodora Baluta	select IIO_TRIGGERED_BUFFER
193077377fcSTeodora Baluta	select REGMAP_I2C
194077377fcSTeodora Baluta	help
195077377fcSTeodora Baluta	  Say yes here to build support for the Memsic MXC4005XC 3-axis
196077377fcSTeodora Baluta	  accelerometer.
197077377fcSTeodora Baluta
198077377fcSTeodora Baluta	  To compile this driver as a module, choose M. The module will be
199077377fcSTeodora Baluta	  called mxc4005.
200077377fcSTeodora Baluta
20175b6548fSTeodora Balutaconfig MXC6255
20275b6548fSTeodora Baluta	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
20375b6548fSTeodora Baluta	depends on I2C
20475b6548fSTeodora Baluta	select REGMAP_I2C
20575b6548fSTeodora Baluta	help
20675b6548fSTeodora Baluta	  Say yes here to build support for the Memsic MXC6255 Orientation
20775b6548fSTeodora Baluta	  Sensing Accelerometer Driver.
20875b6548fSTeodora Baluta
20975b6548fSTeodora Baluta	  To compile this driver as a module, choose M here: the module will be
21075b6548fSTeodora Baluta	  called mxc6255.
21175b6548fSTeodora Baluta
21290bad33aSTiberiu Breanaconfig STK8312
21390bad33aSTiberiu Breana	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
21490bad33aSTiberiu Breana	depends on I2C
215946448e0SHartmut Knaack	select IIO_BUFFER
216946448e0SHartmut Knaack	select IIO_TRIGGERED_BUFFER
21790bad33aSTiberiu Breana	help
21890bad33aSTiberiu Breana	  Say yes here to get support for the Sensortek STK8312 3-axis
21990bad33aSTiberiu Breana	  accelerometer.
22090bad33aSTiberiu Breana
22190bad33aSTiberiu Breana	  Choosing M will build the driver as a module. If so, the module
22290bad33aSTiberiu Breana	  will be called stk8312.
22390bad33aSTiberiu Breana
224884ca456STiberiu Breanaconfig STK8BA50
225884ca456STiberiu Breana	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
226884ca456STiberiu Breana	depends on I2C
22701cc5235SVegard Nossum	depends on IIO_TRIGGER
228884ca456STiberiu Breana	help
229884ca456STiberiu Breana	  Say yes here to get support for the Sensortek STK8BA50 3-axis
230884ca456STiberiu Breana	  accelerometer.
231884ca456STiberiu Breana
232884ca456STiberiu Breana	  Choosing M will build the driver as a module. If so, the module
233884ca456STiberiu Breana	  will be called stk8ba50.
234884ca456STiberiu Breana
23545fe6f7dSsrinivas pandruvadaendmenu
236