253 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Magnetometer sensors4#5# When adding new entries keep the list in alphabetical order6 7menu "Magnetometer sensors"8 9config AF8133J10 tristate "Voltafield AF8133J 3-Axis Magnetometer"11 depends on I2C12 depends on OF13 select REGMAP_I2C14 select IIO_BUFFER15 select IIO_TRIGGERED_BUFFER16 help17 Say yes here to build support for Voltafield AF8133J I2C-based18 3-axis magnetometer chip.19 20 To compile this driver as a module, choose M here: the module21 will be called af8133j.22 23config AK897424 tristate "Asahi Kasei AK8974 3-Axis Magnetometer"25 depends on I2C26 select REGMAP_I2C27 select IIO_BUFFER28 select IIO_TRIGGERED_BUFFER29 help30 Say yes here to build support for Asahi Kasei AK8974, AMI305 or31 AMI306 I2C-based 3-axis magnetometer chips.32 33 To compile this driver as a module, choose M here: the module34 will be called ak8974.35 36config AK897537 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"38 depends on I2C39 depends on GPIOLIB || COMPILE_TEST40 select IIO_BUFFER41 select IIO_TRIGGERED_BUFFER42 help43 Say yes here to build support for Asahi Kasei AK8975, AK8963,44 AK09911, AK09912, AK09916 or AK09918 3-Axis Magnetometer.45 46 To compile this driver as a module, choose M here: the module47 will be called ak8975.48 49config AK0991150 tristate "Asahi Kasei AK09911 3-axis Compass"51 depends on I2C52 depends on GPIOLIB || COMPILE_TEST53 select AK897554 help55 Deprecated: AK09911 is now supported by AK8975 driver.56 57config BMC150_MAGN58 tristate59 select IIO_BUFFER60 select IIO_TRIGGERED_BUFFER61 62config BMC150_MAGN_I2C63 tristate "Bosch BMC150 I2C Magnetometer Driver"64 depends on I2C65 select BMC150_MAGN66 select REGMAP_I2C67 help68 Say yes here to build support for the BMC150 magnetometer with69 I2C interface.70 71 This is a combo module with both accelerometer and magnetometer.72 This driver is only implementing magnetometer part, which has73 its own address and register map.74 75 This driver also supports I2C Bosch BMC156 and BMM150 chips.76 To compile this driver as a module, choose M here: the module will be77 called bmc150_magn_i2c.78 79config BMC150_MAGN_SPI80 tristate "Bosch BMC150 SPI Magnetometer Driver"81 depends on SPI82 select BMC150_MAGN83 select REGMAP_SPI84 help85 Say yes here to build support for the BMC150 magnetometer with86 SPI interface.87 88 This is a combo module with both accelerometer and magnetometer.89 This driver is only implementing magnetometer part, which has90 its own address and register map.91 92 This driver also supports SPI Bosch BMC156 and BMM150 chips.93 To compile this driver as a module, choose M here: the module will be94 called bmc150_magn_spi.95 96config MAG311097 tristate "Freescale MAG3110 3-Axis Magnetometer"98 depends on I2C99 select IIO_BUFFER100 select IIO_TRIGGERED_BUFFER101 help102 Say yes here to build support for the Freescale MAG3110 3-Axis103 magnetometer.104 105 To compile this driver as a module, choose M here: the module106 will be called mag3110.107 108config HID_SENSOR_MAGNETOMETER_3D109 depends on HID_SENSOR_HUB110 select IIO_BUFFER111 select HID_SENSOR_IIO_COMMON112 select HID_SENSOR_IIO_TRIGGER113 tristate "HID Magenetometer 3D"114 help115 Say yes here to build support for the HID SENSOR116 Magnetometer 3D.117 118config MMC35240119 tristate "MEMSIC MMC35240 3-axis magnetic sensor"120 select REGMAP_I2C121 depends on I2C122 help123 Say yes here to build support for the MEMSIC MMC35240 3-axis124 magnetic sensor.125 126 To compile this driver as a module, choose M here: the module127 will be called mmc35240.128 129config IIO_ST_MAGN_3AXIS130 tristate "STMicroelectronics magnetometers 3-Axis Driver"131 depends on (I2C || SPI_MASTER) && SYSFS132 select IIO_ST_SENSORS_CORE133 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)134 help135 Say yes here to build support for STMicroelectronics magnetometers:136 LSM303C, LSM303DLHC, LSM303DLM, LIS3MDL.137 138 Also need to enable at least one of I2C and SPI interface drivers139 below.140 141config IIO_ST_MAGN_I2C_3AXIS142 tristate "STMicroelectronics magnetometers 3-Axis I2C Interface"143 depends on I2C && IIO_ST_MAGN_3AXIS144 default I2C && IIO_ST_MAGN_3AXIS145 select IIO_ST_SENSORS_I2C146 help147 Build support for STMicroelectronics magnetometers I2C interface.148 149 To compile this driver as a module, choose M here. The module150 will be called st_magn_i2c.151 152config IIO_ST_MAGN_SPI_3AXIS153 tristate "STMicroelectronics magnetometers 3-Axis SPI Interface"154 depends on SPI_MASTER && IIO_ST_MAGN_3AXIS155 default SPI_MASTER && IIO_ST_MAGN_3AXIS156 select IIO_ST_SENSORS_SPI157 help158 Build support for STMicroelectronics magnetometers SPI interface.159 160 To compile this driver as a module, choose M here. The module161 will be called st_magn_spi.162 163config SENSORS_HMC5843164 tristate165 select IIO_BUFFER166 select IIO_TRIGGERED_BUFFER167 168config SENSORS_HMC5843_I2C169 tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"170 depends on I2C171 select SENSORS_HMC5843172 select REGMAP_I2C173 help174 Say Y here to add support for the Honeywell HMC5843, HMC5883 and175 HMC5883L 3-Axis Magnetometer (digital compass).176 177 This driver can also be compiled as a set of modules.178 If so, these modules will be created:179 - hmc5843_core (core functions)180 - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)181 182config SENSORS_HMC5843_SPI183 tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"184 depends on SPI_MASTER185 select SENSORS_HMC5843186 select REGMAP_SPI187 help188 Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer189 (digital compass).190 191 This driver can also be compiled as a set of modules.192 If so, these modules will be created:193 - hmc5843_core (core functions)194 - hmc5843_spi (support for HMC5983)195 196config SENSORS_RM3100197 tristate198 select IIO_BUFFER199 select IIO_TRIGGERED_BUFFER200 201config SENSORS_RM3100_I2C202 tristate "PNI RM3100 3-Axis Magnetometer (I2C)"203 depends on I2C204 select SENSORS_RM3100205 select REGMAP_I2C206 help207 Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.208 209 This driver can also be compiled as a module.210 To compile this driver as a module, choose M here: the module211 will be called rm3100-i2c.212 213config SENSORS_RM3100_SPI214 tristate "PNI RM3100 3-Axis Magnetometer (SPI)"215 depends on SPI_MASTER216 select SENSORS_RM3100217 select REGMAP_SPI218 help219 Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.220 221 This driver can also be compiled as a module.222 To compile this driver as a module, choose M here: the module223 will be called rm3100-spi.224 225config TI_TMAG5273226 tristate "TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor"227 depends on I2C228 select REGMAP_I2C229 help230 Say Y here to add support for the TI TMAG5273 Low-Power231 Linear 3D Hall-Effect Sensor.232 233 This driver can also be compiled as a module.234 To compile this driver as a module, choose M here: the module235 will be called tmag5273.236 237config YAMAHA_YAS530238 tristate "Yamaha YAS530 family of 3-Axis Magnetometers (I2C)"239 depends on I2C240 select REGMAP_I2C241 select IIO_BUFFER242 select IIO_TRIGGERED_BUFFER243 help244 Say Y here to add support for the Yamaha YAS530 series of245 3-Axis Magnetometers. YAS530, YAS532, YAS533 and YAS537 are246 supported.247 248 This driver can also be compiled as a module.249 To compile this driver as a module, choose M here: the module250 will be called yamaha-yas.251 252endmenu253