blob: 75ac08790bc5ad572dd93b6b49efed8c35bf9d1e [file] [log] [blame]
srinivas pandruvada45fe6f72012-09-05 13:56:00 +01001#
2# Accelerometer drivers
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
srinivas pandruvada45fe6f72012-09-05 13:56:00 +01006menu "Accelerometers"
7
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +01008config BMA180
Peter Meerwald2017cff2014-08-19 23:43:00 +01009 tristate "Bosch BMA180/BMA250 3-Axis Accelerometer Driver"
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010010 depends on I2C
11 select IIO_BUFFER
12 select IIO_TRIGGERED_BUFFER
13 help
Peter Meerwald2017cff2014-08-19 23:43:00 +010014 Say Y here if you want to build a driver for the Bosch BMA180 or
15 BMA250 triaxial acceleration sensor.
Oleksandr Kravchenkofdadbce2013-08-28 12:01:00 +010016
17 To compile this driver as a module, choose M here: the
18 module will be called bma180.
19
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010020config BMC150_ACCEL
21 tristate "Bosch BMC150 Accelerometer Driver"
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010022 select IIO_BUFFER
23 select IIO_TRIGGERED_BUFFER
Markus Pargmann4011eda2015-09-21 12:55:13 +020024 select REGMAP
Markus Pargmann55637c32015-09-21 12:55:15 +020025 select BMC150_ACCEL_I2C if I2C
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020026 select BMC150_ACCEL_SPI if SPI
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010027 help
Laurentiu Palcu8ecbb3c2014-02-09 10:30:00 +000028 Say yes here to build support for the following Bosch accelerometers:
29 BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
30
Srinivas Pandruvadabd7fe5b2014-05-08 22:57:00 +010031 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
Markus Pargmann55637c32015-09-21 12:55:15 +020035config BMC150_ACCEL_I2C
36 tristate
37 select REGMAP_I2C
38
Markus Pargmannf9ab96e2015-09-21 12:55:16 +020039config BMC150_ACCEL_SPI
40 tristate
41 select REGMAP_SPI
42
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010043config 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
Alexander Holler9541cc32012-12-11 18:21:00 +000048 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +010049 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010050 help
51 Say yes here to build support for the HID SENSOR
52 accelerometers 3D.
53
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +020054 To compile this driver as a module, choose M here: the
55 module will be called hid-sensor-accel-3d.
56
Denis Cioccad6251162013-01-25 23:44:00 +000057config 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)
Denis Cioccad6251162013-01-25 23:44:00 +000064 help
65 Say yes here to build support for STMicroelectronics accelerometers:
66 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
67 LIS331DLH, LSM303DL, LSM303DLM, LSM330.
68
Peter Meerwald341673f2013-06-23 22:28:00 +010069 This driver can also be built as a module. If so, these modules
70 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +000071 - 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
77config IIO_ST_ACCEL_I2C_3AXIS
78 tristate
79 depends on IIO_ST_ACCEL_3AXIS
80 depends on IIO_ST_SENSORS_I2C
81
82config IIO_ST_ACCEL_SPI_3AXIS
83 tristate
84 depends on IIO_ST_ACCEL_3AXIS
85 depends on IIO_ST_SENSORS_SPI
86
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +010087config 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
Roberta Dobrescu88f4c6c42014-12-30 20:57:55 +020094 To compile this driver as a module, choose M here: the module
95 will be called kxsd9.
96
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +000097config 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
Daniel Balutac6861372014-03-09 08:33:00 +0000104 triaxial acceleration sensor. This driver also supports KXCJ9-1008
105 and KXTJ2-1009.
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +0000106
107 To compile this driver as a module, choose M here: the module will
108 be called kxcjk-1013.
109
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200110config MMA8452
Martin Kepplingerc5ea1b582015-09-01 13:45:09 +0200111 tristate "Freescale MMA8452Q and similar Accelerometers Driver"
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200112 depends on I2C
113 select IIO_BUFFER
114 select IIO_TRIGGERED_BUFFER
115 help
Martin Kepplingerc5ea1b582015-09-01 13:45:09 +0200116 Say yes here to build support for the following Freescale 3-axis
Martin Kepplinger417e0082015-09-01 13:45:11 +0200117 accelerometers: MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC.
Hartmut Knaack8838cc72015-08-02 22:43:52 +0200118
119 To compile this driver as a module, choose M here: the module
120 will be called mma8452.
121
Irina Tirdead5b97f52015-01-11 21:10:15 +0200122config MMA9551_CORE
123 tristate
124
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200125config MMA9551
126 tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
127 depends on I2C
Irina Tirdead5b97f52015-01-11 21:10:15 +0200128 select MMA9551_CORE
129
Vlad Dogaruc78b9172014-11-24 11:43:15 +0200130 help
131 Say yes here to build support for the Freescale MMA9551L
132 Intelligent Motion-Sensing Platform Driver.
133
134 To compile this driver as a module, choose M here: the module
135 will be called mma9551.
136
Irina Tirdea40cb7612015-01-29 18:45:10 +0000137config MMA9553
138 tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
139 depends on I2C
140 select MMA9551_CORE
141 help
142 Say yes here to build support for the Freescale MMA9553L
143 Intelligent Pedometer Platform Driver.
144
145 To compile this driver as a module, choose M here: the module
146 will be called mma9553.
Tiberiu Breana90bad332015-05-12 18:48:42 +0300147
Teodora Baluta077377f2015-08-20 17:37:31 +0300148config MXC4005
149 tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
150 depends on I2C
Teodora Baluta1ce0eda2015-08-20 17:37:32 +0300151 select IIO_BUFFER
152 select IIO_TRIGGERED_BUFFER
Teodora Baluta077377f2015-08-20 17:37:31 +0300153 select REGMAP_I2C
154 help
155 Say yes here to build support for the Memsic MXC4005XC 3-axis
156 accelerometer.
157
158 To compile this driver as a module, choose M. The module will be
159 called mxc4005.
160
Teodora Baluta75b6548f2015-10-22 15:44:50 +0300161config MXC6255
162 tristate "Memsic MXC6255 Orientation Sensing Accelerometer Driver"
163 depends on I2C
164 select REGMAP_I2C
165 help
166 Say yes here to build support for the Memsic MXC6255 Orientation
167 Sensing Accelerometer Driver.
168
169 To compile this driver as a module, choose M here: the module will be
170 called mxc6255.
171
Tiberiu Breana90bad332015-05-12 18:48:42 +0300172config STK8312
173 tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
174 depends on I2C
Hartmut Knaack946448e2015-07-28 00:49:21 +0200175 select IIO_BUFFER
176 select IIO_TRIGGERED_BUFFER
Tiberiu Breana90bad332015-05-12 18:48:42 +0300177 help
178 Say yes here to get support for the Sensortek STK8312 3-axis
179 accelerometer.
180
181 Choosing M will build the driver as a module. If so, the module
182 will be called stk8312.
183
Tiberiu Breana884ca452015-05-18 14:49:50 +0300184config STK8BA50
185 tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
186 depends on I2C
187 help
188 Say yes here to get support for the Sensortek STK8BA50 3-axis
189 accelerometer.
190
191 Choosing M will build the driver as a module. If so, the module
192 will be called stk8ba50.
193
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100194endmenu