4 # When adding new entries keep the list in alphabetical order
6 menu "Magnetometer sensors"
9 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
13 Say yes here to build support for Asahi Kasei AK8975 3-Axis
16 To compile this driver as a module, choose M here: the module
17 will be called ak8975.
20 tristate "Freescale MAG3110 3-Axis Magnetometer"
23 Say yes here to build support for the Freescale MAG3110 3-Axis
26 To compile this driver as a module, choose M here: the module
27 will be called mag3110.
29 config HID_SENSOR_MAGNETOMETER_3D
30 depends on HID_SENSOR_HUB
32 select IIO_TRIGGERED_BUFFER
33 select HID_SENSOR_IIO_COMMON
34 select HID_SENSOR_IIO_TRIGGER
35 tristate "HID Magenetometer 3D"
37 Say yes here to build support for the HID SENSOR
40 config IIO_ST_MAGN_3AXIS
41 tristate "STMicroelectronics magnetometers 3-Axis Driver"
42 depends on (I2C || SPI_MASTER) && SYSFS
43 select IIO_ST_SENSORS_CORE
44 select IIO_ST_MAGN_I2C_3AXIS if (I2C)
45 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
46 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
48 Say yes here to build support for STMicroelectronics magnetometers:
49 LSM303DLHC, LSM303DLM, LIS3MDL.
51 This driver can also be built as a module. If so, these modules
53 - st_magn (core functions for the driver [it is mandatory]);
54 - st_magn_i2c (necessary for the I2C devices [optional*]);
55 - st_magn_spi (necessary for the SPI devices [optional*]);
57 (*) one of these is necessary to do something.
59 config IIO_ST_MAGN_I2C_3AXIS
61 depends on IIO_ST_MAGN_3AXIS
62 depends on IIO_ST_SENSORS_I2C
64 config IIO_ST_MAGN_SPI_3AXIS
66 depends on IIO_ST_MAGN_3AXIS
67 depends on IIO_ST_SENSORS_SPI