4 # When adding new entries keep the list in alphabetical order
6 menu "Magnetometer sensors"
9 tristate "Asahi Kasei AK 3-Axis Magnetometer"
11 depends on GPIOLIB || COMPILE_TEST
13 Say yes here to build support for Asahi Kasei AK8975, AK8963,
14 AK09911 or AK09912 3-Axis Magnetometer.
16 To compile this driver as a module, choose M here: the module
17 will be called ak8975.
20 tristate "Asahi Kasei AK09911 3-axis Compass"
22 depends on GPIOLIB || COMPILE_TEST
25 Deprecated: AK09911 is now supported by AK8975 driver.
28 tristate "Bosch BMC150 Magnetometer Driver"
32 select IIO_TRIGGERED_BUFFER
34 Say yes here to build support for the BMC150 magnetometer.
36 Currently this only supports the device via an i2c interface.
38 This is a combo module with both accelerometer and magnetometer.
39 This driver is only implementing magnetometer part, which has
40 its own address and register map.
42 To compile this driver as a module, choose M here: the module will be
46 tristate "Freescale MAG3110 3-Axis Magnetometer"
49 select IIO_TRIGGERED_BUFFER
51 Say yes here to build support for the Freescale MAG3110 3-Axis
54 To compile this driver as a module, choose M here: the module
55 will be called mag3110.
57 config HID_SENSOR_MAGNETOMETER_3D
58 depends on HID_SENSOR_HUB
60 select IIO_TRIGGERED_BUFFER
61 select HID_SENSOR_IIO_COMMON
62 select HID_SENSOR_IIO_TRIGGER
63 tristate "HID Magenetometer 3D"
65 Say yes here to build support for the HID SENSOR
69 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
73 Say yes here to build support for the MEMSIC MMC35240 3-axis
76 To compile this driver as a module, choose M here: the module
77 will be called mmc35240.
79 config IIO_ST_MAGN_3AXIS
80 tristate "STMicroelectronics magnetometers 3-Axis Driver"
81 depends on (I2C || SPI_MASTER) && SYSFS
82 select IIO_ST_SENSORS_CORE
83 select IIO_ST_MAGN_I2C_3AXIS if (I2C)
84 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
85 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
87 Say yes here to build support for STMicroelectronics magnetometers:
88 LSM303DLHC, LSM303DLM, LIS3MDL.
90 This driver can also be built as a module. If so, these modules
92 - st_magn (core functions for the driver [it is mandatory]);
93 - st_magn_i2c (necessary for the I2C devices [optional*]);
94 - st_magn_spi (necessary for the SPI devices [optional*]);
96 (*) one of these is necessary to do something.
98 config IIO_ST_MAGN_I2C_3AXIS
100 depends on IIO_ST_MAGN_3AXIS
101 depends on IIO_ST_SENSORS_I2C
103 config IIO_ST_MAGN_SPI_3AXIS
105 depends on IIO_ST_MAGN_3AXIS
106 depends on IIO_ST_SENSORS_SPI