Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 AK 3-Axis Magnetometer"
  8. depends on I2C
  9. depends on GPIOLIB || COMPILE_TEST
  10. help
  11. Say yes here to build support for Asahi Kasei AK8975, AK8963,
  12. AK09911 or AK09912 3-Axis Magnetometer.
  13. To compile this driver as a module, choose M here: the module
  14. will be called ak8975.
  15. config AK09911
  16. tristate "Asahi Kasei AK09911 3-axis Compass"
  17. depends on I2C
  18. depends on GPIOLIB || COMPILE_TEST
  19. select AK8975
  20. help
  21. Deprecated: AK09911 is now supported by AK8975 driver.
  22. config BMC150_MAGN
  23. tristate "Bosch BMC150 Magnetometer Driver"
  24. depends on I2C
  25. select REGMAP_I2C
  26. select IIO_BUFFER
  27. select IIO_TRIGGERED_BUFFER
  28. help
  29. Say yes here to build support for the BMC150 magnetometer.
  30. Currently this only supports the device via an i2c interface.
  31. This is a combo module with both accelerometer and magnetometer.
  32. This driver is only implementing magnetometer part, which has
  33. its own address and register map.
  34. To compile this driver as a module, choose M here: the module will be
  35. called bmc150_magn.
  36. config MAG3110
  37. tristate "Freescale MAG3110 3-Axis Magnetometer"
  38. depends on I2C
  39. select IIO_BUFFER
  40. select IIO_TRIGGERED_BUFFER
  41. help
  42. Say yes here to build support for the Freescale MAG3110 3-Axis
  43. magnetometer.
  44. To compile this driver as a module, choose M here: the module
  45. will be called mag3110.
  46. config HID_SENSOR_MAGNETOMETER_3D
  47. depends on HID_SENSOR_HUB
  48. select IIO_BUFFER
  49. select IIO_TRIGGERED_BUFFER
  50. select HID_SENSOR_IIO_COMMON
  51. select HID_SENSOR_IIO_TRIGGER
  52. tristate "HID Magenetometer 3D"
  53. help
  54. Say yes here to build support for the HID SENSOR
  55. Magnetometer 3D.
  56. config MMC35240
  57. tristate "MEMSIC MMC35240 3-axis magnetic sensor"
  58. select REGMAP_I2C
  59. depends on I2C
  60. help
  61. Say yes here to build support for the MEMSIC MMC35240 3-axis
  62. magnetic sensor.
  63. To compile this driver as a module, choose M here: the module
  64. will be called mmc35240.
  65. config IIO_ST_MAGN_3AXIS
  66. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  67. depends on (I2C || SPI_MASTER) && SYSFS
  68. select IIO_ST_SENSORS_CORE
  69. select IIO_ST_MAGN_I2C_3AXIS if (I2C)
  70. select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
  71. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  72. help
  73. Say yes here to build support for STMicroelectronics magnetometers:
  74. LSM303DLHC, LSM303DLM, LIS3MDL.
  75. This driver can also be built as a module. If so, these modules
  76. will be created:
  77. - st_magn (core functions for the driver [it is mandatory]);
  78. - st_magn_i2c (necessary for the I2C devices [optional*]);
  79. - st_magn_spi (necessary for the SPI devices [optional*]);
  80. (*) one of these is necessary to do something.
  81. config IIO_ST_MAGN_I2C_3AXIS
  82. tristate
  83. depends on IIO_ST_MAGN_3AXIS
  84. depends on IIO_ST_SENSORS_I2C
  85. config IIO_ST_MAGN_SPI_3AXIS
  86. tristate
  87. depends on IIO_ST_MAGN_3AXIS
  88. depends on IIO_ST_SENSORS_SPI
  89. endmenu