1# 2# Magnetometer sensors 3# 4# When adding new entries keep the list in alphabetical order 5 6menu "Magnetometer sensors" 7 8config AK8975 9 tristate "Asahi Kasei AK 3-Axis Magnetometer" 10 depends on I2C 11 depends on GPIOLIB || COMPILE_TEST 12 select IIO_BUFFER 13 select IIO_TRIGGERED_BUFFER 14 help 15 Say yes here to build support for Asahi Kasei AK8975, AK8963, 16 AK09911 or AK09912 3-Axis Magnetometer. 17 18 To compile this driver as a module, choose M here: the module 19 will be called ak8975. 20 21config AK09911 22 tristate "Asahi Kasei AK09911 3-axis Compass" 23 depends on I2C 24 depends on GPIOLIB || COMPILE_TEST 25 select AK8975 26 help 27 Deprecated: AK09911 is now supported by AK8975 driver. 28 29config BMC150_MAGN 30 tristate 31 select IIO_BUFFER 32 select IIO_TRIGGERED_BUFFER 33 34config BMC150_MAGN_I2C 35 tristate "Bosch BMC150 I2C Magnetometer Driver" 36 depends on I2C 37 select BMC150_MAGN 38 select REGMAP_I2C 39 help 40 Say yes here to build support for the BMC150 magnetometer with 41 I2C interface. 42 43 This is a combo module with both accelerometer and magnetometer. 44 This driver is only implementing magnetometer part, which has 45 its own address and register map. 46 47 To compile this driver as a module, choose M here: the module will be 48 called bmc150_magn_i2c. 49 50config BMC150_MAGN_SPI 51 tristate "Bosch BMC150 SPI Magnetometer Driver" 52 depends on SPI 53 select BMC150_MAGN 54 select REGMAP_SPI 55 help 56 Say yes here to build support for the BMC150 magnetometer with 57 SPI interface. 58 59 This is a combo module with both accelerometer and magnetometer. 60 This driver is only implementing magnetometer part, which has 61 its own address and register map. 62 63 To compile this driver as a module, choose M here: the module will be 64 called bmc150_magn_spi. 65 66config MAG3110 67 tristate "Freescale MAG3110 3-Axis Magnetometer" 68 depends on I2C 69 select IIO_BUFFER 70 select IIO_TRIGGERED_BUFFER 71 help 72 Say yes here to build support for the Freescale MAG3110 3-Axis 73 magnetometer. 74 75 To compile this driver as a module, choose M here: the module 76 will be called mag3110. 77 78config HID_SENSOR_MAGNETOMETER_3D 79 depends on HID_SENSOR_HUB 80 select IIO_BUFFER 81 select IIO_TRIGGERED_BUFFER 82 select HID_SENSOR_IIO_COMMON 83 select HID_SENSOR_IIO_TRIGGER 84 tristate "HID Magenetometer 3D" 85 help 86 Say yes here to build support for the HID SENSOR 87 Magnetometer 3D. 88 89config MMC35240 90 tristate "MEMSIC MMC35240 3-axis magnetic sensor" 91 select REGMAP_I2C 92 depends on I2C 93 help 94 Say yes here to build support for the MEMSIC MMC35240 3-axis 95 magnetic sensor. 96 97 To compile this driver as a module, choose M here: the module 98 will be called mmc35240. 99 100config IIO_ST_MAGN_3AXIS 101 tristate "STMicroelectronics magnetometers 3-Axis Driver" 102 depends on (I2C || SPI_MASTER) && SYSFS 103 select IIO_ST_SENSORS_CORE 104 select IIO_ST_MAGN_I2C_3AXIS if (I2C) 105 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) 106 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 107 help 108 Say yes here to build support for STMicroelectronics magnetometers: 109 LSM303DLHC, LSM303DLM, LIS3MDL. 110 111 This driver can also be built as a module. If so, these modules 112 will be created: 113 - st_magn (core functions for the driver [it is mandatory]); 114 - st_magn_i2c (necessary for the I2C devices [optional*]); 115 - st_magn_spi (necessary for the SPI devices [optional*]); 116 117 (*) one of these is necessary to do something. 118 119config IIO_ST_MAGN_I2C_3AXIS 120 tristate 121 depends on IIO_ST_MAGN_3AXIS 122 depends on IIO_ST_SENSORS_I2C 123 124config IIO_ST_MAGN_SPI_3AXIS 125 tristate 126 depends on IIO_ST_MAGN_3AXIS 127 depends on IIO_ST_SENSORS_SPI 128 129config SENSORS_HMC5843 130 tristate 131 select IIO_BUFFER 132 select IIO_TRIGGERED_BUFFER 133 134config SENSORS_HMC5843_I2C 135 tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)" 136 depends on I2C 137 select SENSORS_HMC5843 138 select REGMAP_I2C 139 help 140 Say Y here to add support for the Honeywell HMC5843, HMC5883 and 141 HMC5883L 3-Axis Magnetometer (digital compass). 142 143 This driver can also be compiled as a set of modules. 144 If so, these modules will be created: 145 - hmc5843_core (core functions) 146 - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983) 147 148config SENSORS_HMC5843_SPI 149 tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)" 150 depends on SPI_MASTER 151 select SENSORS_HMC5843 152 select REGMAP_SPI 153 help 154 Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer 155 (digital compass). 156 157 This driver can also be compiled as a set of modules. 158 If so, these modules will be created: 159 - hmc5843_core (core functions) 160 - hmc5843_spi (support for HMC5983) 161 162endmenu 163