1bc1d57baSsrinivas pandruvada# 2bc1d57baSsrinivas pandruvada# Magnetometer sensors 3bc1d57baSsrinivas pandruvada# 4bc1d57baSsrinivas pandruvadamenu "Magnetometer sensors" 5bc1d57baSsrinivas pandruvada 6bc1d57baSsrinivas pandruvadaconfig HID_SENSOR_MAGNETOMETER_3D 7bc1d57baSsrinivas pandruvada depends on HID_SENSOR_HUB 8bc1d57baSsrinivas pandruvada select IIO_BUFFER 9bc1d57baSsrinivas pandruvada select IIO_TRIGGERED_BUFFER 10bc1d57baSsrinivas pandruvada select HID_SENSOR_IIO_COMMON 119541cc39SAlexander Holler select HID_SENSOR_IIO_TRIGGER 12bc1d57baSsrinivas pandruvada tristate "HID Magenetometer 3D" 13bc1d57baSsrinivas pandruvada help 14bc1d57baSsrinivas pandruvada Say yes here to build support for the HID SENSOR 15bc1d57baSsrinivas pandruvada Magnetometer 3D. 16bc1d57baSsrinivas pandruvada 17872e79adSDenis Cioccaconfig IIO_ST_MAGN_3AXIS 18872e79adSDenis Ciocca tristate "STMicroelectronics magnetometers 3-Axis Driver" 19872e79adSDenis Ciocca depends on (I2C || SPI_MASTER) && SYSFS 20872e79adSDenis Ciocca select IIO_ST_SENSORS_CORE 21872e79adSDenis Ciocca select IIO_ST_MAGN_I2C_3AXIS if (I2C) 22872e79adSDenis Ciocca select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) 23872e79adSDenis Ciocca select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 24872e79adSDenis Ciocca select IIO_ST_MAGN_BUFFER if (IIO_TRIGGERED_BUFFER) 25872e79adSDenis Ciocca help 26872e79adSDenis Ciocca Say yes here to build support for STMicroelectronics magnetometers: 27872e79adSDenis Ciocca LSM303DLHC, LSM303DLM, LIS3MDL. 28872e79adSDenis Ciocca 29872e79adSDenis Ciocca This driver can also be built as a module. If so, will be created 30872e79adSDenis Ciocca these modules: 31872e79adSDenis Ciocca - st_magn (core functions for the driver [it is mandatory]); 32872e79adSDenis Ciocca - st_magn_i2c (necessary for the I2C devices [optional*]); 33872e79adSDenis Ciocca - st_magn_spi (necessary for the SPI devices [optional*]); 34872e79adSDenis Ciocca 35872e79adSDenis Ciocca (*) one of these is necessary to do something. 36872e79adSDenis Ciocca 37872e79adSDenis Cioccaconfig IIO_ST_MAGN_I2C_3AXIS 38872e79adSDenis Ciocca tristate 39872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 40872e79adSDenis Ciocca depends on IIO_ST_SENSORS_I2C 41872e79adSDenis Ciocca 42872e79adSDenis Cioccaconfig IIO_ST_MAGN_SPI_3AXIS 43872e79adSDenis Ciocca tristate 44872e79adSDenis Ciocca depends on IIO_ST_MAGN_3AXIS 45872e79adSDenis Ciocca depends on IIO_ST_SENSORS_SPI 46872e79adSDenis Ciocca 47bc1d57baSsrinivas pandruvadaendmenu 48