Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. #
  2. # Magnetometer sensors
  3. #
  4. # When adding new entries keep the list in alphabetical order
  5. menu "Magnetometer sensors"
  6. config AK8974
  7. tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
  8. depends on I2C
  9. depends on OF
  10. select REGMAP_I2C
  11. select IIO_BUFFER
  12. select IIO_TRIGGERED_BUFFER
  13. help
  14. Say yes here to build support for Asahi Kasei AK8974, AMI305 or
  15. AMI306 I2C-based 3-axis magnetometer chips.
  16. To compile this driver as a module, choose M here: the module
  17. will be called ak8974.
  18. config AK8975
  19. tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
  20. depends on I2C
  21. depends on GPIOLIB || COMPILE_TEST
  22. select IIO_BUFFER
  23. select IIO_TRIGGERED_BUFFER
  24. help
  25. Say yes here to build support for Asahi Kasei AK8975, AK8963,
  26. AK09911 or AK09912 3-Axis Magnetometer.
  27. To compile this driver as a module, choose M here: the module
  28. will be called ak8975.
  29. config AK09911
  30. tristate "Asahi Kasei AK09911 3-axis Compass"
  31. depends on I2C
  32. depends on GPIOLIB || COMPILE_TEST
  33. select AK8975
  34. help
  35. Deprecated: AK09911 is now supported by AK8975 driver.
  36. config BMC150_MAGN
  37. tristate
  38. select IIO_BUFFER
  39. select IIO_TRIGGERED_BUFFER
  40. config BMC150_MAGN_I2C
  41. tristate "Bosch BMC150 I2C Magnetometer Driver"
  42. depends on I2C
  43. select BMC150_MAGN
  44. select REGMAP_I2C
  45. help
  46. Say yes here to build support for the BMC150 magnetometer with
  47. I2C interface.
  48. This is a combo module with both accelerometer and magnetometer.
  49. This driver is only implementing magnetometer part, which has
  50. its own address and register map.
  51. This driver also supports I2C Bosch BMC156 and BMM150 chips.
  52. To compile this driver as a module, choose M here: the module will be
  53. called bmc150_magn_i2c.
  54. config BMC150_MAGN_SPI
  55. tristate "Bosch BMC150 SPI Magnetometer Driver"
  56. depends on SPI
  57. select BMC150_MAGN
  58. select REGMAP_SPI
  59. help
  60. Say yes here to build support for the BMC150 magnetometer with
  61. SPI interface.
  62. This is a combo module with both accelerometer and magnetometer.
  63. This driver is only implementing magnetometer part, which has
  64. its own address and register map.
  65. This driver also supports SPI Bosch BMC156 and BMM150 chips.
  66. To compile this driver as a module, choose M here: the module will be
  67. called bmc150_magn_spi.
  68. config MAG3110
  69. tristate "Freescale MAG3110 3-Axis Magnetometer"
  70. depends on I2C
  71. select IIO_BUFFER
  72. select IIO_TRIGGERED_BUFFER
  73. help
  74. Say yes here to build support for the Freescale MAG3110 3-Axis
  75. magnetometer.
  76. To compile this driver as a module, choose M here: the module
  77. will be called mag3110.
  78. config HID_SENSOR_MAGNETOMETER_3D
  79. depends on HID_SENSOR_HUB
  80. select IIO_BUFFER
  81. select IIO_TRIGGERED_BUFFER
  82. select HID_SENSOR_IIO_COMMON
  83. select HID_SENSOR_IIO_TRIGGER
  84. tristate "HID Magenetometer 3D"
  85. help
  86. Say yes here to build support for the HID SENSOR
  87. Magnetometer 3D.
  88. config MMC35240
  89. tristate "MEMSIC MMC35240 3-axis magnetic sensor"
  90. select REGMAP_I2C
  91. depends on I2C
  92. help
  93. Say yes here to build support for the MEMSIC MMC35240 3-axis
  94. magnetic sensor.
  95. To compile this driver as a module, choose M here: the module
  96. will be called mmc35240.
  97. config IIO_ST_MAGN_3AXIS
  98. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  99. depends on (I2C || SPI_MASTER) && SYSFS
  100. select IIO_ST_SENSORS_CORE
  101. select IIO_ST_MAGN_I2C_3AXIS if (I2C)
  102. select IIO_ST_MAGN_SPI_3AXIS if (SPI_MASTER)
  103. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  104. help
  105. Say yes here to build support for STMicroelectronics magnetometers:
  106. LSM303DLHC, LSM303DLM, LIS3MDL.
  107. This driver can also be built as a module. If so, these modules
  108. will be created:
  109. - st_magn (core functions for the driver [it is mandatory]);
  110. - st_magn_i2c (necessary for the I2C devices [optional*]);
  111. - st_magn_spi (necessary for the SPI devices [optional*]);
  112. (*) one of these is necessary to do something.
  113. config IIO_ST_MAGN_I2C_3AXIS
  114. tristate
  115. depends on IIO_ST_MAGN_3AXIS
  116. depends on IIO_ST_SENSORS_I2C
  117. config IIO_ST_MAGN_SPI_3AXIS
  118. tristate
  119. depends on IIO_ST_MAGN_3AXIS
  120. depends on IIO_ST_SENSORS_SPI
  121. config SENSORS_HMC5843
  122. tristate
  123. select IIO_BUFFER
  124. select IIO_TRIGGERED_BUFFER
  125. config SENSORS_HMC5843_I2C
  126. tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
  127. depends on I2C
  128. select SENSORS_HMC5843
  129. select REGMAP_I2C
  130. help
  131. Say Y here to add support for the Honeywell HMC5843, HMC5883 and
  132. HMC5883L 3-Axis Magnetometer (digital compass).
  133. This driver can also be compiled as a set of modules.
  134. If so, these modules will be created:
  135. - hmc5843_core (core functions)
  136. - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
  137. config SENSORS_HMC5843_SPI
  138. tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
  139. depends on SPI_MASTER
  140. select SENSORS_HMC5843
  141. select REGMAP_SPI
  142. help
  143. Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
  144. (digital compass).
  145. This driver can also be compiled as a set of modules.
  146. If so, these modules will be created:
  147. - hmc5843_core (core functions)
  148. - hmc5843_spi (support for HMC5983)
  149. endmenu