blob: 5704d6bc2267e2f84a05503872f0d4581d36a216 [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
9 tristate "Bosch BMA180 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
15 triaxial acceleration sensor.
16
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"
22 depends on I2C
23 select IIO_BUFFER
24 select IIO_TRIGGERED_BUFFER
25 help
26 Say yes here to build support for the Bosch BMC150 accelerometer.
27 Currently this only supports the device via an i2c interface.
28
29 This is a combo module with both accelerometer and magnetometer.
30 This driver is only implementing accelerometer part, which has
31 its own address and register map.
32
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010033config HID_SENSOR_ACCEL_3D
34 depends on HID_SENSOR_HUB
35 select IIO_BUFFER
36 select IIO_TRIGGERED_BUFFER
37 select HID_SENSOR_IIO_COMMON
Alexander Holler9541cc32012-12-11 18:21:00 +000038 select HID_SENSOR_IIO_TRIGGER
Peter Meerwaldace43fc2012-10-13 09:06:00 +010039 tristate "HID Accelerometers 3D"
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010040 help
41 Say yes here to build support for the HID SENSOR
42 accelerometers 3D.
43
Denis Cioccad6251162013-01-25 23:44:00 +000044config IIO_ST_ACCEL_3AXIS
45 tristate "STMicroelectronics accelerometers 3-Axis Driver"
46 depends on (I2C || SPI_MASTER) && SYSFS
47 select IIO_ST_SENSORS_CORE
48 select IIO_ST_ACCEL_I2C_3AXIS if (I2C)
49 select IIO_ST_ACCEL_SPI_3AXIS if (SPI_MASTER)
50 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
Denis Cioccad6251162013-01-25 23:44:00 +000051 help
52 Say yes here to build support for STMicroelectronics accelerometers:
53 LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
54 LIS331DLH, LSM303DL, LSM303DLM, LSM330.
55
Peter Meerwald341673f2013-06-23 22:28:00 +010056 This driver can also be built as a module. If so, these modules
57 will be created:
Denis Cioccad6251162013-01-25 23:44:00 +000058 - st_accel (core functions for the driver [it is mandatory]);
59 - st_accel_i2c (necessary for the I2C devices [optional*]);
60 - st_accel_spi (necessary for the SPI devices [optional*]);
61
62 (*) one of these is necessary to do something.
63
64config IIO_ST_ACCEL_I2C_3AXIS
65 tristate
66 depends on IIO_ST_ACCEL_3AXIS
67 depends on IIO_ST_SENSORS_I2C
68
69config IIO_ST_ACCEL_SPI_3AXIS
70 tristate
71 depends on IIO_ST_ACCEL_3AXIS
72 depends on IIO_ST_SENSORS_SPI
73
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +010074config KXSD9
75 tristate "Kionix KXSD9 Accelerometer Driver"
76 depends on SPI
77 help
78 Say yes here to build support for the Kionix KXSD9 accelerometer.
79 Currently this only supports the device via an SPI interface.
80
Peter Meerwaldc7eeea92014-02-05 09:51:00 +000081config MMA8452
82 tristate "Freescale MMA8452Q Accelerometer Driver"
83 depends on I2C
84 select IIO_BUFFER
85 select IIO_TRIGGERED_BUFFER
86 help
87 Say yes here to build support for the Freescale MMA8452Q 3-axis
88 accelerometer.
89
90 To compile this driver as a module, choose M here: the module
91 will be called mma8452.
92
Srinivas Pandruvada1a4fbf62014-11-06 23:07:00 +000093config KXCJK1013
94 tristate "Kionix 3-Axis Accelerometer Driver"
95 depends on I2C
96 select IIO_BUFFER
97 select IIO_TRIGGERED_BUFFER
98 help
99 Say Y here if you want to build a driver for the Kionix KXCJK-1013
100 triaxial acceleration sensor.
101
102 To compile this driver as a module, choose M here: the module will
103 be called kxcjk-1013.
104
srinivas pandruvada45fe6f72012-09-05 13:56:00 +0100105endmenu