hwmon.mk 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. #
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. HWMON_MENU:=Hardware Monitoring Support
  8. define KernelPackage/hwmon-core
  9. SUBMENU:=$(HWMON_MENU)
  10. TITLE:=Hardware monitoring support
  11. KCONFIG:= \
  12. CONFIG_HWMON \
  13. CONFIG_HWMON_DEBUG_CHIP=n
  14. FILES:= \
  15. $(LINUX_DIR)/drivers/hwmon/hwmon.ko
  16. endef
  17. define KernelPackage/hwmon-core/description
  18. Kernel modules for hardware monitoring
  19. endef
  20. $(eval $(call KernelPackage,hwmon-core))
  21. define AddDepends/hwmon
  22. SUBMENU:=$(HWMON_MENU)
  23. DEPENDS:=kmod-hwmon-core $(1)
  24. endef
  25. define KernelPackage/hwmon-vid
  26. TITLE:=VID/VRM/VRD voltage conversion module.
  27. KCONFIG:=CONFIG_HWMON_VID
  28. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  29. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  30. $(call AddDepends/hwmon,)
  31. endef
  32. define KernelPackage/hwmon-vid/description
  33. VID/VRM/VRD voltage conversion module for hardware monitoring
  34. endef
  35. $(eval $(call KernelPackage,hwmon-vid))
  36. define KernelPackage/hwmon-adt7475
  37. TITLE:=ADT7473/7475/7476/7490 monitoring support
  38. KCONFIG:=CONFIG_SENSORS_ADT7475
  39. FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
  40. AUTOLOAD:=$(call AutoProbe,adt7475)
  41. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  42. endef
  43. define KernelPackage/hwmon-adt7475/description
  44. Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
  45. endef
  46. $(eval $(call KernelPackage,hwmon-adt7475))
  47. define KernelPackage/hwmon-ina2xx
  48. TITLE:=INA2XX monitoring support
  49. KCONFIG:=CONFIG_SENSORS_INA2XX
  50. FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
  51. AUTOLOAD:=$(call AutoProbe,ina2xx)
  52. $(call AddDepends/hwmon,+kmod-i2c-core)
  53. endef
  54. define KernelPackage/hwmon-ina2xx/description
  55. Kernel module for ina2xx dc current monitor chips
  56. endef
  57. $(eval $(call KernelPackage,hwmon-ina2xx))
  58. define KernelPackage/hwmon-lm63
  59. TITLE:=LM63/64 monitoring support
  60. KCONFIG:=CONFIG_SENSORS_LM63
  61. FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
  62. AUTOLOAD:=$(call AutoProbe,lm63)
  63. $(call AddDepends/hwmon,+kmod-i2c-core)
  64. endef
  65. define KernelPackage/hwmon-lm63/description
  66. Kernel module for lm63 and lm64 thermal monitor chip
  67. endef
  68. $(eval $(call KernelPackage,hwmon-lm63))
  69. define KernelPackage/hwmon-lm75
  70. TITLE:=LM75 monitoring support
  71. KCONFIG:=CONFIG_SENSORS_LM75
  72. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  73. AUTOLOAD:=$(call AutoProbe,lm75)
  74. $(call AddDepends/hwmon,+kmod-i2c-core)
  75. endef
  76. define KernelPackage/hwmon-lm75/description
  77. Kernel module for lm75 thermal monitor chip
  78. endef
  79. $(eval $(call KernelPackage,hwmon-lm75))
  80. define KernelPackage/hwmon-lm77
  81. TITLE:=LM77 monitoring support
  82. KCONFIG:=CONFIG_SENSORS_LM77
  83. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  84. AUTOLOAD:=$(call AutoProbe,lm77)
  85. $(call AddDepends/hwmon,+kmod-i2c-core)
  86. endef
  87. define KernelPackage/hwmon-lm77/description
  88. Kernel module for LM77 thermal monitor chip
  89. endef
  90. $(eval $(call KernelPackage,hwmon-lm77))
  91. define KernelPackage/hwmon-lm85
  92. TITLE:=LM85 monitoring support
  93. KCONFIG:=CONFIG_SENSORS_LM85
  94. FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
  95. AUTOLOAD:=$(call AutoProbe,lm85)
  96. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  97. endef
  98. define KernelPackage/hwmon-lm85/description
  99. Kernel module for LM85 thermal monitor chip
  100. endef
  101. $(eval $(call KernelPackage,hwmon-lm85))
  102. define KernelPackage/hwmon-lm90
  103. TITLE:=LM90 monitoring support
  104. KCONFIG:=CONFIG_SENSORS_LM90
  105. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  106. AUTOLOAD:=$(call AutoProbe,lm90)
  107. $(call AddDepends/hwmon,+kmod-i2c-core)
  108. endef
  109. define KernelPackage/hwmon-lm90/description
  110. Kernel module for LM90 thermal monitor chip
  111. endef
  112. $(eval $(call KernelPackage,hwmon-lm90))
  113. define KernelPackage/hwmon-lm92
  114. TITLE:=LM92 monitoring support
  115. KCONFIG:=CONFIG_SENSORS_LM92
  116. FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
  117. AUTOLOAD:=$(call AutoProbe,lm92)
  118. $(call AddDepends/hwmon,+kmod-i2c-core)
  119. endef
  120. define KernelPackage/hwmon-lm92/description
  121. Kernel module for LM92 thermal monitor chip
  122. endef
  123. $(eval $(call KernelPackage,hwmon-lm92))
  124. define KernelPackage/hwmon-lm95241
  125. TITLE:=LM95241 monitoring support
  126. KCONFIG:=CONFIG_SENSORS_LM95241
  127. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  128. AUTOLOAD:=$(call AutoProbe,lm95241)
  129. $(call AddDepends/hwmon,+kmod-i2c-core)
  130. endef
  131. define KernelPackage/hwmon-lm95241/description
  132. Kernel module for LM95241 thermal monitor chip
  133. endef
  134. $(eval $(call KernelPackage,hwmon-lm95241))
  135. define KernelPackage/hwmon-sht21
  136. TITLE:=Sensiron SHT21 and compat. monitoring support
  137. KCONFIG:=CONFIG_SENSORS_SHT21
  138. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  139. AUTOLOAD:=$(call AutoProbe,sht21)
  140. $(call AddDepends/hwmon,+kmod-i2c-core)
  141. endef
  142. define KernelPackage/hwmon-sht21/description
  143. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  144. endef
  145. $(eval $(call KernelPackage,hwmon-sht21))
  146. define KernelPackage/hwmon-pc87360
  147. TITLE:=PC87360 monitoring support
  148. KCONFIG:=CONFIG_SENSORS_PC87360
  149. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
  150. AUTOLOAD:=$(call AutoProbe,pc87360)
  151. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  152. endef
  153. define KernelPackage/hwmon-pc87360/description
  154. Kernel modules for PC87360 chips
  155. endef
  156. $(eval $(call KernelPackage,hwmon-pc87360))
  157. define KernelPackage/hwmon-w83627hf
  158. TITLE:=Winbond W83627HF monitoring support
  159. KCONFIG:=CONFIG_SENSORS_W83627HF
  160. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  161. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  162. $(call AddDepends/hwmon,@TARGET_rdc||TARGET_x86 +kmod-hwmon-vid)
  163. endef
  164. define KernelPacakge/hwmon-w83627hf/description
  165. Kernel module for the Winbond W83627HF chips.
  166. endef
  167. $(eval $(call KernelPackage,hwmon-w83627hf))
  168. define KernelPackage/hwmon-gsc
  169. TITLE:=Gateworks GSC monitoring support
  170. KCONFIG:=CONFIG_SENSORS_GSC
  171. FILES:=$(LINUX_DIR)/drivers/hwmon/gsc.ko
  172. AUTOLOAD:=$(call AutoLoad,60,gsc)
  173. $(call AddDepends/hwmon,+kmod-i2c-core)
  174. endef
  175. define KernelPacakge/hwmon-gsc/description
  176. Kernel module for the Gateworks System Controller chips.
  177. endef
  178. $(eval $(call KernelPackage,hwmon-gsc))