Commit | Line | Data |
---|---|---|
45fe6f7d | 1 | # |
2 | # Accelerometer drivers | |
3 | # | |
3edc84e6 LPC |
4 | # When adding new entries keep the list in alphabetical order |
5 | ||
45fe6f7d | 6 | menu "Accelerometers" |
7 | ||
fdadbce0 | 8 | config BMA180 |
2017cff2 | 9 | tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver" |
fdadbce0 OK |
10 | depends on I2C |
11 | select IIO_BUFFER | |
12 | select IIO_TRIGGERED_BUFFER | |
13 | help | |
2017cff2 PM |
14 | Say Y here if you want to build a driver for the Bosch BMA180 or |
15 | BMA250 triaxial acceleration sensor. | |
fdadbce0 OK |
16 | |
17 | To compile this driver as a module, choose M here: the | |
18 | module will be called bma180. | |
19 | ||
bd7fe5b7 SP |
20 | config BMC150_ACCEL |
21 | tristate "Bosch BMC150 Accelerometer Driver" | |
bd7fe5b7 SP |
22 | select IIO_BUFFER |
23 | select IIO_TRIGGERED_BUFFER | |
4011eda6 | 24 | select REGMAP |
55637c38 | 25 | select BMC150_ACCEL_I2C if I2C |
f9ab96e2 | 26 | select BMC150_ACCEL_SPI if SPI |
bd7fe5b7 | 27 | help |
8ecbb3c3 LP |
28 | Say yes here to build support for the following Bosch accelerometers: |
29 | BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280. | |
30 | ||
bd7fe5b7 SP |
31 | This is a combo module with both accelerometer and magnetometer. |
32 | This driver is only implementing accelerometer part, which has | |
33 | its own address and register map. | |
34 | ||
55637c38 MP |
35 | config BMC150_ACCEL_I2C |
36 | tristate | |
37 | select REGMAP_I2C | |
38 | ||
f9ab96e2 MP |
39 | config BMC150_ACCEL_SPI |
40 | tristate | |
41 | select REGMAP_SPI | |
42 | ||
45fe6f7d | 43 | config HID_SENSOR_ACCEL_3D |
44 | depends on HID_SENSOR_HUB | |
45 | select IIO_BUFFER | |
46 | select IIO_TRIGGERED_BUFFER | |
47 | select HID_SENSOR_IIO_COMMON | |
9541cc39 | 48 | select HID_SENSOR_IIO_TRIGGER |
ace43fce | 49 | tristate "HID Accelerometers 3D" |
45fe6f7d | 50 | help |
51 | Say yes here to build support for the HID SENSOR | |
52 | accelerometers 3D. | |
53 | ||
88f4c6c4 RD |
54 | To compile this driver as a module, choose M here: the |
55 | module will be called hid-sensor-accel-3d. | |
56 | ||
d6251168 DC |
57 | config IIO_ST_ACCEL_3AXIS |
58 | tristate "STMicroelectronics accelerometers 3-Axis Driver" | |
59 | depends on (I2C || SPI_MASTER) && SYSFS | |
60 | select IIO_ST_SENSORS_CORE | |
61 | select IIO_ST_ACCEL_I2C_3AXIS if (I2C) | |
62 | select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER) | |
63 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) | |
d6251168 DC |
64 | help |
65 | Say yes here to build support for STMicroelectronics accelerometers: | |
66 | LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC, | |
34dc578d | 67 | LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12. |
d6251168 | 68 | |
341673f1 PM |
69 | This driver can also be built as a module. If so, these modules |
70 | will be created: | |
d6251168 DC |
71 | - st_accel (core functions for the driver [it is mandatory]); |
72 | - st_accel_i2c (necessary for the I2C devices [optional*]); | |
73 | - st_accel_spi (necessary for the SPI devices [optional*]); | |
74 | ||
75 | (*) one of these is necessary to do something. | |
76 | ||
77 | config IIO_ST_ACCEL_I2C_3AXIS | |
78 | tristate | |
79 | depends on IIO_ST_ACCEL_3AXIS | |
80 | depends on IIO_ST_SENSORS_I2C | |
81 | ||
82 | config IIO_ST_ACCEL_SPI_3AXIS | |
83 | tristate | |
84 | depends on IIO_ST_ACCEL_3AXIS | |
85 | depends on IIO_ST_SENSORS_SPI | |
86 | ||
3edc84e6 LPC |
87 | config KXSD9 |
88 | tristate "Kionix KXSD9 Accelerometer Driver" | |
89 | depends on SPI | |
90 | help | |
91 | Say yes here to build support for the Kionix KXSD9 accelerometer. | |
92 | Currently this only supports the device via an SPI interface. | |
93 | ||
88f4c6c4 RD |
94 | To compile this driver as a module, choose M here: the module |
95 | will be called kxsd9. | |
96 | ||
1a4fbf6a SP |
97 | config KXCJK1013 |
98 | tristate "Kionix 3-Axis Accelerometer Driver" | |
99 | depends on I2C | |
100 | select IIO_BUFFER | |
101 | select IIO_TRIGGERED_BUFFER | |
102 | help | |
103 | Say Y here if you want to build a driver for the Kionix KXCJK-1013 | |
c6861377 DB |
104 | triaxial acceleration sensor. This driver also supports KXCJ9-1008 |
105 | and KXTJ2-1009. | |
1a4fbf6a SP |
106 | |
107 | To compile this driver as a module, choose M here: the module will | |
108 | be called kxcjk-1013. | |
109 | ||
a84ef0d1 JE |
110 | config MMA7455 |
111 | tristate | |
112 | select IIO_BUFFER | |
113 | select IIO_TRIGGERED_BUFFER | |
114 | ||
115 | config MMA7455_I2C | |
116 | tristate "Freescale MMA7455L/MMA7456L Accelerometer I2C Driver" | |
117 | depends on I2C | |
118 | select MMA7455 | |
119 | select REGMAP_I2C | |
120 | help | |
121 | Say yes here to build support for the Freescale MMA7455L and | |
122 | MMA7456L 3-axis accelerometer. | |
123 | ||
124 | To compile this driver as a module, choose M here: the module | |
125 | will be called mma7455_i2c. | |
126 | ||
127 | config MMA7455_SPI | |
128 | tristate "Freescale MMA7455L/MMA7456L Accelerometer SPI Driver" | |
129 | depends on SPI_MASTER | |
130 | select MMA7455 | |
131 | select REGMAP_SPI | |
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_spi. | |
138 | ||
8838cc7f | 139 | config MMA8452 |
c5ea1b58 | 140 | tristate "Freescale MMA8452Q and similar Accelerometers Driver" |
8838cc7f HK |
141 | depends on I2C |
142 | select IIO_BUFFER | |
143 | select IIO_TRIGGERED_BUFFER | |
144 | help | |
c5ea1b58 | 145 | Say yes here to build support for the following Freescale 3-axis |
244a93f6 | 146 | accelerometers: MMA8451Q, MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC. |
8838cc7f HK |
147 | |
148 | To compile this driver as a module, choose M here: the module | |
149 | will be called mma8452. | |
150 | ||
d5b97f5c IT |
151 | config MMA9551_CORE |
152 | tristate | |
153 | ||
c78b9171 VD |
154 | config MMA9551 |
155 | tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver" | |
156 | depends on I2C | |
d5b97f5c IT |
157 | select MMA9551_CORE |
158 | ||
c78b9171 VD |
159 | help |
160 | Say yes here to build support for the Freescale MMA9551L | |
161 | Intelligent Motion-Sensing Platform Driver. | |
162 | ||
163 | To compile this driver as a module, choose M here: the module | |
164 | will be called mma9551. | |
165 | ||
40cb7613 IT |
166 | config MMA9553 |
167 | tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver" | |
168 | depends on I2C | |
169 | select MMA9551_CORE | |
170 | help | |
171 | Say yes here to build support for the Freescale MMA9553L | |
172 | Intelligent Pedometer Platform Driver. | |
173 | ||
174 | To compile this driver as a module, choose M here: the module | |
175 | will be called mma9553. | |
90bad33a | 176 | |
077377fc TB |
177 | config MXC4005 |
178 | tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver" | |
179 | depends on I2C | |
1ce0eda0 TB |
180 | select IIO_BUFFER |
181 | select IIO_TRIGGERED_BUFFER | |
077377fc TB |
182 | select REGMAP_I2C |
183 | help | |
184 | Say yes here to build support for the Memsic MXC4005XC 3-axis | |
185 | accelerometer. | |
186 | ||
187 | To compile this driver as a module, choose M. The module will be | |
188 | called mxc4005. | |
189 | ||
75b6548f TB |
190 | config MXC6255 |
191 | tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver" | |
192 | depends on I2C | |
193 | select REGMAP_I2C | |
194 | help | |
195 | Say yes here to build support for the Memsic MXC6255 Orientation | |
196 | Sensing Accelerometer Driver. | |
197 | ||
198 | To compile this driver as a module, choose M here: the module will be | |
199 | called mxc6255. | |
200 | ||
90bad33a TB |
201 | config STK8312 |
202 | tristate "Sensortek STK8312 3-Axis Accelerometer Driver" | |
203 | depends on I2C | |
946448e0 HK |
204 | select IIO_BUFFER |
205 | select IIO_TRIGGERED_BUFFER | |
90bad33a TB |
206 | help |
207 | Say yes here to get support for the Sensortek STK8312 3-axis | |
208 | accelerometer. | |
209 | ||
210 | Choosing M will build the driver as a module. If so, the module | |
211 | will be called stk8312. | |
212 | ||
884ca456 TB |
213 | config STK8BA50 |
214 | tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver" | |
215 | depends on I2C | |
01cc5235 | 216 | depends on IIO_TRIGGER |
884ca456 TB |
217 | help |
218 | Say yes here to get support for the Sensortek STK8BA50 3-axis | |
219 | accelerometer. | |
220 | ||
221 | Choosing M will build the driver as a module. If so, the module | |
222 | will be called stk8ba50. | |
223 | ||
45fe6f7d | 224 | endmenu |