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 |
| 9 | tristate "Asahi Kasei AK8975 3-Axis Magnetometer" |
| 10 | depends on I2C |
| 11 | depends on GPIOLIB |
| 12 | help |
| 13 | Say yes here to build support for Asahi Kasei AK8975 3-Axis |
Srinivas Pandruvada | 6027c07 | 2014-03-19 16:56:00 +0000 | [diff] [blame] | 14 | Magnetometer. This driver can also support AK8963, if i2c |
| 15 | device name is identified as ak8963. |
Jonathan Cameron | 2fc72cd | 2013-03-24 16:58:00 +0000 | [diff] [blame] | 16 | |
| 17 | To compile this driver as a module, choose M here: the module |
| 18 | will be called ak8975. |
| 19 | |
Srinivas Pandruvada | d14c0f1 | 2014-11-06 23:06:00 +0000 | [diff] [blame^] | 20 | config AK09911 |
| 21 | tristate "Asahi Kasei AK09911 3-axis Compass" |
| 22 | depends on I2C |
| 23 | help |
| 24 | Say yes here to build support for Asahi Kasei AK09911 3-Axis |
| 25 | Magnetometer. |
| 26 | |
| 27 | To compile this driver as a module, choose M here: the module |
| 28 | will be called ak09911. |
| 29 | |
Peter Meerwald | 39631b5 | 2013-10-21 21:53:00 +0100 | [diff] [blame] | 30 | config MAG3110 |
| 31 | tristate "Freescale MAG3110 3-Axis Magnetometer" |
| 32 | depends on I2C |
Peter Meerwald | 50619cb | 2013-10-29 00:59:00 +0000 | [diff] [blame] | 33 | select IIO_BUFFER |
| 34 | select IIO_TRIGGERED_BUFFER |
Peter Meerwald | 39631b5 | 2013-10-21 21:53:00 +0100 | [diff] [blame] | 35 | help |
| 36 | Say yes here to build support for the Freescale MAG3110 3-Axis |
| 37 | magnetometer. |
| 38 | |
| 39 | To compile this driver as a module, choose M here: the module |
| 40 | will be called mag3110. |
| 41 | |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 42 | config HID_SENSOR_MAGNETOMETER_3D |
| 43 | depends on HID_SENSOR_HUB |
| 44 | select IIO_BUFFER |
| 45 | select IIO_TRIGGERED_BUFFER |
| 46 | select HID_SENSOR_IIO_COMMON |
Alexander Holler | 9541cc3 | 2012-12-11 18:21:00 +0000 | [diff] [blame] | 47 | select HID_SENSOR_IIO_TRIGGER |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 48 | tristate "HID Magenetometer 3D" |
| 49 | help |
| 50 | Say yes here to build support for the HID SENSOR |
| 51 | Magnetometer 3D. |
| 52 | |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 53 | config IIO_ST_MAGN_3AXIS |
| 54 | tristate "STMicroelectronics magnetometers 3-Axis Driver" |
| 55 | depends on (I2C || SPI_MASTER) && SYSFS |
| 56 | select IIO_ST_SENSORS_CORE |
| 57 | select IIO_ST_MAGN_I2C_3AXIS if (I2C) |
| 58 | select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER) |
| 59 | select IIO_TRIGGERED_BUFFER if (IIO_BUFFER) |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 60 | help |
| 61 | Say yes here to build support for STMicroelectronics magnetometers: |
| 62 | LSM303DLHC, LSM303DLM, LIS3MDL. |
| 63 | |
Peter Meerwald | 341673f | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 64 | This driver can also be built as a module. If so, these modules |
| 65 | will be created: |
Denis Ciocca | 872e79a | 2013-01-25 23:44:00 +0000 | [diff] [blame] | 66 | - st_magn (core functions for the driver [it is mandatory]); |
| 67 | - st_magn_i2c (necessary for the I2C devices [optional*]); |
| 68 | - st_magn_spi (necessary for the SPI devices [optional*]); |
| 69 | |
| 70 | (*) one of these is necessary to do something. |
| 71 | |
| 72 | config IIO_ST_MAGN_I2C_3AXIS |
| 73 | tristate |
| 74 | depends on IIO_ST_MAGN_3AXIS |
| 75 | depends on IIO_ST_SENSORS_I2C |
| 76 | |
| 77 | config IIO_ST_MAGN_SPI_3AXIS |
| 78 | tristate |
| 79 | depends on IIO_ST_MAGN_3AXIS |
| 80 | depends on IIO_ST_SENSORS_SPI |
| 81 | |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 82 | endmenu |