4 # When adding new entries keep the list in alphabetical order
6 menu "Magnetometer sensors"
9 tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
14 select IIO_TRIGGERED_BUFFER
16 Say yes here to build support for Asahi Kasei AK8974 or
17 AMI305 I2C-based 3-axis magnetometer chips.
19 To compile this driver as a module, choose M here: the module
20 will be called ak8974.
23 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
25 depends on GPIOLIB || COMPILE_TEST
27 select IIO_TRIGGERED_BUFFER
29 Say yes here to build support for Asahi Kasei AK8975, AK8963,
30 AK09911 or AK09912 3-Axis Magnetometer.
32 To compile this driver as a module, choose M here: the module
33 will be called ak8975.
36 tristate "Asahi Kasei AK09911 3-axis Compass"
38 depends on GPIOLIB || COMPILE_TEST
41 Deprecated: AK09911 is now supported by AK8975 driver.
46 select IIO_TRIGGERED_BUFFER
48 config BMC150_MAGN_I2C
49 tristate "Bosch BMC150 I2C Magnetometer Driver"
54 Say yes here to build support for the BMC150 magnetometer with
57 This is a combo module with both accelerometer and magnetometer.
58 This driver is only implementing magnetometer part, which has
59 its own address and register map.
61 This driver also supports I2C Bosch BMC156 and BMM150 chips.
62 To compile this driver as a module, choose M here: the module will be
63 called bmc150_magn_i2c.
65 config BMC150_MAGN_SPI
66 tristate "Bosch BMC150 SPI Magnetometer Driver"
71 Say yes here to build support for the BMC150 magnetometer with
74 This is a combo module with both accelerometer and magnetometer.
75 This driver is only implementing magnetometer part, which has
76 its own address and register map.
78 This driver also supports SPI Bosch BMC156 and BMM150 chips.
79 To compile this driver as a module, choose M here: the module will be
80 called bmc150_magn_spi.
83 tristate "Freescale MAG3110 3-Axis Magnetometer"
86 select IIO_TRIGGERED_BUFFER
88 Say yes here to build support for the Freescale MAG3110 3-Axis
91 To compile this driver as a module, choose M here: the module
92 will be called mag3110.
94 config HID_SENSOR_MAGNETOMETER_3D
95 depends on HID_SENSOR_HUB
97 select IIO_TRIGGERED_BUFFER
98 select HID_SENSOR_IIO_COMMON
99 select HID_SENSOR_IIO_TRIGGER
100 tristate "HID Magenetometer 3D"
102 Say yes here to build support for the HID SENSOR
106 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
110 Say yes here to build support for the MEMSIC MMC35240 3-axis
113 To compile this driver as a module, choose M here: the module
114 will be called mmc35240.
116 config IIO_ST_MAGN_3AXIS
117 tristate "STMicroelectronics magnetometers 3-Axis Driver"
118 depends on (I2C || SPI_MASTER) && SYSFS
119 select IIO_ST_SENSORS_CORE
120 select IIO_ST_MAGN_I2C_3AXIS if (I2C)
121 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
122 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
124 Say yes here to build support for STMicroelectronics magnetometers:
125 LSM303DLHC, LSM303DLM, LIS3MDL.
127 This driver can also be built as a module. If so, these modules
129 - st_magn (core functions for the driver [it is mandatory]);
130 - st_magn_i2c (necessary for the I2C devices [optional*]);
131 - st_magn_spi (necessary for the SPI devices [optional*]);
133 (*) one of these is necessary to do something.
135 config IIO_ST_MAGN_I2C_3AXIS
137 depends on IIO_ST_MAGN_3AXIS
138 depends on IIO_ST_SENSORS_I2C
140 config IIO_ST_MAGN_SPI_3AXIS
142 depends on IIO_ST_MAGN_3AXIS
143 depends on IIO_ST_SENSORS_SPI
145 config SENSORS_HMC5843
148 select IIO_TRIGGERED_BUFFER
150 config SENSORS_HMC5843_I2C
151 tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
153 select SENSORS_HMC5843
156 Say Y here to add support for the Honeywell HMC5843, HMC5883 and
157 HMC5883L 3-Axis Magnetometer (digital compass).
159 This driver can also be compiled as a set of modules.
160 If so, these modules will be created:
161 - hmc5843_core (core functions)
162 - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
164 config SENSORS_HMC5843_SPI
165 tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
166 depends on SPI_MASTER
167 select SENSORS_HMC5843
170 Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
173 This driver can also be compiled as a set of modules.
174 If so, these modules will be created:
175 - hmc5843_core (core functions)
176 - hmc5843_spi (support for HMC5983)