hwmon.mk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. #
  2. # Copyright (C) 2006-2014 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-ad7418
  26. TITLE:=AD741x monitoring support
  27. KCONFIG:=CONFIG_SENSORS_AD7418
  28. FILES:=$(LINUX_DIR)/drivers/hwmon/ad7418.ko
  29. AUTOLOAD:=$(call AutoLoad,60,ad7418 ad7418)
  30. $(call AddDepends/hwmon,+kmod-i2c-core)
  31. endef
  32. define KernelPackage/hwmon-ad7418/description
  33. Kernel module for Analog Devices AD7416, AD7417 and AD7418 temperature monitor chip
  34. endef
  35. $(eval $(call KernelPackage,hwmon-ad7418))
  36. define KernelPackage/hwmon-adt7410
  37. TITLE:=ADT7410 monitoring support
  38. KCONFIG:= \
  39. CONFIG_SENSORS_ADT7X10 \
  40. CONFIG_SENSORS_ADT7410
  41. FILES:= \
  42. $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
  43. $(LINUX_DIR)/drivers/hwmon/adt7410.ko
  44. AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
  45. $(call AddDepends/hwmon,+kmod-i2c-core)
  46. endef
  47. define KernelPackage/hwmon-adt7410/description
  48. Kernel module for ADT7410/7420 I2C thermal monitor chip
  49. endef
  50. $(eval $(call KernelPackage,hwmon-adt7410))
  51. define KernelPackage/hwmon-adt7475
  52. TITLE:=ADT7473/7475/7476/7490 monitoring support
  53. KCONFIG:=CONFIG_SENSORS_ADT7475
  54. FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
  55. AUTOLOAD:=$(call AutoProbe,adt7475)
  56. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  57. endef
  58. define KernelPackage/hwmon-adt7475/description
  59. Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
  60. endef
  61. $(eval $(call KernelPackage,hwmon-adt7475))
  62. define KernelPackage/hwmon-dme1737
  63. TITLE:=SMSC DME1737 and compatible monitoring support
  64. KCONFIG:=CONFIG_SENSORS_DME1737
  65. FILES:= \
  66. $(LINUX_DIR)/drivers/hwmon/dme1737.ko
  67. AUTOLOAD:=$(call AutoProbe,dme1737)
  68. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  69. endef
  70. define KernelPackage/hwmon-dme1737/description
  71. SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
  72. endef
  73. $(eval $(call KernelPackage,hwmon-dme1737))
  74. define KernelPackage/hwmon-drivetemp
  75. TITLE:=Hard disk drives with temperature sensor
  76. KCONFIG:=CONFIG_SENSORS_DRIVETEMP
  77. FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko
  78. AUTOLOAD:=$(call AutoLoad,60,drivetemp)
  79. $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core)
  80. endef
  81. define KernelPackage/hwmon-drivetemp/description
  82. Kernel module for Hard disk drives with temperature sensor
  83. endef
  84. $(eval $(call KernelPackage,hwmon-drivetemp))
  85. define KernelPackage/hwmon-gpiofan
  86. TITLE:=Generic GPIO FAN support
  87. KCONFIG:=CONFIG_SENSORS_GPIO_FAN
  88. FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
  89. AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
  90. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
  91. endef
  92. define KernelPackage/hwmon-gpiofan/description
  93. Kernel module for GPIO controlled FANs
  94. endef
  95. $(eval $(call KernelPackage,hwmon-gpiofan))
  96. define KernelPackage/hwmon-f71882fg
  97. TITLE:=F71882FG compatible monitoring support
  98. KCONFIG:=CONFIG_SENSORS_F71882FG
  99. FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko
  100. AUTOLOAD:=$(call AutoProbe,f71882fg)
  101. $(call AddDepends/hwmon,@TARGET_x86)
  102. endef
  103. define KernelPackage/hwmon-f71882fg/description
  104. Kernel module for hardware monitoring via many Fintek Super-IO chips.
  105. endef
  106. $(eval $(call KernelPackage,hwmon-f71882fg))
  107. define KernelPackage/hwmon-g762
  108. TITLE:=G762/G763 fan speed PWM controller support
  109. KCONFIG:=CONFIG_SENSORS_G762
  110. FILES:=$(LINUX_DIR)/drivers/hwmon/g762.ko
  111. AUTOLOAD:=$(call AutoProbe,g762)
  112. $(call AddDepends/hwmon,+kmod-i2c-core)
  113. endef
  114. define KernelPackage/hwmon-g762/description
  115. Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
  116. endef
  117. $(eval $(call KernelPackage,hwmon-g762))
  118. define KernelPackage/hwmon-ina209
  119. TITLE:=INA209 monitoring support
  120. KCONFIG:=CONFIG_SENSORS_INA209
  121. FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
  122. AUTOLOAD:=$(call AutoProbe,ina209)
  123. $(call AddDepends/hwmon,+kmod-i2c-core)
  124. endef
  125. define KernelPackage/hwmon-ina209/description
  126. Kernel module for ina209 dc power monitor chips
  127. endef
  128. $(eval $(call KernelPackage,hwmon-ina209))
  129. define KernelPackage/hwmon-ina2xx
  130. TITLE:=INA2XX monitoring support
  131. KCONFIG:=CONFIG_SENSORS_INA2XX
  132. FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
  133. AUTOLOAD:=$(call AutoProbe,ina2xx)
  134. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  135. endef
  136. define KernelPackage/hwmon-ina2xx/description
  137. Kernel module for ina2xx dc current monitor chips
  138. endef
  139. $(eval $(call KernelPackage,hwmon-ina2xx))
  140. define KernelPackage/hwmon-it87
  141. TITLE:=IT87 monitoring support
  142. KCONFIG:=CONFIG_SENSORS_IT87
  143. FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
  144. AUTOLOAD:=$(call AutoProbe,it87)
  145. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
  146. endef
  147. define KernelPackage/hwmon-it87/description
  148. Kernel module for it87 thermal and voltage monitor chip
  149. endef
  150. $(eval $(call KernelPackage,hwmon-it87))
  151. define KernelPackage/hwmon-lm63
  152. TITLE:=LM63/64 monitoring support
  153. KCONFIG:=CONFIG_SENSORS_LM63
  154. FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
  155. AUTOLOAD:=$(call AutoProbe,lm63)
  156. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  157. endef
  158. define KernelPackage/hwmon-lm63/description
  159. Kernel module for lm63 and lm64 thermal monitor chip
  160. endef
  161. $(eval $(call KernelPackage,hwmon-lm63))
  162. define KernelPackage/hwmon-lm70
  163. TITLE:=LM70 monitoring support
  164. KCONFIG:=CONFIG_SENSORS_LM70 \
  165. CONFIG_SPI=y \
  166. CONFIG_SPI_MASTER=y
  167. FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko
  168. AUTOLOAD:=$(call AutoProbe,lm70)
  169. $(call AddDepends/hwmon)
  170. endef
  171. define KernelPackage/hwmon-lm70/description
  172. Kernel module for lm70 and compatible thermal monitor chip
  173. endef
  174. $(eval $(call KernelPackage,hwmon-lm70))
  175. define KernelPackage/hwmon-lm75
  176. TITLE:=LM75 monitoring support
  177. KCONFIG:=CONFIG_SENSORS_LM75
  178. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  179. AUTOLOAD:=$(call AutoProbe,lm75)
  180. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  181. endef
  182. define KernelPackage/hwmon-lm75/description
  183. Kernel module for lm75 thermal monitor chip
  184. endef
  185. $(eval $(call KernelPackage,hwmon-lm75))
  186. define KernelPackage/hwmon-lm77
  187. TITLE:=LM77 monitoring support
  188. KCONFIG:=CONFIG_SENSORS_LM77
  189. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  190. AUTOLOAD:=$(call AutoProbe,lm77)
  191. $(call AddDepends/hwmon,+kmod-i2c-core)
  192. endef
  193. define KernelPackage/hwmon-lm77/description
  194. Kernel module for LM77 thermal monitor chip
  195. endef
  196. $(eval $(call KernelPackage,hwmon-lm77))
  197. define KernelPackage/hwmon-lm85
  198. TITLE:=LM85 monitoring support
  199. KCONFIG:=CONFIG_SENSORS_LM85
  200. FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
  201. AUTOLOAD:=$(call AutoProbe,lm85)
  202. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  203. endef
  204. define KernelPackage/hwmon-lm85/description
  205. Kernel module for LM85 thermal monitor chip
  206. endef
  207. $(eval $(call KernelPackage,hwmon-lm85))
  208. define KernelPackage/hwmon-lm90
  209. TITLE:=LM90 monitoring support
  210. KCONFIG:=CONFIG_SENSORS_LM90
  211. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  212. AUTOLOAD:=$(call AutoProbe,lm90)
  213. $(call AddDepends/hwmon,+kmod-i2c-core)
  214. endef
  215. define KernelPackage/hwmon-lm90/description
  216. Kernel module for LM90 thermal monitor chip
  217. endef
  218. $(eval $(call KernelPackage,hwmon-lm90))
  219. define KernelPackage/hwmon-lm92
  220. TITLE:=LM92 monitoring support
  221. KCONFIG:=CONFIG_SENSORS_LM92
  222. FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
  223. AUTOLOAD:=$(call AutoProbe,lm92)
  224. $(call AddDepends/hwmon,+kmod-i2c-core)
  225. endef
  226. define KernelPackage/hwmon-lm92/description
  227. Kernel module for LM92 thermal monitor chip
  228. endef
  229. $(eval $(call KernelPackage,hwmon-lm92))
  230. define KernelPackage/hwmon-lm95241
  231. TITLE:=LM95241 monitoring support
  232. KCONFIG:=CONFIG_SENSORS_LM95241
  233. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  234. AUTOLOAD:=$(call AutoProbe,lm95241)
  235. $(call AddDepends/hwmon,+kmod-i2c-core)
  236. endef
  237. define KernelPackage/hwmon-lm95241/description
  238. Kernel module for LM95241 thermal monitor chip
  239. endef
  240. $(eval $(call KernelPackage,hwmon-lm95241))
  241. define KernelPackage/hwmon-ltc4151
  242. TITLE:=LTC4151 monitoring support
  243. KCONFIG:=CONFIG_SENSORS_LTC4151
  244. FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
  245. AUTOLOAD:=$(call AutoProbe,ltc4151)
  246. $(call AddDepends/hwmon,+kmod-i2c-core)
  247. endef
  248. define KernelPackage/hwmon-ltc4151/description
  249. Kernel module for Linear Technology LTC4151 current and voltage monitor chip
  250. endef
  251. $(eval $(call KernelPackage,hwmon-ltc4151))
  252. define KernelPackage/hwmon-mcp3021
  253. TITLE:=MCP3021/3221 monitoring support
  254. KCONFIG:=CONFIG_SENSORS_MCP3021
  255. FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
  256. AUTOLOAD:=$(call AutoProbe,mcp3021)
  257. $(call AddDepends/hwmon,+kmod-i2c-core)
  258. endef
  259. define KernelPackage/hwmon-mcp3021/description
  260. Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
  261. endef
  262. $(eval $(call KernelPackage,hwmon-mcp3021))
  263. define KernelPackage/hwmon-nct6775
  264. TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
  265. KCONFIG:=CONFIG_SENSORS_NCT6775
  266. FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
  267. AUTOLOAD:=$(call AutoProbe,nct6775)
  268. $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
  269. endef
  270. define KernelPackage/hwmon-nct6775/description
  271. Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
  272. endef
  273. $(eval $(call KernelPackage,hwmon-nct6775))
  274. define KernelPackage/hwmon-nct7802
  275. TITLE:=NCT7802Y and compatibles monitoring support
  276. KCONFIG:=CONFIG_SENSORS_NCT7802
  277. FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
  278. AUTOLOAD:=$(call AutoProbe,nct7802)
  279. $(call AddDepends/hwmon,+kmod-regmap-i2c)
  280. endef
  281. define KernelPackage/hwmon-nct7802/description
  282. Kernel module for NCT7802Y thermal monitor chip
  283. endef
  284. $(eval $(call KernelPackage,hwmon-nct7802))
  285. define KernelPackage/hwmon-pc87360
  286. TITLE:=PC87360 monitoring support
  287. KCONFIG:=CONFIG_SENSORS_PC87360
  288. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
  289. AUTOLOAD:=$(call AutoProbe,pc87360)
  290. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  291. endef
  292. define KernelPackage/hwmon-pc87360/description
  293. Kernel modules for PC87360 chips
  294. endef
  295. $(eval $(call KernelPackage,hwmon-pc87360))
  296. define KernelPackage/pmbus-core
  297. TITLE:=PMBus support
  298. KCONFIG:= CONFIG_PMBUS
  299. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
  300. $(call AddDepends/hwmon,+kmod-i2c-core)
  301. endef
  302. define KernelPackage/pmbus-core/description
  303. Kernel modules for Power Management Bus
  304. endef
  305. $(eval $(call KernelPackage,pmbus-core))
  306. define KernelPackage/pmbus-zl6100
  307. TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
  308. KCONFIG:=CONFIG_SENSORS_ZL6100
  309. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
  310. AUTOLOAD:=$(call AutoProbe,zl6100)
  311. $(call AddDepends/hwmon, +kmod-pmbus-core)
  312. endef
  313. define KernelPackage/pmbus-zl6100/description
  314. Kernel module for Intersil / Zilker Labs ZL6100 and
  315. compatible digital DC-DC controllers
  316. endef
  317. $(eval $(call KernelPackage,pmbus-zl6100))
  318. define KernelPackage/hwmon-pwmfan
  319. TITLE:=Generic PWM FAN support
  320. KCONFIG:=CONFIG_SENSORS_PWM_FAN
  321. FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
  322. AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
  323. $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
  324. endef
  325. define KernelPackage/hwmon-pwmfan/description
  326. Kernel module for PWM controlled FANs
  327. endef
  328. $(eval $(call KernelPackage,hwmon-pwmfan))
  329. define KernelPackage/hwmon-sch5627
  330. TITLE:=SMSC SCH5627 monitoring support
  331. KCONFIG:= \
  332. CONFIG_SENSORS_SCH5627 \
  333. CONFIG_WATCHDOG_CORE=y
  334. FILES:= \
  335. $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
  336. $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
  337. AUTOLOAD:=$(call AutoProbe,sch5627)
  338. $(call AddDepends/hwmon,+kmod-i2c-core)
  339. endef
  340. define KernelPackage/hwmon-sch5627/description
  341. SMSC SCH5627 Super I/O chips include complete hardware monitoring
  342. endef
  343. $(eval $(call KernelPackage,hwmon-sch5627))
  344. define KernelPackage/hwmon-sht21
  345. TITLE:=Sensiron SHT21 and compat. monitoring support
  346. KCONFIG:=CONFIG_SENSORS_SHT21
  347. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  348. AUTOLOAD:=$(call AutoProbe,sht21)
  349. $(call AddDepends/hwmon,+kmod-i2c-core)
  350. endef
  351. define KernelPackage/hwmon-sht21/description
  352. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  353. endef
  354. $(eval $(call KernelPackage,hwmon-sht21))
  355. define KernelPackage/hwmon-sht3x
  356. TITLE:=Sensiron SHT3x and compat. monitoring support
  357. KCONFIG:=CONFIG_SENSORS_SHT3x
  358. FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
  359. AUTOLOAD:=$(call AutoProbe,sht3x)
  360. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
  361. endef
  362. define KernelPackage/hwmon-sht3x/description
  363. Kernel module for Sensirion SHT3x temperature and humidity sensors chip
  364. endef
  365. $(eval $(call KernelPackage,hwmon-sht3x))
  366. define KernelPackage/hwmon-tmp102
  367. TITLE:=Texas Instruments TMP102 monitoring support
  368. KCONFIG:=CONFIG_SENSORS_TMP102
  369. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
  370. AUTOLOAD:=$(call AutoProbe,tmp102)
  371. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  372. endef
  373. define KernelPackage/hwmon-tmp102/description
  374. Kernel module for Texas Instruments TMP102 temperature sensors chip
  375. endef
  376. $(eval $(call KernelPackage,hwmon-tmp102))
  377. define KernelPackage/hwmon-tmp103
  378. TITLE:=Texas Instruments TMP103 monitoring support
  379. KCONFIG:=CONFIG_SENSORS_TMP103
  380. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
  381. AUTOLOAD:=$(call AutoProbe,tmp103)
  382. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  383. endef
  384. define KernelPackage/hwmon-tmp103/description
  385. Kernel module for Texas Instruments TMP103 temperature sensors chip
  386. endef
  387. $(eval $(call KernelPackage,hwmon-tmp103))
  388. define KernelPackage/hwmon-tmp421
  389. TITLE:=TI TMP421 and compatible monitoring support
  390. KCONFIG:=CONFIG_SENSORS_TMP421
  391. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
  392. AUTOLOAD:=$(call AutoLoad,60,tmp421)
  393. $(call AddDepends/hwmon,+kmod-i2c-core)
  394. endef
  395. define KernelPackage/hwmon-tmp421/description
  396. Kernel module for the Texas Instruments TMP421 and compatible chips.
  397. endef
  398. $(eval $(call KernelPackage,hwmon-tmp421))
  399. define KernelPackage/hwmon-tps23861
  400. TITLE:=Texas Instruments TPS23861 PoE PSE
  401. KCONFIG:=CONFIG_SENSORS_TPS23861
  402. FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
  403. AUTOLOAD:=$(call AutoProbe,tps23861)
  404. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  405. endef
  406. define KernelPackage/hwmon-tps23861/description
  407. Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
  408. endef
  409. $(eval $(call KernelPackage,hwmon-tps23861))
  410. define KernelPackage/hwmon-vid
  411. TITLE:=VID/VRM/VRD voltage conversion module.
  412. KCONFIG:=CONFIG_HWMON_VID
  413. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  414. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  415. $(call AddDepends/hwmon,)
  416. endef
  417. define KernelPackage/hwmon-vid/description
  418. VID/VRM/VRD voltage conversion module for hardware monitoring
  419. endef
  420. $(eval $(call KernelPackage,hwmon-vid))
  421. define KernelPackage/hwmon-w83627ehf
  422. TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
  423. KCONFIG:=CONFIG_SENSORS_W83627EHF
  424. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
  425. AUTOLOAD:=$(call AutoProbe,w83627ehf)
  426. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  427. endef
  428. define KernelPackage/hwmon-w83627ehf/description
  429. Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
  430. Support for NCT6775F and NCT6776F has been removed from this driver in favour of
  431. using the nct6775 driver to handle those chips.
  432. endef
  433. $(eval $(call KernelPackage,hwmon-w83627ehf))
  434. define KernelPackage/hwmon-w83627hf
  435. TITLE:=Winbond W83627HF monitoring support
  436. KCONFIG:=CONFIG_SENSORS_W83627HF
  437. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  438. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  439. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  440. endef
  441. define KernelPackage/hwmon-w83627hf/description
  442. Kernel module for the Winbond W83627HF chips.
  443. endef
  444. $(eval $(call KernelPackage,hwmon-w83627hf))
  445. define KernelPackage/hwmon-w83793
  446. TITLE:=Winbond W83793G/R monitoring support
  447. KCONFIG:=CONFIG_SENSORS_W83793
  448. FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
  449. AUTOLOAD:=$(call AutoProbe,w83793)
  450. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  451. endef
  452. define KernelPackage/hwmon-w83793/description
  453. Kernel module for the Winbond W83793G and W83793R chips.
  454. endef
  455. $(eval $(call KernelPackage,hwmon-w83793))
  456. define KernelPackage/hwmon-adcxx
  457. TITLE:=ADCxx monitoring support
  458. KCONFIG:=CONFIG_SENSORS_ADCXX
  459. FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
  460. AUTOLOAD:=$(call AutoLoad,60,adcxx)
  461. $(call AddDepends/hwmon,)
  462. endef
  463. define KernelPackage/hwmon-adcxx/description
  464. Kernel module for the National Semiconductor
  465. ADC<bb><c>S<sss> chip family, where
  466. * bb is the resolution in number of bits (8, 10, 12)
  467. * c is the number of channels (1, 2, 4, 8)
  468. * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
  469. kSPS and 101 for 1 MSPS)
  470. Examples : ADC081S101, ADC124S501, ...
  471. endef
  472. $(eval $(call KernelPackage,hwmon-adcxx))