blob: b2dba9e506ab120712304cd78782ee357ec13fcd [file] [log] [blame]
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +01001#
2# Magnetometer sensors
3#
Lars-Peter Clausen3edc84e2013-07-15 08:45:00 +01004# When adding new entries keep the list in alphabetical order
5
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +01006menu "Magnetometer sensors"
7
Jonathan Cameron2fc72cd2013-03-24 16:58:00 +00008config 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 Pandruvada6027c072014-03-19 16:56:00 +000014 Magnetometer. This driver can also support AK8963, if i2c
15 device name is identified as ak8963.
Jonathan Cameron2fc72cd2013-03-24 16:58:00 +000016
17 To compile this driver as a module, choose M here: the module
18 will be called ak8975.
19
Srinivas Pandruvadad14c0f12014-11-06 23:06:00 +000020config 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 Meerwald39631b52013-10-21 21:53:00 +010030config MAG3110
31 tristate "Freescale MAG3110 3-Axis Magnetometer"
32 depends on I2C
Peter Meerwald50619cb2013-10-29 00:59:00 +000033 select IIO_BUFFER
34 select IIO_TRIGGERED_BUFFER
Peter Meerwald39631b52013-10-21 21:53:00 +010035 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 pandruvadabc1d57ba2012-09-05 13:56:00 +010042config 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 Holler9541cc32012-12-11 18:21:00 +000047 select HID_SENSOR_IIO_TRIGGER
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +010048 tristate "HID Magenetometer 3D"
49 help
50 Say yes here to build support for the HID SENSOR
51 Magnetometer 3D.
52
Denis Ciocca872e79a2013-01-25 23:44:00 +000053config 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 Ciocca872e79a2013-01-25 23:44:00 +000060 help
61 Say yes here to build support for STMicroelectronics magnetometers:
62 LSM303DLHC, LSM303DLM, LIS3MDL.
63
Peter Meerwald341673f2013-06-23 22:28:00 +010064 This driver can also be built as a module. If so, these modules
65 will be created:
Denis Ciocca872e79a2013-01-25 23:44:00 +000066 - 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
72config IIO_ST_MAGN_I2C_3AXIS
73 tristate
74 depends on IIO_ST_MAGN_3AXIS
75 depends on IIO_ST_SENSORS_I2C
76
77config IIO_ST_MAGN_SPI_3AXIS
78 tristate
79 depends on IIO_ST_MAGN_3AXIS
80 depends on IIO_ST_SENSORS_SPI
81
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +010082endmenu