Kconfig 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Magnetometer sensors
  4. #
  5. # When adding new entries keep the list in alphabetical order
  6. menu "Magnetometer sensors"
  7. config AF8133J
  8. tristate "Voltafield AF8133J 3-Axis Magnetometer"
  9. depends on I2C
  10. depends on OF
  11. select REGMAP_I2C
  12. select IIO_BUFFER
  13. select IIO_TRIGGERED_BUFFER
  14. help
  15. Say yes here to build support for Voltafield AF8133J I2C-based
  16. 3-axis magnetometer chip.
  17. To compile this driver as a module, choose M here: the module
  18. will be called af8133j.
  19. config AK8974
  20. tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
  21. depends on I2C
  22. select REGMAP_I2C
  23. select IIO_BUFFER
  24. select IIO_TRIGGERED_BUFFER
  25. help
  26. Say yes here to build support for Asahi Kasei AK8974, AMI305 or
  27. AMI306 I2C-based 3-axis magnetometer chips.
  28. To compile this driver as a module, choose M here: the module
  29. will be called ak8974.
  30. config AK8975
  31. tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
  32. depends on I2C
  33. depends on GPIOLIB || COMPILE_TEST
  34. select IIO_BUFFER
  35. select IIO_TRIGGERED_BUFFER
  36. help
  37. Say yes here to build support for Asahi Kasei AK8975, AK8963,
  38. AK09911, AK09912, AK09916 or AK09918 3-Axis Magnetometer.
  39. To compile this driver as a module, choose M here: the module
  40. will be called ak8975.
  41. config AK09911
  42. tristate "Asahi Kasei AK09911 3-axis Compass"
  43. depends on I2C
  44. depends on GPIOLIB || COMPILE_TEST
  45. select AK8975
  46. help
  47. Deprecated: AK09911 is now supported by AK8975 driver.
  48. config ALS31300
  49. tristate "Allegro MicroSystems ALS31300 3-D Linear Hall Effect Sensor"
  50. depends on I2C
  51. select REGMAP_I2C
  52. select IIO_BUFFER
  53. select IIO_TRIGGERED_BUFFER
  54. help
  55. Say yes here to build support for the Allegro MicroSystems
  56. ALS31300 Hall Effect Sensor through its I2C interface.
  57. To compile this driver as a module, choose M here: the
  58. module will be called als31300.
  59. config BMC150_MAGN
  60. tristate
  61. select IIO_BUFFER
  62. select IIO_TRIGGERED_BUFFER
  63. config BMC150_MAGN_I2C
  64. tristate "Bosch BMC150 I2C Magnetometer Driver"
  65. depends on I2C
  66. select BMC150_MAGN
  67. select REGMAP_I2C
  68. help
  69. Say yes here to build support for the BMC150 magnetometer with
  70. I2C interface.
  71. This is a combo module with both accelerometer and magnetometer.
  72. This driver is only implementing magnetometer part, which has
  73. its own address and register map.
  74. This driver also supports I2C Bosch BMC156 and BMM150 chips.
  75. To compile this driver as a module, choose M here: the module will be
  76. called bmc150_magn_i2c.
  77. config BMC150_MAGN_SPI
  78. tristate "Bosch BMC150 SPI Magnetometer Driver"
  79. depends on SPI
  80. select BMC150_MAGN
  81. select REGMAP_SPI
  82. help
  83. Say yes here to build support for the BMC150 magnetometer with
  84. SPI interface.
  85. This is a combo module with both accelerometer and magnetometer.
  86. This driver is only implementing magnetometer part, which has
  87. its own address and register map.
  88. This driver also supports SPI Bosch BMC156 and BMM150 chips.
  89. To compile this driver as a module, choose M here: the module will be
  90. called bmc150_magn_spi.
  91. config MAG3110
  92. tristate "Freescale MAG3110 3-Axis Magnetometer"
  93. depends on I2C
  94. select IIO_BUFFER
  95. select IIO_TRIGGERED_BUFFER
  96. help
  97. Say yes here to build support for the Freescale MAG3110 3-Axis
  98. magnetometer.
  99. To compile this driver as a module, choose M here: the module
  100. will be called mag3110.
  101. config HID_SENSOR_MAGNETOMETER_3D
  102. depends on HID_SENSOR_HUB
  103. select IIO_BUFFER
  104. select HID_SENSOR_IIO_COMMON
  105. select HID_SENSOR_IIO_TRIGGER
  106. tristate "HID Magnetometer 3D"
  107. help
  108. Say yes here to build support for the HID SENSOR
  109. Magnetometer 3D.
  110. config MMC35240
  111. tristate "MEMSIC MMC35240 3-axis magnetic sensor"
  112. select REGMAP_I2C
  113. depends on I2C
  114. help
  115. Say yes here to build support for the MEMSIC MMC35240 3-axis
  116. magnetic sensor.
  117. To compile this driver as a module, choose M here: the module
  118. will be called mmc35240.
  119. config MMC5633
  120. tristate "MEMSIC MMC5633 3-axis magnetic sensor"
  121. select REGMAP_I2C
  122. select REGMAP_I3C if I3C
  123. depends on I3C_OR_I2C
  124. help
  125. Say yes here to build support for the MEMSIC MMC5633 3-axis
  126. magnetic sensor.
  127. To compile this driver as a module, choose M here: the module
  128. will be called mmc5633
  129. config IIO_ST_MAGN_3AXIS
  130. tristate "STMicroelectronics magnetometers 3-Axis Driver"
  131. depends on (I2C || SPI_MASTER) && SYSFS
  132. select IIO_ST_SENSORS_CORE
  133. select IIO_TRIGGERED_BUFFER if (IIO_BUFFER)
  134. help
  135. Say yes here to build support for STMicroelectronics magnetometers:
  136. LSM303C, LSM303DLHC, LSM303DLM, LIS3MDL.
  137. Also need to enable at least one of I2C and SPI interface drivers
  138. below.
  139. config IIO_ST_MAGN_I2C_3AXIS
  140. tristate "STMicroelectronics magnetometers 3-Axis I2C Interface"
  141. depends on I2C && IIO_ST_MAGN_3AXIS
  142. default I2C && IIO_ST_MAGN_3AXIS
  143. select IIO_ST_SENSORS_I2C
  144. help
  145. Build support for STMicroelectronics magnetometers I2C interface.
  146. To compile this driver as a module, choose M here. The module
  147. will be called st_magn_i2c.
  148. config IIO_ST_MAGN_SPI_3AXIS
  149. tristate "STMicroelectronics magnetometers 3-Axis SPI Interface"
  150. depends on SPI_MASTER && IIO_ST_MAGN_3AXIS
  151. default SPI_MASTER && IIO_ST_MAGN_3AXIS
  152. select IIO_ST_SENSORS_SPI
  153. help
  154. Build support for STMicroelectronics magnetometers SPI interface.
  155. To compile this driver as a module, choose M here. The module
  156. will be called st_magn_spi.
  157. config INFINEON_TLV493D
  158. tristate "Infineon TLV493D Low-Power 3D Magnetic Sensor"
  159. depends on I2C
  160. select IIO_BUFFER
  161. select IIO_TRIGGERED_BUFFER
  162. help
  163. Say Y here to add support for the Infineon TLV493D-A1B6 Low-
  164. Power 3D Magnetic Sensor.
  165. This driver can also be compiled as a module.
  166. To compile this driver as a module, choose M here: the module
  167. will be called tlv493d.
  168. config SENSORS_HMC5843
  169. tristate
  170. select IIO_BUFFER
  171. select IIO_TRIGGERED_BUFFER
  172. config SENSORS_HMC5843_I2C
  173. tristate "Honeywell HMC5843/5883/5883L 3-Axis Magnetometer (I2C)"
  174. depends on I2C
  175. select SENSORS_HMC5843
  176. select REGMAP_I2C
  177. help
  178. Say Y here to add support for the Honeywell HMC5843, HMC5883 and
  179. HMC5883L 3-Axis Magnetometer (digital compass).
  180. This driver can also be compiled as a set of modules.
  181. If so, these modules will be created:
  182. - hmc5843_core (core functions)
  183. - hmc5843_i2c (support for HMC5843, HMC5883, HMC5883L and HMC5983)
  184. config SENSORS_HMC5843_SPI
  185. tristate "Honeywell HMC5983 3-Axis Magnetometer (SPI)"
  186. depends on SPI_MASTER
  187. select SENSORS_HMC5843
  188. select REGMAP_SPI
  189. help
  190. Say Y here to add support for the Honeywell HMC5983 3-Axis Magnetometer
  191. (digital compass).
  192. This driver can also be compiled as a set of modules.
  193. If so, these modules will be created:
  194. - hmc5843_core (core functions)
  195. - hmc5843_spi (support for HMC5983)
  196. config SENSORS_RM3100
  197. tristate
  198. select IIO_BUFFER
  199. select IIO_TRIGGERED_BUFFER
  200. config SENSORS_RM3100_I2C
  201. tristate "PNI RM3100 3-Axis Magnetometer (I2C)"
  202. depends on I2C
  203. select SENSORS_RM3100
  204. select REGMAP_I2C
  205. help
  206. Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
  207. This driver can also be compiled as a module.
  208. To compile this driver as a module, choose M here: the module
  209. will be called rm3100-i2c.
  210. config SENSORS_RM3100_SPI
  211. tristate "PNI RM3100 3-Axis Magnetometer (SPI)"
  212. depends on SPI_MASTER
  213. select SENSORS_RM3100
  214. select REGMAP_SPI
  215. help
  216. Say Y here to add support for the PNI RM3100 3-Axis Magnetometer.
  217. This driver can also be compiled as a module.
  218. To compile this driver as a module, choose M here: the module
  219. will be called rm3100-spi.
  220. config SI7210
  221. tristate "SI7210 Hall effect sensor"
  222. depends on I2C
  223. select REGMAP_I2C
  224. help
  225. Say Y here to add support for the SI7210 Hall effect sensor.
  226. This driver can also be compiled as a module.
  227. To compile this driver as a module, choose M here: the module
  228. will be called si7210.
  229. config TI_TMAG5273
  230. tristate "TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor"
  231. depends on I2C
  232. select REGMAP_I2C
  233. help
  234. Say Y here to add support for the TI TMAG5273 Low-Power
  235. Linear 3D Hall-Effect Sensor.
  236. This driver can also be compiled as a module.
  237. To compile this driver as a module, choose M here: the module
  238. will be called tmag5273.
  239. config YAMAHA_YAS530
  240. tristate "Yamaha YAS530 family of 3-Axis Magnetometers (I2C)"
  241. depends on I2C
  242. select REGMAP_I2C
  243. select IIO_BUFFER
  244. select IIO_TRIGGERED_BUFFER
  245. help
  246. Say Y here to add support for the Yamaha YAS530 series of
  247. 3-Axis Magnetometers. YAS530, YAS532, YAS533 and YAS537 are
  248. supported.
  249. This driver can also be compiled as a module.
  250. To compile this driver as a module, choose M here: the module
  251. will be called yamaha-yas.
  252. endmenu