srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 1 | # |
| 2 | # Magnetometer sensors |
| 3 | # |
Lars-Peter Clausen | 3edc84e | 2013-07-15 08:45:00 +0100 | [diff] [blame] | 4 | # When adding new entries keep the list in alphabetical order |
| 5 | |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 6 | menu "Magnetometer sensors" |
| 7 | |
Jonathan Cameron | 2fc72cd | 2013-03-24 16:58:00 +0000 | [diff] [blame] | 8 | config AK8975 |
Gwendal Grignou | 57e73a4 | 2014-11-21 10:45:49 -0800 | [diff] [blame] | 9 | tristate "Asahi Kasei AK 3-Axis Magnetometer" |
Jonathan Cameron | 2fc72cd | 2013-03-24 16:58:00 +0000 | [diff] [blame] | 10 | depends on I2C |
Geert Uytterhoeven | 8493585 | 2015-05-05 18:32:23 +0200 | [diff] [blame] | 11 | depends on GPIOLIB || COMPILE_TEST |
Jonathan Cameron | 2fc72cd | 2013-03-24 16:58:00 +0000 | [diff] [blame] | 12 | help |
Gwendal Grignou | 57e73a4 | 2014-11-21 10:45:49 -0800 | [diff] [blame] | 13 | Say yes here to build support for Asahi Kasei AK8975, AK8963, |
| 14 | AK09911 or AK09912 3-Axis Magnetometer. |
Jonathan Cameron | 2fc72cd | 2013-03-24 16:58:00 +0000 | [diff] [blame] | 15 | |
| 16 | To compile this driver as a module, choose M here: the module |
| 17 | will be called ak8975. |
| 18 | |
Srinivas Pandruvada | d14c0f1 | 2014-11-06 23:06:00 +0000 | [diff] [blame] | 19 | config AK09911 |
| 20 | tristate "Asahi Kasei AK09911 3-axis Compass" |
Arnd Bergmann | 3608688 | 2015-01-28 14:58:44 +0100 | [diff] [blame] | 21 | depends on I2C |
Geert Uytterhoeven | 8493585 | 2015-05-05 18:32:23 +0200 | [diff] [blame] | 22 | depends on GPIOLIB || COMPILE_TEST |
Gwendal Grignou | 57e73a4 | 2014-11-21 10:45:49 -0800 | [diff] [blame] | 23 | select AK8975 |
Srinivas Pandruvada | d14c0f1 | 2014-11-06 23:06:00 +0000 | [diff] [blame] | 24 | help |
Gwendal Grignou | 57e73a4 | 2014-11-21 10:45:49 -0800 | [diff] [blame] | 25 | Deprecated: AK09911 is now supported by AK8975 driver. |
Srinivas Pandruvada | d14c0f1 | 2014-11-06 23:06:00 +0000 | [diff] [blame] | 26 | |
Peter Meerwald | 39631b5 | 2013-10-21 21:53:00 +0100 | [diff] [blame] | 27 | config MAG3110 |
| 28 | tristate "Freescale MAG3110 3-Axis Magnetometer" |
| 29 | depends on I2C |
Peter Meerwald | 50619cb | 2013-10-29 00:59:00 +0000 | [diff] [blame] | 30 | select IIO_BUFFER |
| 31 | select IIO_TRIGGERED_BUFFER |
Peter Meerwald | 39631b5 | 2013-10-21 21:53:00 +0100 | [diff] [blame] | 32 | help |
| 33 | Say yes here to build support for the Freescale MAG3110 3-Axis |
| 34 | magnetometer. |
| 35 | |
| 36 | To compile this driver as a module, choose M here: the module |
| 37 | will be called mag3110. |
| 38 | |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 39 | config HID_SENSOR_MAGNETOMETER_3D |
| 40 | depends on HID_SENSOR_HUB |
| 41 | select IIO_BUFFER |
| 42 | select IIO_TRIGGERED_BUFFER |
| 43 | select HID_SENSOR_IIO_COMMON |
Alexander Holler | 9541cc3 | 2012-12-11 18:21:00 +0000 | [diff] [blame] | 44 | select HID_SENSOR_IIO_TRIGGER |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 45 | tristate "HID Magenetometer 3D" |
| 46 | help |
| 47 | Say yes here to build support for the HID SENSOR |
| 48 | Magnetometer 3D. |
| 49 | |
Daniel Baluta | abeb6b1 | 2015-04-24 18:58:30 +0300 | [diff] [blame] | 50 | config MMC35240 |
| 51 | tristate "MEMSIC MMC35240 3-axis magnetic sensor" |
| 52 | select REGMAP_I2C |
| 53 | depends on I2C |
| 54 | help |
| 55 | Say yes here to build support for the MEMSIC MMC35240 3-axis |
| 56 | magnetic sensor. |
| 57 | |
| 58 | To compile this driver as a module, choose M here: the module |
| 59 | will be called mmc35240. |
| 60 | |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 61 | config IIO_ST_MAGN_3AXIS |
| 62 | tristate "STMicroelectronics magnetometers 3-Axis Driver" |
| 63 | depends on (I2C || SPI_MASTER) && SYSFS |
| 64 | select IIO_ST_SENSORS_CORE |
| 65 | select IIO_ST_MAGN_I2C_3AXIS if (I2C) |
| 66 | select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) |
| 67 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 68 | help |
| 69 | Say yes here to build support for STMicroelectronics magnetometers: |
| 70 | LSM303DLHC, LSM303DLM, LIS3MDL. |
| 71 | |
Peter Meerwald | 341673f | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 72 | This driver can also be built as a module. If so, these modules |
| 73 | will be created: |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 74 | - st_magn (core functions for the driver [it is mandatory]); |
| 75 | - st_magn_i2c (necessary for the I2C devices [optional*]); |
| 76 | - st_magn_spi (necessary for the SPI devices [optional*]); |
| 77 | |
| 78 | (*) one of these is necessary to do something. |
| 79 | |
| 80 | config IIO_ST_MAGN_I2C_3AXIS |
| 81 | tristate |
| 82 | depends on IIO_ST_MAGN_3AXIS |
| 83 | depends on IIO_ST_SENSORS_I2C |
| 84 | |
| 85 | config IIO_ST_MAGN_SPI_3AXIS |
| 86 | tristate |
| 87 | depends on IIO_ST_MAGN_3AXIS |
| 88 | depends on IIO_ST_SENSORS_SPI |
| 89 | |
Irina Tirdea | c91746a | 2015-04-29 21:16:37 +0300 | [diff] [blame] | 90 | config BMC150_MAGN |
| 91 | tristate "Bosch BMC150 Magnetometer Driver" |
| 92 | depends on I2C |
| 93 | select IIO_BUFFER |
| 94 | select IIO_TRIGGERED_BUFFER |
| 95 | help |
| 96 | Say yes here to build support for the BMC150 magnetometer. |
| 97 | |
| 98 | Currently this only supports the device via an i2c interface. |
| 99 | |
| 100 | This is a combo module with both accelerometer and magnetometer. |
| 101 | This driver is only implementing magnetometer part, which has |
| 102 | its own address and register map. |
| 103 | |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 104 | endmenu |