Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # Magnetometer sensors
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Magnetometer sensors"
  6. config AK8975
  7. tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
  8. depends on I2C
  9. depends on GPIOLIB
  10. help
  11. Say yes here to build support for Asahi Kasei AK8975 3-Axis
  12. Magnetometer. This driver can also support AK8963, if i2c
  13. device name is identified as ak8963.
  14. To compile this driver as a module, choose M here: the module
  15. will be called ak8975.
  16. config AK09911
  17. tristate "Asahi Kasei AK09911 3-axis Compass"
  18. depends on I2C
  19. help
  20. Say yes here to build support for Asahi Kasei AK09911 3-Axis
  21. Magnetometer.
  22. To compile this driver as a module, choose M here: the module
  23. will be called ak09911.
  24. config MAG3110
  25. tristate "Freescale MAG3110 3-Axis Magnetometer"
  26. depends on I2C
  27. select IIO_BUFFER
  28. select IIO_TRIGGERED_BUFFER
  29. help
  30. Say yes here to build support for the Freescale MAG3110 3-Axis
  31. magnetometer.
  32. To compile this driver as a module, choose M here: the module
  33. will be called mag3110.
  34. config HID_SENSOR_MAGNETOMETER_3D
  35. depends on HID_SENSOR_HUB
  36. select IIO_BUFFER
  37. select IIO_TRIGGERED_BUFFER
  38. select HID_SENSOR_IIO_COMMON
  39. select HID_SENSOR_IIO_TRIGGER
  40. tristate "HID Magenetometer 3D"
  41. help
  42. Say yes here to build support for the HID SENSOR
  43. Magnetometer 3D.
  44. config IIO_ST_MAGN_3AXIS
  45. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  46. depends on (I2C || SPI_MASTER) && SYSFS
  47. select IIO_ST_SENSORS_CORE
  48. select IIO_ST_MAGN_I2C_3AXIS if (I2C)
  49. select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
  50. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  51. help
  52. Say yes here to build support for STMicroelectronics magnetometers:
  53. LSM303DLHC, LSM303DLM, LIS3MDL.
  54. This driver can also be built as a module. If so, these modules
  55. will be created:
  56. - st_magn (core functions for the driver [it is mandatory]);
  57. - st_magn_i2c (necessary for the I2C devices [optional*]);
  58. - st_magn_spi (necessary for the SPI devices [optional*]);
  59. (*) one of these is necessary to do something.
  60. config IIO_ST_MAGN_I2C_3AXIS
  61. tristate
  62. depends on IIO_ST_MAGN_3AXIS
  63. depends on IIO_ST_SENSORS_I2C
  64. config IIO_ST_MAGN_SPI_3AXIS
  65. tristate
  66. depends on IIO_ST_MAGN_3AXIS
  67. depends on IIO_ST_SENSORS_SPI
  68. endmenu