xref: /linux/drivers/iio/accel/Kconfig (revision 55637c38377a301cd0768cee73021e43d05de543)
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 BMC150_ACCEL
21	tristate "Bosch BMC150 Accelerometer Driver"
22	select IIO_BUFFER
23	select IIO_TRIGGERED_BUFFER
24	select REGMAP
25	select BMC150_ACCEL_I2C if I2C
26	help
27	  Say yes here to build support for the following Bosch accelerometers:
28	  BMC150, BMI055, BMA250E, BMA222E, BMA255, BMA280.
29
30	  This is a combo module with both accelerometer and magnetometer.
31	  This driver is only implementing accelerometer part, which has
32	  its own address and register map.
33
34config BMC150_ACCEL_I2C
35	tristate
36	select REGMAP_I2C
37
38config HID_SENSOR_ACCEL_3D
39	depends on HID_SENSOR_HUB
40	select IIO_BUFFER
41	select IIO_TRIGGERED_BUFFER
42	select HID_SENSOR_IIO_COMMON
43	select HID_SENSOR_IIO_TRIGGER
44	tristate "HID Accelerometers 3D"
45	help
46	  Say yes here to build support for the HID SENSOR
47	  accelerometers 3D.
48
49	  To compile this driver as a module, choose M here: the
50	  module will be called hid-sensor-accel-3d.
51
52config IIO_ST_ACCEL_3AXIS
53	tristate "STMicroelectronics accelerometers 3-Axis Driver"
54	depends on (I2C || SPI_MASTER) && SYSFS
55	select IIO_ST_SENSORS_CORE
56	select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
57	select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
58	select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
59	help
60	  Say yes here to build support for STMicroelectronics accelerometers:
61	  LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
62	  LIS331DLH, LSM303DL, LSM303DLM, LSM330.
63
64	  This driver can also be built as a module. If so, these modules
65	  will be created:
66	  - st_accel (core functions for the driver [it is mandatory]);
67	  - st_accel_i2c (necessary for the I2C devices [optional*]);
68	  - st_accel_spi (necessary for the SPI devices [optional*]);
69
70	  (*) one of these is necessary to do something.
71
72config IIO_ST_ACCEL_I2C_3AXIS
73	tristate
74	depends on IIO_ST_ACCEL_3AXIS
75	depends on IIO_ST_SENSORS_I2C
76
77config IIO_ST_ACCEL_SPI_3AXIS
78	tristate
79	depends on IIO_ST_ACCEL_3AXIS
80	depends on IIO_ST_SENSORS_SPI
81
82config KXSD9
83	tristate "Kionix KXSD9 Accelerometer Driver"
84	depends on SPI
85	help
86	  Say yes here to build support for the Kionix KXSD9 accelerometer.
87	  Currently this only supports the device via an SPI interface.
88
89	  To compile this driver as a module, choose M here: the module
90	  will be called kxsd9.
91
92config KXCJK1013
93	tristate "Kionix 3-Axis Accelerometer Driver"
94	depends on I2C
95	select IIO_BUFFER
96	select IIO_TRIGGERED_BUFFER
97	help
98	  Say Y here if you want to build a driver for the Kionix KXCJK-1013
99	  triaxial acceleration sensor. This driver also supports KXCJ9-1008
100	  and KXTJ2-1009.
101
102	  To compile this driver as a module, choose M here: the module will
103	  be called kxcjk-1013.
104
105config MMA8452
106	tristate "Freescale MMA8452Q and similar Accelerometers Driver"
107	depends on I2C
108	select IIO_BUFFER
109	select IIO_TRIGGERED_BUFFER
110	help
111	  Say yes here to build support for the following Freescale 3-axis
112	  accelerometers: MMA8452Q, MMA8453Q, MMA8652FC, MMA8653FC.
113
114	  To compile this driver as a module, choose M here: the module
115	  will be called mma8452.
116
117config MMA9551_CORE
118	tristate
119
120config MMA9551
121	tristate "Freescale MMA9551L Intelligent Motion-Sensing Platform Driver"
122	depends on I2C
123	select MMA9551_CORE
124
125	help
126	  Say yes here to build support for the Freescale MMA9551L
127	  Intelligent Motion-Sensing Platform Driver.
128
129	  To compile this driver as a module, choose M here: the module
130	  will be called mma9551.
131
132config MMA9553
133	tristate "Freescale MMA9553L Intelligent Pedometer Platform Driver"
134	depends on I2C
135	select MMA9551_CORE
136	help
137	  Say yes here to build support for the Freescale MMA9553L
138	  Intelligent Pedometer Platform Driver.
139
140	  To compile this driver as a module, choose M here: the module
141	  will be called mma9553.
142
143config MXC4005
144	tristate "Memsic MXC4005XC 3-Axis Accelerometer Driver"
145	depends on I2C
146	select IIO_BUFFER
147	select IIO_TRIGGERED_BUFFER
148	select REGMAP_I2C
149	help
150	  Say yes here to build support for the Memsic MXC4005XC 3-axis
151	  accelerometer.
152
153	  To compile this driver as a module, choose M. The module will be
154	  called mxc4005.
155
156config STK8312
157	tristate "Sensortek STK8312 3-Axis Accelerometer Driver"
158	depends on I2C
159	select IIO_BUFFER
160	select IIO_TRIGGERED_BUFFER
161	help
162	  Say yes here to get support for the Sensortek STK8312 3-axis
163	  accelerometer.
164
165	  Choosing M will build the driver as a module. If so, the module
166	  will be called stk8312.
167
168config STK8BA50
169	tristate "Sensortek STK8BA50 3-Axis Accelerometer Driver"
170	depends on I2C
171	help
172	  Say yes here to get support for the Sensortek STK8BA50 3-axis
173	  accelerometer.
174
175	  Choosing M will build the driver as a module. If so, the module
176	  will be called stk8ba50.
177
178endmenu
179