1 # SPDX-License-Identifier: GPL-2.0-only
5 # When adding new entries keep the list in alphabetical order
7 menu "Magnetometer sensors"
10 tristate "Voltafield AF8133J 3-Axis Magnetometer"
15 select IIO_TRIGGERED_BUFFER
17 Say yes here to build support for Voltafield AF8133J I2C-based
18 3-axis magnetometer chip.
20 To compile this driver as a module, choose M here: the module
21 will be called af8133j.
24 tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
28 select IIO_TRIGGERED_BUFFER
30 Say yes here to build support for Asahi Kasei AK8974, AMI305 or
31 AMI306 I2C-based 3-axis magnetometer chips.
33 To compile this driver as a module, choose M here: the module
34 will be called ak8974.
37 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
39 depends on GPIOLIB || COMPILE_TEST
41 select IIO_TRIGGERED_BUFFER
43 Say yes here to build support for Asahi Kasei AK8975, AK8963,
44 AK09911, AK09912, AK09916 or AK09918 3-Axis Magnetometer.
46 To compile this driver as a module, choose M here: the module
47 will be called ak8975.
50 tristate "Asahi Kasei AK09911 3-axis Compass"
52 depends on GPIOLIB || COMPILE_TEST
55 Deprecated: AK09911 is now supported by AK8975 driver.
58 tristate "Allegro MicroSystems ALS31300 3-D Linear Hall Effect Sensor"
62 select IIO_TRIGGERED_BUFFER
64 Say yes here to build support for the Allegro MicroSystems
65 ALS31300 Hall Effect Sensor through its I2C interface.
67 To compile this driver as a module, choose M here: the
68 module will be called als31300.
73 select IIO_TRIGGERED_BUFFER
75 config BMC150_MAGN_I2C
76 tristate "Bosch BMC150 I2C Magnetometer Driver"
81 Say yes here to build support for the BMC150 magnetometer with
84 This is a combo module with both accelerometer and magnetometer.
85 This driver is only implementing magnetometer part, which has
86 its own address and register map.
88 This driver also supports I2C Bosch BMC156 and BMM150 chips.
89 To compile this driver as a module, choose M here: the module will be
90 called bmc150_magn_i2c.
92 config BMC150_MAGN_SPI
93 tristate "Bosch BMC150 SPI Magnetometer Driver"
98 Say yes here to build support for the BMC150 magnetometer with
101 This is a combo module with both accelerometer and magnetometer.
102 This driver is only implementing magnetometer part, which has
103 its own address and register map.
105 This driver also supports SPI Bosch BMC156 and BMM150 chips.
106 To compile this driver as a module, choose M here: the module will be
107 called bmc150_magn_spi.
110 tristate "Freescale MAG3110 3-Axis Magnetometer"
113 select IIO_TRIGGERED_BUFFER
115 Say yes here to build support for the Freescale MAG3110 3-Axis
118 To compile this driver as a module, choose M here: the module
119 will be called mag3110.
121 config HID_SENSOR_MAGNETOMETER_3D
122 depends on HID_SENSOR_HUB
124 select HID_SENSOR_IIO_COMMON
125 select HID_SENSOR_IIO_TRIGGER
126 tristate "HID Magenetometer 3D"
128 Say yes here to build support for the HID SENSOR
132 tristate "MEMSIC MMC35240 3-axis magnetic sensor"
136 Say yes here to build support for the MEMSIC MMC35240 3-axis
139 To compile this driver as a module, choose M here: the module
140 will be called mmc35240.
142 config IIO_ST_MAGN_3AXIS
143 tristate "STMicroelectronics magnetometers 3-Axis Driver"
144 depends on (I2C || SPI_MASTER) && SYSFS
145 select IIO_ST_SENSORS_CORE
146 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
148 Say yes here to build support for STMicroelectronics magnetometers:
149 LSM303C, LSM303DLHC, LSM303DLM, LIS3MDL.
151 Also need to enable at least one of I2C and SPI interface drivers
154 config IIO_ST_MAGN_I2C_3AXIS
155 tristate "STMicroelectronics magnetometers 3-Axis I2C Interface"
156 depends on I2C && IIO_ST_MAGN_3AXIS
157 default I2C && IIO_ST_MAGN_3AXIS
158 select IIO_ST_SENSORS_I2C
160 Build support for STMicroelectronics magnetometers I2C interface.
162 To compile this driver as a module, choose M here. The module
163 will be called st_magn_i2c.
165 config IIO_ST_MAGN_SPI_3AXIS
166 tristate "STMicroelectronics magnetometers 3-Axis SPI Interface"
167 depends on SPI_MASTER && IIO_ST_MAGN_3AXIS
168 default SPI_MASTER && IIO_ST_MAGN_3AXIS
169 select IIO_ST_SENSORS_SPI
171 Build support for STMicroelectronics magnetometers SPI interface.
173 To compile this driver as a module, choose M here. The module
174 will be called st_magn_spi.
176 config SENSORS_HMC5843
179 select IIO_TRIGGERED_BUFFER
181 config SENSORS_HMC5843_I2C
182 tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
184 select SENSORS_HMC5843
187 Say Y here to add support for the Honeywell HMC5843, HMC5883 and
188 HMC5883L 3-Axis Magnetometer (digital compass).
190 This driver can also be compiled as a set of modules.
191 If so, these modules will be created:
192 - hmc5843_core (core functions)
193 - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
195 config SENSORS_HMC5843_SPI
196 tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
197 depends on SPI_MASTER
198 select SENSORS_HMC5843
201 Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
204 This driver can also be compiled as a set of modules.
205 If so, these modules will be created:
206 - hmc5843_core (core functions)
207 - hmc5843_spi (support for HMC5983)
209 config SENSORS_RM3100
212 select IIO_TRIGGERED_BUFFER
214 config SENSORS_RM3100_I2C
215 tristate "PNI RM3100 3-Axis Magnetometer (I2C)"
217 select SENSORS_RM3100
220 Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
222 This driver can also be compiled as a module.
223 To compile this driver as a module, choose M here: the module
224 will be called rm3100-i2c.
226 config SENSORS_RM3100_SPI
227 tristate "PNI RM3100 3-Axis Magnetometer (SPI)"
228 depends on SPI_MASTER
229 select SENSORS_RM3100
232 Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
234 This driver can also be compiled as a module.
235 To compile this driver as a module, choose M here: the module
236 will be called rm3100-spi.
239 tristate "TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor"
243 Say Y here to add support for the TI TMAG5273 Low-Power
244 Linear 3D Hall-Effect Sensor.
246 This driver can also be compiled as a module.
247 To compile this driver as a module, choose M here: the module
248 will be called tmag5273.
251 tristate "Yamaha YAS530 family of 3-Axis Magnetometers (I2C)"
255 select IIO_TRIGGERED_BUFFER
257 Say Y here to add support for the Yamaha YAS530 series of
258 3-Axis Magnetometers. YAS530, YAS532, YAS533 and YAS537 are
261 This driver can also be compiled as a module.
262 To compile this driver as a module, choose M here: the module
263 will be called yamaha-yas.