1bc1d57baSsrinivas pandruvada# 2bc1d57baSsrinivas pandruvada# Magnetometer sensors 3bc1d57baSsrinivas pandruvada# 4bc1d57baSsrinivas pandruvadamenu "Magnetometer sensors" 5bc1d57baSsrinivas pandruvada 62fc72cd8SJonathan Cameronconfig AK8975 72fc72cd8SJonathan Cameron tristate "Asahi Kasei AK8975 3-Axis Magnetometer" 82fc72cd8SJonathan Cameron depends on I2C 92fc72cd8SJonathan Cameron depends on GPIOLIB 102fc72cd8SJonathan Cameron help 112fc72cd8SJonathan Cameron Say yes here to build support for Asahi Kasei AK8975 3-Axis 122fc72cd8SJonathan Cameron Magnetometer. 132fc72cd8SJonathan Cameron 142fc72cd8SJonathan Cameron To compile this driver as a module, choose M here: the module 152fc72cd8SJonathan Cameron will be called ak8975. 162fc72cd8SJonathan Cameron 17bc1d57baSsrinivas pandruvadaconfig HID_SENSOR_MAGNETOMETER_3D 18bc1d57baSsrinivas pandruvada depends on HID_SENSOR_HUB 19bc1d57baSsrinivas pandruvada select IIO_BUFFER 20bc1d57baSsrinivas pandruvada select IIO_TRIGGERED_BUFFER 21bc1d57baSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 229541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 23bc1d57baSsrinivas pandruvada tristate "HID Magenetometer 3D" 24bc1d57baSsrinivas pandruvada help 25bc1d57baSsrinivas pandruvada Say yes here to build support for the HID SENSOR 26bc1d57baSsrinivas pandruvada Magnetometer 3D. 27bc1d57baSsrinivas pandruvada 28872e79adSDenis Cioccaconfig IIO_ST_MAGN_3AXIS 29872e79adSDenis Ciocca tristate "STMicroelectronics magnetometers 3-Axis Driver" 30872e79adSDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 31872e79adSDenis Ciocca select IIO_ST_SENSORS_CORE 32872e79adSDenis Ciocca select IIO_ST_MAGN_I2C_3AXIS if (I2C) 33872e79adSDenis Ciocca select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) 34872e79adSDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 35872e79adSDenis Ciocca select IIO_ST_MAGN_BUFFER if (IIO_TRIGGERED_BUFFER) 36872e79adSDenis Ciocca help 37872e79adSDenis Ciocca Say yes here to build support for STMicroelectronics magnetometers: 38872e79adSDenis Ciocca LSM303DLHC, LSM303DLM, LIS3MDL. 39872e79adSDenis Ciocca 40872e79adSDenis Ciocca This driver can also be built as a module. If so, will be created 41872e79adSDenis Ciocca these modules: 42872e79adSDenis Ciocca - st_magn (core functions for the driver [it is mandatory]); 43872e79adSDenis Ciocca - st_magn_i2c (necessary for the I2C devices [optional*]); 44872e79adSDenis Ciocca - st_magn_spi (necessary for the SPI devices [optional*]); 45872e79adSDenis Ciocca 46872e79adSDenis Ciocca (*) one of these is necessary to do something. 47872e79adSDenis Ciocca 48872e79adSDenis Cioccaconfig IIO_ST_MAGN_I2C_3AXIS 49872e79adSDenis Ciocca tristate 50872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 51872e79adSDenis Ciocca depends on IIO_ST_SENSORS_I2C 52872e79adSDenis Ciocca 53872e79adSDenis Cioccaconfig IIO_ST_MAGN_SPI_3AXIS 54872e79adSDenis Ciocca tristate 55872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 56872e79adSDenis Ciocca depends on IIO_ST_SENSORS_SPI 57872e79adSDenis Ciocca 58bc1d57baSsrinivas pandruvadaendmenu 59