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 | |
14 | Magnetometer. | |
15 | ||
16 | To compile this driver as a module, choose M here: the module | |
17 | will be called ak8975. | |
18 | ||
bc1d57ba | 19 | config HID_SENSOR_MAGNETOMETER_3D |
20 | depends on HID_SENSOR_HUB | |
21 | select IIO_BUFFER | |
22 | select IIO_TRIGGERED_BUFFER | |
23 | select HID_SENSOR_IIO_COMMON | |
9541cc39 | 24 | select HID_SENSOR_IIO_TRIGGER |
bc1d57ba | 25 | tristate "HID Magenetometer 3D" |
26 | help | |
27 | Say yes here to build support for the HID SENSOR | |
28 | Magnetometer 3D. | |
29 | ||
872e79ad DC |
30 | config IIO_ST_MAGN_3AXIS |
31 | tristate "STMicroelectronics magnetometers 3-Axis Driver" | |
32 | depends on (I2C || SPI_MASTER) && SYSFS | |
33 | select IIO_ST_SENSORS_CORE | |
34 | select IIO_ST_MAGN_I2C_3AXIS if (I2C) | |
35 | select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) | |
36 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) | |
872e79ad DC |
37 | help |
38 | Say yes here to build support for STMicroelectronics magnetometers: | |
39 | LSM303DLHC, LSM303DLM, LIS3MDL. | |
40 | ||
341673f1 PM |
41 | This driver can also be built as a module. If so, these modules |
42 | will be created: | |
872e79ad DC |
43 | - st_magn (core functions for the driver [it is mandatory]); |
44 | - st_magn_i2c (necessary for the I2C devices [optional*]); | |
45 | - st_magn_spi (necessary for the SPI devices [optional*]); | |
46 | ||
47 | (*) one of these is necessary to do something. | |
48 | ||
49 | config IIO_ST_MAGN_I2C_3AXIS | |
50 | tristate | |
51 | depends on IIO_ST_MAGN_3AXIS | |
52 | depends on IIO_ST_SENSORS_I2C | |
53 | ||
54 | config IIO_ST_MAGN_SPI_3AXIS | |
55 | tristate | |
56 | depends on IIO_ST_MAGN_3AXIS | |
57 | depends on IIO_ST_SENSORS_SPI | |
58 | ||
bc1d57ba | 59 | endmenu |