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