hwmon.mk 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  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-lm75
  163. TITLE:=LM75 monitoring support
  164. KCONFIG:=CONFIG_SENSORS_LM75
  165. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  166. AUTOLOAD:=$(call AutoProbe,lm75)
  167. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  168. endef
  169. define KernelPackage/hwmon-lm75/description
  170. Kernel module for lm75 thermal monitor chip
  171. endef
  172. $(eval $(call KernelPackage,hwmon-lm75))
  173. define KernelPackage/hwmon-lm77
  174. TITLE:=LM77 monitoring support
  175. KCONFIG:=CONFIG_SENSORS_LM77
  176. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  177. AUTOLOAD:=$(call AutoProbe,lm77)
  178. $(call AddDepends/hwmon,+kmod-i2c-core)
  179. endef
  180. define KernelPackage/hwmon-lm77/description
  181. Kernel module for LM77 thermal monitor chip
  182. endef
  183. $(eval $(call KernelPackage,hwmon-lm77))
  184. define KernelPackage/hwmon-lm85
  185. TITLE:=LM85 monitoring support
  186. KCONFIG:=CONFIG_SENSORS_LM85
  187. FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
  188. AUTOLOAD:=$(call AutoProbe,lm85)
  189. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  190. endef
  191. define KernelPackage/hwmon-lm85/description
  192. Kernel module for LM85 thermal monitor chip
  193. endef
  194. $(eval $(call KernelPackage,hwmon-lm85))
  195. define KernelPackage/hwmon-lm90
  196. TITLE:=LM90 monitoring support
  197. KCONFIG:=CONFIG_SENSORS_LM90
  198. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  199. AUTOLOAD:=$(call AutoProbe,lm90)
  200. $(call AddDepends/hwmon,+kmod-i2c-core)
  201. endef
  202. define KernelPackage/hwmon-lm90/description
  203. Kernel module for LM90 thermal monitor chip
  204. endef
  205. $(eval $(call KernelPackage,hwmon-lm90))
  206. define KernelPackage/hwmon-lm92
  207. TITLE:=LM92 monitoring support
  208. KCONFIG:=CONFIG_SENSORS_LM92
  209. FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
  210. AUTOLOAD:=$(call AutoProbe,lm92)
  211. $(call AddDepends/hwmon,+kmod-i2c-core)
  212. endef
  213. define KernelPackage/hwmon-lm92/description
  214. Kernel module for LM92 thermal monitor chip
  215. endef
  216. $(eval $(call KernelPackage,hwmon-lm92))
  217. define KernelPackage/hwmon-lm95241
  218. TITLE:=LM95241 monitoring support
  219. KCONFIG:=CONFIG_SENSORS_LM95241
  220. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  221. AUTOLOAD:=$(call AutoProbe,lm95241)
  222. $(call AddDepends/hwmon,+kmod-i2c-core)
  223. endef
  224. define KernelPackage/hwmon-lm95241/description
  225. Kernel module for LM95241 thermal monitor chip
  226. endef
  227. $(eval $(call KernelPackage,hwmon-lm95241))
  228. define KernelPackage/hwmon-ltc4151
  229. TITLE:=LTC4151 monitoring support
  230. KCONFIG:=CONFIG_SENSORS_LTC4151
  231. FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
  232. AUTOLOAD:=$(call AutoProbe,ltc4151)
  233. $(call AddDepends/hwmon,+kmod-i2c-core)
  234. endef
  235. define KernelPackage/hwmon-ltc4151/description
  236. Kernel module for Linear Technology LTC4151 current and voltage monitor chip
  237. endef
  238. $(eval $(call KernelPackage,hwmon-ltc4151))
  239. define KernelPackage/hwmon-mcp3021
  240. TITLE:=MCP3021/3221 monitoring support
  241. KCONFIG:=CONFIG_SENSORS_MCP3021
  242. FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
  243. AUTOLOAD:=$(call AutoProbe,mcp3021)
  244. $(call AddDepends/hwmon,+kmod-i2c-core)
  245. endef
  246. define KernelPackage/hwmon-mcp3021/description
  247. Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
  248. endef
  249. $(eval $(call KernelPackage,hwmon-mcp3021))
  250. define KernelPackage/hwmon-nct6775
  251. TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
  252. KCONFIG:=CONFIG_SENSORS_NCT6775
  253. FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
  254. AUTOLOAD:=$(call AutoProbe,nct6775)
  255. $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
  256. endef
  257. define KernelPackage/hwmon-nct6775/description
  258. Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
  259. endef
  260. $(eval $(call KernelPackage,hwmon-nct6775))
  261. define KernelPackage/hwmon-nct7802
  262. TITLE:=NCT7802Y and compatibles monitoring support
  263. KCONFIG:=CONFIG_SENSORS_NCT7802
  264. FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
  265. AUTOLOAD:=$(call AutoProbe,nct7802)
  266. $(call AddDepends/hwmon,+kmod-regmap-i2c)
  267. endef
  268. define KernelPackage/hwmon-nct7802/description
  269. Kernel module for NCT7802Y thermal monitor chip
  270. endef
  271. $(eval $(call KernelPackage,hwmon-nct7802))
  272. define KernelPackage/hwmon-pc87360
  273. TITLE:=PC87360 monitoring support
  274. KCONFIG:=CONFIG_SENSORS_PC87360
  275. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
  276. AUTOLOAD:=$(call AutoProbe,pc87360)
  277. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  278. endef
  279. define KernelPackage/hwmon-pc87360/description
  280. Kernel modules for PC87360 chips
  281. endef
  282. $(eval $(call KernelPackage,hwmon-pc87360))
  283. define KernelPackage/pmbus-core
  284. TITLE:=PMBus support
  285. KCONFIG:= CONFIG_PMBUS
  286. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
  287. $(call AddDepends/hwmon,+kmod-i2c-core)
  288. endef
  289. define KernelPackage/pmbus-core/description
  290. Kernel modules for Power Management Bus
  291. endef
  292. $(eval $(call KernelPackage,pmbus-core))
  293. define KernelPackage/pmbus-zl6100
  294. TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
  295. KCONFIG:=CONFIG_SENSORS_ZL6100
  296. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
  297. AUTOLOAD:=$(call AutoProbe,zl6100)
  298. $(call AddDepends/hwmon, +kmod-pmbus-core)
  299. endef
  300. define KernelPackage/pmbus-zl6100/description
  301. Kernel module for Intersil / Zilker Labs ZL6100 and
  302. compatible digital DC-DC controllers
  303. endef
  304. $(eval $(call KernelPackage,pmbus-zl6100))
  305. define KernelPackage/hwmon-pwmfan
  306. TITLE:=Generic PWM FAN support
  307. KCONFIG:=CONFIG_SENSORS_PWM_FAN
  308. FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
  309. AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
  310. $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
  311. endef
  312. define KernelPackage/hwmon-pwmfan/description
  313. Kernel module for PWM controlled FANs
  314. endef
  315. $(eval $(call KernelPackage,hwmon-pwmfan))
  316. define KernelPackage/hwmon-sch5627
  317. TITLE:=SMSC SCH5627 monitoring support
  318. KCONFIG:= \
  319. CONFIG_SENSORS_SCH5627 \
  320. CONFIG_WATCHDOG_CORE=y
  321. FILES:= \
  322. $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
  323. $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
  324. AUTOLOAD:=$(call AutoProbe,sch5627)
  325. $(call AddDepends/hwmon,+kmod-i2c-core)
  326. endef
  327. define KernelPackage/hwmon-sch5627/description
  328. SMSC SCH5627 Super I/O chips include complete hardware monitoring
  329. endef
  330. $(eval $(call KernelPackage,hwmon-sch5627))
  331. define KernelPackage/hwmon-sht21
  332. TITLE:=Sensiron SHT21 and compat. monitoring support
  333. KCONFIG:=CONFIG_SENSORS_SHT21
  334. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  335. AUTOLOAD:=$(call AutoProbe,sht21)
  336. $(call AddDepends/hwmon,+kmod-i2c-core)
  337. endef
  338. define KernelPackage/hwmon-sht21/description
  339. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  340. endef
  341. $(eval $(call KernelPackage,hwmon-sht21))
  342. define KernelPackage/hwmon-tmp102
  343. TITLE:=Texas Instruments TMP102 monitoring support
  344. KCONFIG:=CONFIG_SENSORS_TMP102
  345. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
  346. AUTOLOAD:=$(call AutoProbe,tmp102)
  347. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  348. endef
  349. define KernelPackage/hwmon-tmp102/description
  350. Kernel module for Texas Instruments TMP102 temperature sensors chip
  351. endef
  352. $(eval $(call KernelPackage,hwmon-tmp102))
  353. define KernelPackage/hwmon-tmp103
  354. TITLE:=Texas Instruments TMP103 monitoring support
  355. KCONFIG:=CONFIG_SENSORS_TMP103
  356. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
  357. AUTOLOAD:=$(call AutoProbe,tmp103)
  358. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  359. endef
  360. define KernelPackage/hwmon-tmp103/description
  361. Kernel module for Texas Instruments TMP103 temperature sensors chip
  362. endef
  363. $(eval $(call KernelPackage,hwmon-tmp103))
  364. define KernelPackage/hwmon-tmp421
  365. TITLE:=TI TMP421 and compatible monitoring support
  366. KCONFIG:=CONFIG_SENSORS_TMP421
  367. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
  368. AUTOLOAD:=$(call AutoLoad,60,tmp421)
  369. $(call AddDepends/hwmon,+kmod-i2c-core)
  370. endef
  371. define KernelPackage/hwmon-tmp421/description
  372. Kernel module for the Texas Instruments TMP421 and compatible chips.
  373. endef
  374. $(eval $(call KernelPackage,hwmon-tmp421))
  375. define KernelPackage/hwmon-vid
  376. TITLE:=VID/VRM/VRD voltage conversion module.
  377. KCONFIG:=CONFIG_HWMON_VID
  378. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  379. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  380. $(call AddDepends/hwmon,)
  381. endef
  382. define KernelPackage/hwmon-vid/description
  383. VID/VRM/VRD voltage conversion module for hardware monitoring
  384. endef
  385. $(eval $(call KernelPackage,hwmon-vid))
  386. define KernelPackage/hwmon-w83627ehf
  387. TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
  388. KCONFIG:=CONFIG_SENSORS_W83627EHF
  389. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
  390. AUTOLOAD:=$(call AutoProbe,w83627ehf)
  391. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  392. endef
  393. define KernelPackage/hwmon-w83627ehf/description
  394. Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
  395. Support for NCT6775F and NCT6776F has been removed from this driver in favour of
  396. using the nct6775 driver to handle those chips.
  397. endef
  398. $(eval $(call KernelPackage,hwmon-w83627ehf))
  399. define KernelPackage/hwmon-w83627hf
  400. TITLE:=Winbond W83627HF monitoring support
  401. KCONFIG:=CONFIG_SENSORS_W83627HF
  402. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  403. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  404. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  405. endef
  406. define KernelPackage/hwmon-w83627hf/description
  407. Kernel module for the Winbond W83627HF chips.
  408. endef
  409. $(eval $(call KernelPackage,hwmon-w83627hf))
  410. define KernelPackage/hwmon-w83793
  411. TITLE:=Winbond W83793G/R monitoring support
  412. KCONFIG:=CONFIG_SENSORS_W83793
  413. FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
  414. AUTOLOAD:=$(call AutoProbe,w83793)
  415. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  416. endef
  417. define KernelPackage/hwmon-w83793/description
  418. Kernel module for the Winbond W83793G and W83793R chips.
  419. endef
  420. $(eval $(call KernelPackage,hwmon-w83793))
  421. define KernelPackage/hwmon-adcxx
  422. TITLE:=ADCxx monitoring support
  423. KCONFIG:=CONFIG_SENSORS_ADCXX
  424. FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
  425. AUTOLOAD:=$(call AutoLoad,60,adcxx)
  426. $(call AddDepends/hwmon,)
  427. endef
  428. define KernelPackage/hwmon-adcxx/description
  429. Kernel module for the National Semiconductor
  430. ADC<bb><c>S<sss> chip family, where
  431. * bb is the resolution in number of bits (8, 10, 12)
  432. * c is the number of channels (1, 2, 4, 8)
  433. * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
  434. kSPS and 101 for 1 MSPS)
  435. Examples : ADC081S101, ADC124S501, ...
  436. endef
  437. $(eval $(call KernelPackage,hwmon-adcxx))