Commit | Line | Data |
---|---|---|
bc1d57ba | 1 | # |
2 | # Magnetometer sensors | |
3 | # | |
3edc84e6 LPC |
4 | # When adding new entries keep the list in alphabetical order |
5 | ||
bc1d57ba | 6 | menu "Magnetometer sensors" |
7 | ||
2fc72cd8 JC |
8 | config AK8975 |
9 | tristate "Asahi Kasei AK8975 3-Axis Magnetometer" | |
10 | depends on I2C | |
11 | depends on GPIOLIB | |
12 | help | |
13 | Say yes here to build support for Asahi Kasei AK8975 3-Axis | |
6027c077 SP |
14 | Magnetometer. This driver can also support AK8963, if i2c |
15 | device name is identified as ak8963. | |
2fc72cd8 JC |
16 | |
17 | To compile this driver as a module, choose M here: the module | |
18 | will be called ak8975. | |
19 | ||
d14c0f10 SP |
20 | config AK09911 |
21 | tristate "Asahi Kasei AK09911 3-axis Compass" | |
22 | depends on I2C | |
23 | help | |
24 | Say yes here to build support for Asahi Kasei AK09911 3-Axis | |
25 | Magnetometer. | |
26 | ||
27 | To compile this driver as a module, choose M here: the module | |
28 | will be called ak09911. | |
29 | ||
39631b5f PM |
30 | config MAG3110 |
31 | tristate "Freescale MAG3110 3-Axis Magnetometer" | |
32 | depends on I2C | |
50619cb1 PM |
33 | select IIO_BUFFER |
34 | select IIO_TRIGGERED_BUFFER | |
39631b5f PM |
35 | help |
36 | Say yes here to build support for the Freescale MAG3110 3-Axis | |
37 | magnetometer. | |
38 | ||
39 | To compile this driver as a module, choose M here: the module | |
40 | will be called mag3110. | |
41 | ||
bc1d57ba | 42 | config HID_SENSOR_MAGNETOMETER_3D |
43 | depends on HID_SENSOR_HUB | |
44 | select IIO_BUFFER | |
45 | select IIO_TRIGGERED_BUFFER | |
46 | select HID_SENSOR_IIO_COMMON | |
9541cc39 | 47 | select HID_SENSOR_IIO_TRIGGER |
bc1d57ba | 48 | tristate "HID Magenetometer 3D" |
49 | help | |
50 | Say yes here to build support for the HID SENSOR | |
51 | Magnetometer 3D. | |
52 | ||
872e79ad DC |
53 | config IIO_ST_MAGN_3AXIS |
54 | tristate "STMicroelectronics magnetometers 3-Axis Driver" | |
55 | depends on (I2C || SPI_MASTER) && SYSFS | |
56 | select IIO_ST_SENSORS_CORE | |
57 | select IIO_ST_MAGN_I2C_3AXIS if (I2C) | |
58 | select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) | |
59 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) | |
872e79ad DC |
60 | help |
61 | Say yes here to build support for STMicroelectronics magnetometers: | |
62 | LSM303DLHC, LSM303DLM, LIS3MDL. | |
63 | ||
341673f1 PM |
64 | This driver can also be built as a module. If so, these modules |
65 | will be created: | |
872e79ad DC |
66 | - st_magn (core functions for the driver [it is mandatory]); |
67 | - st_magn_i2c (necessary for the I2C devices [optional*]); | |
68 | - st_magn_spi (necessary for the SPI devices [optional*]); | |
69 | ||
70 | (*) one of these is necessary to do something. | |
71 | ||
72 | config IIO_ST_MAGN_I2C_3AXIS | |
73 | tristate | |
74 | depends on IIO_ST_MAGN_3AXIS | |
75 | depends on IIO_ST_SENSORS_I2C | |
76 | ||
77 | config IIO_ST_MAGN_SPI_3AXIS | |
78 | tristate | |
79 | depends on IIO_ST_MAGN_3AXIS | |
80 | depends on IIO_ST_SENSORS_SPI | |
81 | ||
bc1d57ba | 82 | endmenu |