1bc1d57baSsrinivas pandruvada# 2bc1d57baSsrinivas pandruvada# Magnetometer sensors 3bc1d57baSsrinivas pandruvada# 43edc84e6SLars-Peter Clausen# When adding new entries keep the list in alphabetical order 53edc84e6SLars-Peter Clausen 6bc1d57baSsrinivas pandruvadamenu "Magnetometer sensors" 7bc1d57baSsrinivas pandruvada 82fc72cd8SJonathan Cameronconfig AK8975 957e73a42SGwendal Grignou tristate "Asahi Kasei AK 3-Axis Magnetometer" 102fc72cd8SJonathan Cameron depends on I2C 1184935853SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 122fc72cd8SJonathan Cameron help 1357e73a42SGwendal Grignou Say yes here to build support for Asahi Kasei AK8975, AK8963, 1457e73a42SGwendal Grignou AK09911 or AK09912 3-Axis Magnetometer. 152fc72cd8SJonathan Cameron 162fc72cd8SJonathan Cameron To compile this driver as a module, choose M here: the module 172fc72cd8SJonathan Cameron will be called ak8975. 182fc72cd8SJonathan Cameron 19d14c0f10SSrinivas Pandruvadaconfig AK09911 20d14c0f10SSrinivas Pandruvada tristate "Asahi Kasei AK09911 3-axis Compass" 2136086889SArnd Bergmann depends on I2C 2284935853SGeert Uytterhoeven depends on GPIOLIB || COMPILE_TEST 2357e73a42SGwendal Grignou select AK8975 24d14c0f10SSrinivas Pandruvada help 2557e73a42SGwendal Grignou Deprecated: AK09911 is now supported by AK8975 driver. 26d14c0f10SSrinivas Pandruvada 2739631b5fSPeter Meerwaldconfig MAG3110 2839631b5fSPeter Meerwald tristate "Freescale MAG3110 3-Axis Magnetometer" 2939631b5fSPeter Meerwald depends on I2C 3050619cb1SPeter Meerwald select IIO_BUFFER 3150619cb1SPeter Meerwald select IIO_TRIGGERED_BUFFER 3239631b5fSPeter Meerwald help 3339631b5fSPeter Meerwald Say yes here to build support for the Freescale MAG3110 3-Axis 3439631b5fSPeter Meerwald magnetometer. 3539631b5fSPeter Meerwald 3639631b5fSPeter Meerwald To compile this driver as a module, choose M here: the module 3739631b5fSPeter Meerwald will be called mag3110. 3839631b5fSPeter Meerwald 39bc1d57baSsrinivas pandruvadaconfig HID_SENSOR_MAGNETOMETER_3D 40bc1d57baSsrinivas pandruvada depends on HID_SENSOR_HUB 41bc1d57baSsrinivas pandruvada select IIO_BUFFER 42bc1d57baSsrinivas pandruvada select IIO_TRIGGERED_BUFFER 43bc1d57baSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 449541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 45bc1d57baSsrinivas pandruvada tristate "HID Magenetometer 3D" 46bc1d57baSsrinivas pandruvada help 47bc1d57baSsrinivas pandruvada Say yes here to build support for the HID SENSOR 48bc1d57baSsrinivas pandruvada Magnetometer 3D. 49bc1d57baSsrinivas pandruvada 50abeb6b1eSDaniel Balutaconfig MMC35240 51abeb6b1eSDaniel Baluta tristate "MEMSIC MMC35240 3-axis magnetic sensor" 52abeb6b1eSDaniel Baluta select REGMAP_I2C 53abeb6b1eSDaniel Baluta depends on I2C 54abeb6b1eSDaniel Baluta help 55abeb6b1eSDaniel Baluta Say yes here to build support for the MEMSIC MMC35240 3-axis 56abeb6b1eSDaniel Baluta magnetic sensor. 57abeb6b1eSDaniel Baluta 58abeb6b1eSDaniel Baluta To compile this driver as a module, choose M here: the module 59abeb6b1eSDaniel Baluta will be called mmc35240. 60abeb6b1eSDaniel Baluta 61872e79adSDenis Cioccaconfig IIO_ST_MAGN_3AXIS 62872e79adSDenis Ciocca tristate "STMicroelectronics magnetometers 3-Axis Driver" 63872e79adSDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 64872e79adSDenis Ciocca select IIO_ST_SENSORS_CORE 65872e79adSDenis Ciocca select IIO_ST_MAGN_I2C_3AXIS if (I2C) 66872e79adSDenis Ciocca select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) 67872e79adSDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 68872e79adSDenis Ciocca help 69872e79adSDenis Ciocca Say yes here to build support for STMicroelectronics magnetometers: 70872e79adSDenis Ciocca LSM303DLHC, LSM303DLM, LIS3MDL. 71872e79adSDenis Ciocca 72341673f1SPeter Meerwald This driver can also be built as a module. If so, these modules 73341673f1SPeter Meerwald will be created: 74872e79adSDenis Ciocca - st_magn (core functions for the driver [it is mandatory]); 75872e79adSDenis Ciocca - st_magn_i2c (necessary for the I2C devices [optional*]); 76872e79adSDenis Ciocca - st_magn_spi (necessary for the SPI devices [optional*]); 77872e79adSDenis Ciocca 78872e79adSDenis Ciocca (*) one of these is necessary to do something. 79872e79adSDenis Ciocca 80872e79adSDenis Cioccaconfig IIO_ST_MAGN_I2C_3AXIS 81872e79adSDenis Ciocca tristate 82872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 83872e79adSDenis Ciocca depends on IIO_ST_SENSORS_I2C 84872e79adSDenis Ciocca 85872e79adSDenis Cioccaconfig IIO_ST_MAGN_SPI_3AXIS 86872e79adSDenis Ciocca tristate 87872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 88872e79adSDenis Ciocca depends on IIO_ST_SENSORS_SPI 89872e79adSDenis Ciocca 90c91746a2SIrina Tirdeaconfig BMC150_MAGN 91c91746a2SIrina Tirdea tristate "Bosch BMC150 Magnetometer Driver" 92c91746a2SIrina Tirdea depends on I2C 93c91746a2SIrina Tirdea select IIO_BUFFER 94c91746a2SIrina Tirdea select IIO_TRIGGERED_BUFFER 95c91746a2SIrina Tirdea help 96c91746a2SIrina Tirdea Say yes here to build support for the BMC150 magnetometer. 97c91746a2SIrina Tirdea 98c91746a2SIrina Tirdea Currently this only supports the device via an i2c interface. 99c91746a2SIrina Tirdea 100c91746a2SIrina Tirdea This is a combo module with both accelerometer and magnetometer. 101c91746a2SIrina Tirdea This driver is only implementing magnetometer part, which has 102c91746a2SIrina Tirdea its own address and register map. 103c91746a2SIrina Tirdea 104bc1d57baSsrinivas pandruvadaendmenu 105