xref: /openbmc/linux/drivers/iio/accel/Kconfig (revision f3539c12)
1#
2# Accelerometer drivers
3#
4# When adding new entries keep the list in alphabetical order
5
6menu "Accelerometers"
7
8config BMA180
9	tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
10	depends on I2C
11	select IIO_BUFFER
12	select IIO_TRIGGERED_BUFFER
13	help
14	  Say Y here if you want to build a driver for the Bosch BMA180 or
15	  BMA250 triaxial acceleration sensor.
16
17	  To compile this driver as a module, choose M here: the
18	  module will be called bma180.
19
20config BMA220
21    tristate "Bosch BMA220 3-Axis Accelerometer Driver"
22	depends on SPI
23	select IIO_BUFFER
24	select IIO_TRIGGERED_BUFFER
25    help
26      Say yes here to add support for the Bosch BMA220 triaxial
27      acceleration sensor.
28
29      To compile this driver as a module, choose M here: the
30      module will be called bma220_spi.
31
32config BMC150_ACCEL
33	tristate "Bosch BMC150 Accelerometer Driver"
34	select IIO_BUFFER
35	select IIO_TRIGGERED_BUFFER
36	select REGMAP
37	select BMC150_ACCEL_I2C if I2C
38	select BMC150_ACCEL_SPI if SPI
39	help
40	  Say yes here to build support for the following Bosch accelerometers:
41	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
42
43	  This is a combo module with both accelerometer and magnetometer.
44	  This driver is only implementing accelerometer part, which has
45	  its own address and register map.
46
47config BMC150_ACCEL_I2C
48	tristate
49	select REGMAP_I2C
50
51config BMC150_ACCEL_SPI
52	tristate
53	select REGMAP_SPI
54
55config HID_SENSOR_ACCEL_3D
56	depends on HID_SENSOR_HUB
57	select IIO_BUFFER
58	select IIO_TRIGGERED_BUFFER
59	select HID_SENSOR_IIO_COMMON
60	select HID_SENSOR_IIO_TRIGGER
61	tristate "HID Accelerometers 3D"
62	help
63	  Say yes here to build support for the HID SENSOR
64	  accelerometers 3D.
65
66	  To compile this driver as a module, choose M here: the
67	  module will be called hid-sensor-accel-3d.
68
69config IIO_ST_ACCEL_3AXIS
70	tristate "STMicroelectronics accelerometers 3-Axis Driver"
71	depends on (I2C || SPI_MASTER) && SYSFS
72	select IIO_ST_SENSORS_CORE
73	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
74	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
75	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
76	help
77	  Say yes here to build support for STMicroelectronics accelerometers:
78	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
79	  LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL.
80
81	  This driver can also be built as a module. If so, these modules
82	  will be created:
83	  - st_accel (core functions for the driver [it is mandatory]);
84	  - st_accel_i2c (necessary for the I2C devices [optional*]);
85	  - st_accel_spi (necessary for the SPI devices [optional*]);
86
87	  (*) one of these is necessary to do something.
88
89config IIO_ST_ACCEL_I2C_3AXIS
90	tristate
91	depends on IIO_ST_ACCEL_3AXIS
92	depends on IIO_ST_SENSORS_I2C
93
94config IIO_ST_ACCEL_SPI_3AXIS
95	tristate
96	depends on IIO_ST_ACCEL_3AXIS
97	depends on IIO_ST_SENSORS_SPI
98
99config KXSD9
100	tristate "Kionix KXSD9 Accelerometer Driver"
101	depends on SPI
102	help
103	  Say yes here to build support for the Kionix KXSD9 accelerometer.
104	  Currently this only supports the device via an SPI interface.
105
106	  To compile this driver as a module, choose M here: the module
107	  will be called kxsd9.
108
109config KXCJK1013
110	tristate "Kionix 3-Axis Accelerometer Driver"
111	depends on I2C
112	select IIO_BUFFER
113	select IIO_TRIGGERED_BUFFER
114	help
115	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
116	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
117	  and KXTJ2-1009.
118
119	  To compile this driver as a module, choose M here: the module will
120	  be called kxcjk-1013.
121
122config MMA7455
123	tristate
124	select IIO_BUFFER
125	select IIO_TRIGGERED_BUFFER
126
127config MMA7455_I2C
128	tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver"
129	depends on I2C
130	select MMA7455
131	select REGMAP_I2C
132	help
133	  Say yes here to build support for the Freescale MMA7455L and
134	  MMA7456L 3-axis accelerometer.
135
136	  To compile this driver as a module, choose M here: the module
137	  will be called mma7455_i2c.
138
139config MMA7455_SPI
140	tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver"
141	depends on SPI_MASTER
142	select MMA7455
143	select REGMAP_SPI
144	help
145	  Say yes here to build support for the Freescale MMA7455L and
146	  MMA7456L 3-axis accelerometer.
147
148	  To compile this driver as a module, choose M here: the module
149	  will be called mma7455_spi.
150
151config MMA7660
152	tristate "Freescale MMA7660FC 3-Axis Accelerometer Driver"
153	depends on I2C
154	help
155	  Say yes here to get support for the Freescale MMA7660FC 3-Axis
156	  accelerometer.
157
158	  Choosing M will build the driver as a module. If so, the module
159	  will be called mma7660.
160
161config MMA8452
162	tristate "Freescale / NXP MMA8452Q and similar Accelerometers Driver"
163	depends on I2C
164	select IIO_BUFFER
165	select IIO_TRIGGERED_BUFFER
166	help
167	  Say yes here to build support for the following Freescale / NXP 3-axis
168	  accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC,
169	  FXLS8471Q.
170
171	  To compile this driver as a module, choose M here: the module
172	  will be called mma8452.
173
174config MMA9551_CORE
175	tristate
176
177config MMA9551
178	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
179	depends on I2C
180	select MMA9551_CORE
181
182	help
183	  Say yes here to build support for the Freescale MMA9551L
184	  Intelligent Motion-Sensing Platform Driver.
185
186	  To compile this driver as a module, choose M here: the module
187	  will be called mma9551.
188
189config MMA9553
190	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
191	depends on I2C
192	select MMA9551_CORE
193	help
194	  Say yes here to build support for the Freescale MMA9553L
195	  Intelligent Pedometer Platform Driver.
196
197	  To compile this driver as a module, choose M here: the module
198	  will be called mma9553.
199
200config MXC4005
201	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
202	depends on I2C
203	select IIO_BUFFER
204	select IIO_TRIGGERED_BUFFER
205	select REGMAP_I2C
206	help
207	  Say yes here to build support for the Memsic MXC4005XC 3-axis
208	  accelerometer.
209
210	  To compile this driver as a module, choose M. The module will be
211	  called mxc4005.
212
213config MXC6255
214	tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
215	depends on I2C
216	select REGMAP_I2C
217	help
218	  Say yes here to build support for the Memsic MXC6255 Orientation
219	  Sensing Accelerometer Driver.
220
221	  To compile this driver as a module, choose M here: the module will be
222	  called mxc6255.
223
224config STK8312
225	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
226	depends on I2C
227	select IIO_BUFFER
228	select IIO_TRIGGERED_BUFFER
229	help
230	  Say yes here to get support for the Sensortek STK8312 3-axis
231	  accelerometer.
232
233	  Choosing M will build the driver as a module. If so, the module
234	  will be called stk8312.
235
236config STK8BA50
237	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
238	depends on I2C
239	select IIO_BUFFER
240	select IIO_TRIGGERED_BUFFER
241	help
242	  Say yes here to get support for the Sensortek STK8BA50 3-axis
243	  accelerometer.
244
245	  Choosing M will build the driver as a module. If so, the module
246	  will be called stk8ba50.
247
248endmenu
249