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 12 help 13 Say yes here to build support for Asahi Kasei AK8975, AK8963, 14 AK09911 or AK09912 3-Axis Magnetometer. 15 16 To compile this driver as a module, choose M here: the module 17 will be called ak8975. 18 19config AK09911 20 tristate "Asahi Kasei AK09911 3-axis Compass" 21 select AK8975 22 help 23 Deprecated: AK09911 is now supported by AK8975 driver. 24 25config MAG3110 26 tristate "Freescale MAG3110 3-Axis Magnetometer" 27 depends on I2C 28 select IIO_BUFFER 29 select IIO_TRIGGERED_BUFFER 30 help 31 Say yes here to build support for the Freescale MAG3110 3-Axis 32 magnetometer. 33 34 To compile this driver as a module, choose M here: the module 35 will be called mag3110. 36 37config HID_SENSOR_MAGNETOMETER_3D 38 depends on HID_SENSOR_HUB 39 select IIO_BUFFER 40 select IIO_TRIGGERED_BUFFER 41 select HID_SENSOR_IIO_COMMON 42 select HID_SENSOR_IIO_TRIGGER 43 tristate "HID Magenetometer 3D" 44 help 45 Say yes here to build support for the HID SENSOR 46 Magnetometer 3D. 47 48config IIO_ST_MAGN_3AXIS 49 tristate "STMicroelectronics magnetometers 3-Axis Driver" 50 depends on (I2C || SPI_MASTER) && SYSFS 51 select IIO_ST_SENSORS_CORE 52 select IIO_ST_MAGN_I2C_3AXIS if (I2C) 53 select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) 54 select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) 55 help 56 Say yes here to build support for STMicroelectronics magnetometers: 57 LSM303DLHC, LSM303DLM, LIS3MDL. 58 59 This driver can also be built as a module. If so, these modules 60 will be created: 61 - st_magn (core functions for the driver [it is mandatory]); 62 - st_magn_i2c (necessary for the I2C devices [optional*]); 63 - st_magn_spi (necessary for the SPI devices [optional*]); 64 65 (*) one of these is necessary to do something. 66 67config IIO_ST_MAGN_I2C_3AXIS 68 tristate 69 depends on IIO_ST_MAGN_3AXIS 70 depends on IIO_ST_SENSORS_I2C 71 72config IIO_ST_MAGN_SPI_3AXIS 73 tristate 74 depends on IIO_ST_MAGN_3AXIS 75 depends on IIO_ST_SENSORS_SPI 76 77endmenu 78