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 select IIO_TRIGGERED_BUFFER
15 Say yes here to build support for Asahi Kasei AK8975, AK8963,
16 AK09911 or AK09912 3-Axis Magnetometer.
18 To compile this driver as a module, choose M here: the module
19 will be called ak8975.
22 tristate "Asahi Kasei AK09911 3-axis Compass"
24 depends on GPIOLIB || COMPILE_TEST
27 Deprecated: AK09911 is now supported by AK8975 driver.
30 tristate "Bosch BMC150 Magnetometer Driver"
34 select IIO_TRIGGERED_BUFFER
36 Say yes here to build support for the BMC150 magnetometer.
38 Currently this only supports the device via an i2c interface.
40 This is a combo module with both accelerometer and magnetometer.
41 This driver is only implementing magnetometer part, which has
42 its own address and register map.
44 To compile this driver as a module, choose M here: the module will be
48 tristate "Freescale MAG3110 3-Axis Magnetometer"
51 select IIO_TRIGGERED_BUFFER
53 Say yes here to build support for the Freescale MAG3110 3-Axis
56 To compile this driver as a module, choose M here: the module
57 will be called mag3110.
59 config HID_SENSOR_MAGNETOMETER_3D
60 depends on HID_SENSOR_HUB
62 select IIO_TRIGGERED_BUFFER
63 select HID_SENSOR_IIO_COMMON
64 select HID_SENSOR_IIO_TRIGGER
65 tristate "HID Magenetometer 3D"
67 Say yes here to build support for the HID SENSOR
71 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
75 Say yes here to build support for the MEMSIC MMC35240 3-axis
78 To compile this driver as a module, choose M here: the module
79 will be called mmc35240.
81 config IIO_ST_MAGN_3AXIS
82 tristate "STMicroelectronics magnetometers 3-Axis Driver"
83 depends on (I2C || SPI_MASTER) && SYSFS
84 select IIO_ST_SENSORS_CORE
85 select IIO_ST_MAGN_I2C_3AXIS if (I2C)
86 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
87 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
89 Say yes here to build support for STMicroelectronics magnetometers:
90 LSM303DLHC, LSM303DLM, LIS3MDL.
92 This driver can also be built as a module. If so, these modules
94 - st_magn (core functions for the driver [it is mandatory]);
95 - st_magn_i2c (necessary for the I2C devices [optional*]);
96 - st_magn_spi (necessary for the SPI devices [optional*]);
98 (*) one of these is necessary to do something.
100 config IIO_ST_MAGN_I2C_3AXIS
102 depends on IIO_ST_MAGN_3AXIS
103 depends on IIO_ST_SENSORS_I2C
105 config IIO_ST_MAGN_SPI_3AXIS
107 depends on IIO_ST_MAGN_3AXIS
108 depends on IIO_ST_SENSORS_SPI
110 config SENSORS_HMC5843
113 select IIO_TRIGGERED_BUFFER
115 config SENSORS_HMC5843_I2C
116 tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
118 select SENSORS_HMC5843
121 Say Y here to add support for the Honeywell HMC5843, HMC5883 and
122 HMC5883L 3-Axis Magnetometer (digital compass).
124 This driver can also be compiled as a set of modules.
125 If so, these modules will be created:
126 - hmc5843_core (core functions)
127 - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
129 config SENSORS_HMC5843_SPI
130 tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
131 depends on SPI_MASTER
132 select SENSORS_HMC5843
135 Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
138 This driver can also be compiled as a set of modules.
139 If so, these modules will be created:
140 - hmc5843_core (core functions)
141 - hmc5843_spi (support for HMC5983)