hwmon.mk 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  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 +LINUX_6_6:kmod-regmap-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 +!LINUX_5_15:kmod-regmap-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-coretemp
  63. TITLE:=Intel Core/Core2/Atom temperature sensor
  64. KCONFIG:=CONFIG_SENSORS_CORETEMP
  65. FILES:=$(LINUX_DIR)/drivers/hwmon/coretemp.ko
  66. AUTOLOAD:=$(call AutoProbe,coretemp)
  67. $(call AddDepends/hwmon,@TARGET_x86)
  68. endef
  69. define KernelPackage/hwmon-coretemp/description
  70. Kernel module for Intel Core/Core2/Atom temperature monitoring support.
  71. Most of the family 6 CPUs are supported.
  72. Check Documentation/hwmon/coretemp.rst for details.
  73. endef
  74. $(eval $(call KernelPackage,hwmon-coretemp))
  75. define KernelPackage/hwmon-dme1737
  76. TITLE:=SMSC DME1737 and compatible monitoring support
  77. KCONFIG:=CONFIG_SENSORS_DME1737
  78. FILES:= \
  79. $(LINUX_DIR)/drivers/hwmon/dme1737.ko
  80. AUTOLOAD:=$(call AutoProbe,dme1737)
  81. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  82. endef
  83. define KernelPackage/hwmon-dme1737/description
  84. SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
  85. endef
  86. $(eval $(call KernelPackage,hwmon-dme1737))
  87. define KernelPackage/hwmon-drivetemp
  88. TITLE:=Hard disk drives with temperature sensor
  89. KCONFIG:=CONFIG_SENSORS_DRIVETEMP
  90. FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko
  91. AUTOLOAD:=$(call AutoLoad,60,drivetemp)
  92. $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core)
  93. endef
  94. define KernelPackage/hwmon-drivetemp/description
  95. Kernel module for Hard disk drives with temperature sensor
  96. endef
  97. $(eval $(call KernelPackage,hwmon-drivetemp))
  98. define KernelPackage/hwmon-emc2305
  99. TITLE:=Microchip EMC2301/2/3/5 fan controller
  100. KCONFIG:=CONFIG_SENSORS_EMC2305
  101. FILES:=$(LINUX_DIR)/drivers/hwmon/emc2305.ko
  102. AUTOLOAD:=$(call AutoProbe,emc2305)
  103. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c @LINUX_6_1||LINUX_6_6)
  104. endef
  105. define KernelPackage/hwmon-emc2305/description
  106. Kernel module for Microchip EMC2301/EMC2302/EMC2303/EMC2305 fan controllers
  107. endef
  108. $(eval $(call KernelPackage,hwmon-emc2305))
  109. define KernelPackage/hwmon-gsc
  110. TITLE:=Gateworks System Controller support
  111. KCONFIG:=CONFIG_MFD_GATEWORKS_GSC \
  112. CONFIG_SENSORS_GSC
  113. FILES:= \
  114. $(LINUX_DIR)/drivers/mfd/gateworks-gsc.ko \
  115. $(LINUX_DIR)/drivers/hwmon/gsc-hwmon.ko
  116. AUTOLOAD:=$(call AutoLoad,20,gsc-hwmon,1)
  117. $(call AddDepends/hwmon,+kmod-i2c-core)
  118. endef
  119. define KernelPackage/hwmon-gsc/description
  120. Kernel module for Gateworks System Controller with temperature sensor,
  121. ADCs, and FAN controller
  122. endef
  123. $(eval $(call KernelPackage,hwmon-gsc))
  124. define KernelPackage/hwmon-gpiofan
  125. TITLE:=Generic GPIO FAN support
  126. KCONFIG:=CONFIG_SENSORS_GPIO_FAN
  127. FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
  128. AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
  129. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
  130. endef
  131. define KernelPackage/hwmon-gpiofan/description
  132. Kernel module for GPIO controlled FANs
  133. endef
  134. $(eval $(call KernelPackage,hwmon-gpiofan))
  135. define KernelPackage/hwmon-f71882fg
  136. TITLE:=F71882FG compatible monitoring support
  137. KCONFIG:=CONFIG_SENSORS_F71882FG
  138. FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko
  139. AUTOLOAD:=$(call AutoProbe,f71882fg)
  140. $(call AddDepends/hwmon,@TARGET_x86)
  141. endef
  142. define KernelPackage/hwmon-f71882fg/description
  143. Kernel module for hardware monitoring via many Fintek Super-IO chips.
  144. endef
  145. $(eval $(call KernelPackage,hwmon-f71882fg))
  146. define KernelPackage/hwmon-g762
  147. TITLE:=G762/G763 fan speed PWM controller support
  148. KCONFIG:=CONFIG_SENSORS_G762
  149. FILES:=$(LINUX_DIR)/drivers/hwmon/g762.ko
  150. AUTOLOAD:=$(call AutoProbe,g762)
  151. $(call AddDepends/hwmon,+kmod-i2c-core)
  152. endef
  153. define KernelPackage/hwmon-g762/description
  154. Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
  155. endef
  156. $(eval $(call KernelPackage,hwmon-g762))
  157. define KernelPackage/hwmon-ina209
  158. TITLE:=INA209 monitoring support
  159. KCONFIG:=CONFIG_SENSORS_INA209
  160. FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
  161. AUTOLOAD:=$(call AutoProbe,ina209)
  162. $(call AddDepends/hwmon,+kmod-i2c-core)
  163. endef
  164. define KernelPackage/hwmon-ina209/description
  165. Kernel module for ina209 dc power monitor chips
  166. endef
  167. $(eval $(call KernelPackage,hwmon-ina209))
  168. define KernelPackage/hwmon-ina2xx
  169. TITLE:=INA2XX monitoring support
  170. KCONFIG:=CONFIG_SENSORS_INA2XX
  171. FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
  172. AUTOLOAD:=$(call AutoProbe,ina2xx)
  173. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  174. endef
  175. define KernelPackage/hwmon-ina2xx/description
  176. Kernel module for ina2xx dc current monitor chips
  177. endef
  178. $(eval $(call KernelPackage,hwmon-ina2xx))
  179. define KernelPackage/hwmon-it87
  180. TITLE:=IT87 monitoring support
  181. KCONFIG:=CONFIG_SENSORS_IT87
  182. FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
  183. AUTOLOAD:=$(call AutoProbe,it87)
  184. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
  185. endef
  186. define KernelPackage/hwmon-it87/description
  187. Kernel module for it87 thermal and voltage monitor chip
  188. endef
  189. $(eval $(call KernelPackage,hwmon-it87))
  190. define KernelPackage/hwmon-jc42
  191. TITLE:=Jedec JC42.4 compliant temperature sensors support
  192. KCONFIG:=CONFIG_SENSORS_JC42
  193. FILES:=$(LINUX_DIR)/drivers/hwmon/jc42.ko
  194. AUTOLOAD:=$(call AutoProbe,jc42)
  195. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  196. endef
  197. define KernelPackage/hwmon-jc42/description
  198. Kernel module for Jedec JC42.4 compliant temperature sensors
  199. endef
  200. $(eval $(call KernelPackage,hwmon-jc42))
  201. define KernelPackage/hwmon-lm63
  202. TITLE:=LM63/64 monitoring support
  203. KCONFIG:=CONFIG_SENSORS_LM63
  204. FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
  205. AUTOLOAD:=$(call AutoProbe,lm63)
  206. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  207. endef
  208. define KernelPackage/hwmon-lm63/description
  209. Kernel module for lm63 and lm64 thermal monitor chip
  210. endef
  211. $(eval $(call KernelPackage,hwmon-lm63))
  212. define KernelPackage/hwmon-lm70
  213. TITLE:=LM70 monitoring support
  214. KCONFIG:=CONFIG_SENSORS_LM70 \
  215. CONFIG_SPI=y \
  216. CONFIG_SPI_MASTER=y
  217. FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko
  218. AUTOLOAD:=$(call AutoProbe,lm70)
  219. $(call AddDepends/hwmon)
  220. endef
  221. define KernelPackage/hwmon-lm70/description
  222. Kernel module for lm70 and compatible thermal monitor chip
  223. endef
  224. $(eval $(call KernelPackage,hwmon-lm70))
  225. define KernelPackage/hwmon-lm75
  226. TITLE:=LM75 monitoring support
  227. KCONFIG:=CONFIG_SENSORS_LM75
  228. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  229. AUTOLOAD:=$(call AutoProbe,lm75)
  230. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  231. endef
  232. define KernelPackage/hwmon-lm75/description
  233. Kernel module for lm75 thermal monitor chip
  234. endef
  235. $(eval $(call KernelPackage,hwmon-lm75))
  236. define KernelPackage/hwmon-lm77
  237. TITLE:=LM77 monitoring support
  238. KCONFIG:=CONFIG_SENSORS_LM77
  239. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  240. AUTOLOAD:=$(call AutoProbe,lm77)
  241. $(call AddDepends/hwmon,+kmod-i2c-core)
  242. endef
  243. define KernelPackage/hwmon-lm77/description
  244. Kernel module for LM77 thermal monitor chip
  245. endef
  246. $(eval $(call KernelPackage,hwmon-lm77))
  247. define KernelPackage/hwmon-lm85
  248. TITLE:=LM85 monitoring support
  249. KCONFIG:=CONFIG_SENSORS_LM85
  250. FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
  251. AUTOLOAD:=$(call AutoProbe,lm85)
  252. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  253. endef
  254. define KernelPackage/hwmon-lm85/description
  255. Kernel module for LM85 thermal monitor chip
  256. endef
  257. $(eval $(call KernelPackage,hwmon-lm85))
  258. define KernelPackage/hwmon-lm90
  259. TITLE:=LM90 monitoring support
  260. KCONFIG:=CONFIG_SENSORS_LM90
  261. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  262. AUTOLOAD:=$(call AutoProbe,lm90)
  263. $(call AddDepends/hwmon,+kmod-i2c-core)
  264. endef
  265. define KernelPackage/hwmon-lm90/description
  266. Kernel module for LM90 thermal monitor chip
  267. endef
  268. $(eval $(call KernelPackage,hwmon-lm90))
  269. define KernelPackage/hwmon-lm92
  270. TITLE:=LM92 monitoring support
  271. KCONFIG:=CONFIG_SENSORS_LM92
  272. FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
  273. AUTOLOAD:=$(call AutoProbe,lm92)
  274. $(call AddDepends/hwmon,+kmod-i2c-core)
  275. endef
  276. define KernelPackage/hwmon-lm92/description
  277. Kernel module for LM92 thermal monitor chip
  278. endef
  279. $(eval $(call KernelPackage,hwmon-lm92))
  280. define KernelPackage/hwmon-lm95241
  281. TITLE:=LM95241 monitoring support
  282. KCONFIG:=CONFIG_SENSORS_LM95241
  283. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  284. AUTOLOAD:=$(call AutoProbe,lm95241)
  285. $(call AddDepends/hwmon,+kmod-i2c-core)
  286. endef
  287. define KernelPackage/hwmon-lm95241/description
  288. Kernel module for LM95241 thermal monitor chip
  289. endef
  290. $(eval $(call KernelPackage,hwmon-lm95241))
  291. define KernelPackage/hwmon-ltc4151
  292. TITLE:=LTC4151 monitoring support
  293. KCONFIG:=CONFIG_SENSORS_LTC4151
  294. FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
  295. AUTOLOAD:=$(call AutoProbe,ltc4151)
  296. $(call AddDepends/hwmon,+kmod-i2c-core)
  297. endef
  298. define KernelPackage/hwmon-ltc4151/description
  299. Kernel module for Linear Technology LTC4151 current and voltage monitor chip
  300. endef
  301. $(eval $(call KernelPackage,hwmon-ltc4151))
  302. define KernelPackage/hwmon-max6642
  303. TITLE:=MAX6642 monitoring support
  304. KCONFIG:=CONFIG_SENSORS_MAX6642
  305. FILES:=$(LINUX_DIR)/drivers/hwmon/max6642.ko
  306. AUTOLOAD:=$(call AutoLoad,60,max6642 max6642)
  307. $(call AddDepends/hwmon,+kmod-i2c-core)
  308. endef
  309. define KernelPackage/hwmon-max6642/description
  310. Kernel module for Maxim MAX6642 temperature monitor
  311. endef
  312. $(eval $(call KernelPackage,hwmon-max6642))
  313. define KernelPackage/hwmon-max6697
  314. TITLE:=MAX6697 monitoring support
  315. KCONFIG:=CONFIG_SENSORS_MAX6697
  316. FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
  317. AUTOLOAD:=$(call AutoProbe,max6697)
  318. $(call AddDepends/hwmon,+kmod-i2c-core)
  319. endef
  320. define KernelPackage/hwmon-max6697/description
  321. Kernel module for Maxim MAX6697 temperature monitor
  322. endef
  323. $(eval $(call KernelPackage,hwmon-max6697))
  324. define KernelPackage/hwmon-mcp3021
  325. TITLE:=MCP3021/3221 monitoring support
  326. KCONFIG:=CONFIG_SENSORS_MCP3021
  327. FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
  328. AUTOLOAD:=$(call AutoProbe,mcp3021)
  329. $(call AddDepends/hwmon,+kmod-i2c-core)
  330. endef
  331. define KernelPackage/hwmon-mcp3021/description
  332. Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
  333. endef
  334. $(eval $(call KernelPackage,hwmon-mcp3021))
  335. define KernelPackage/hwmon-nct6775
  336. TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
  337. KCONFIG:=CONFIG_SENSORS_NCT6775
  338. FILES:= \
  339. $(LINUX_DIR)/drivers/hwmon/nct6775.ko \
  340. $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko
  341. AUTOLOAD:=$(call AutoProbe,nct6775)
  342. $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +kmod-regmap-core)
  343. endef
  344. define KernelPackage/hwmon-nct6775/description
  345. Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
  346. endef
  347. $(eval $(call KernelPackage,hwmon-nct6775))
  348. define KernelPackage/hwmon-nct7802
  349. TITLE:=NCT7802Y and compatibles monitoring support
  350. KCONFIG:=CONFIG_SENSORS_NCT7802
  351. FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
  352. AUTOLOAD:=$(call AutoProbe,nct7802)
  353. $(call AddDepends/hwmon,+kmod-regmap-i2c)
  354. endef
  355. define KernelPackage/hwmon-nct7802/description
  356. Kernel module for NCT7802Y thermal monitor chip
  357. endef
  358. $(eval $(call KernelPackage,hwmon-nct7802))
  359. define KernelPackage/hwmon-pc87360
  360. TITLE:=PC87360 monitoring support
  361. KCONFIG:=CONFIG_SENSORS_PC87360
  362. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
  363. AUTOLOAD:=$(call AutoProbe,pc87360)
  364. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  365. endef
  366. define KernelPackage/hwmon-pc87360/description
  367. Kernel modules for PC87360 chips
  368. endef
  369. $(eval $(call KernelPackage,hwmon-pc87360))
  370. define KernelPackage/pmbus-core
  371. TITLE:=PMBus support
  372. KCONFIG:= CONFIG_PMBUS
  373. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
  374. $(call AddDepends/hwmon,+kmod-i2c-core)
  375. endef
  376. define KernelPackage/pmbus-core/description
  377. Kernel modules for Power Management Bus
  378. endef
  379. $(eval $(call KernelPackage,pmbus-core))
  380. define KernelPackage/pmbus-zl6100
  381. TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
  382. KCONFIG:=CONFIG_SENSORS_ZL6100
  383. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
  384. AUTOLOAD:=$(call AutoProbe,zl6100)
  385. $(call AddDepends/hwmon, +kmod-pmbus-core)
  386. endef
  387. define KernelPackage/pmbus-zl6100/description
  388. Kernel module for Intersil / Zilker Labs ZL6100 and
  389. compatible digital DC-DC controllers
  390. endef
  391. $(eval $(call KernelPackage,pmbus-zl6100))
  392. define KernelPackage/hwmon-pwmfan
  393. TITLE:=Generic PWM FAN support
  394. KCONFIG:=CONFIG_SENSORS_PWM_FAN
  395. FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
  396. AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
  397. $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
  398. endef
  399. define KernelPackage/hwmon-pwmfan/description
  400. Kernel module for PWM controlled FANs
  401. endef
  402. $(eval $(call KernelPackage,hwmon-pwmfan))
  403. define KernelPackage/hwmon-sch5627
  404. TITLE:=SMSC SCH5627 monitoring support
  405. KCONFIG:= \
  406. CONFIG_SENSORS_SCH5627 \
  407. CONFIG_WATCHDOG_CORE=y
  408. FILES:= \
  409. $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
  410. $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
  411. AUTOLOAD:=$(call AutoProbe,sch5627)
  412. $(call AddDepends/hwmon,+kmod-i2c-core)
  413. endef
  414. define KernelPackage/hwmon-sch5627/description
  415. SMSC SCH5627 Super I/O chips include complete hardware monitoring
  416. endef
  417. $(eval $(call KernelPackage,hwmon-sch5627))
  418. define KernelPackage/hwmon-sht21
  419. TITLE:=Sensiron SHT21 and compat. monitoring support
  420. KCONFIG:=CONFIG_SENSORS_SHT21
  421. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  422. AUTOLOAD:=$(call AutoProbe,sht21)
  423. $(call AddDepends/hwmon,+kmod-i2c-core)
  424. endef
  425. define KernelPackage/hwmon-sht21/description
  426. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  427. endef
  428. $(eval $(call KernelPackage,hwmon-sht21))
  429. define KernelPackage/hwmon-sht3x
  430. TITLE:=Sensiron SHT3x and compat. monitoring support
  431. KCONFIG:=CONFIG_SENSORS_SHT3x
  432. FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
  433. AUTOLOAD:=$(call AutoProbe,sht3x)
  434. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
  435. endef
  436. define KernelPackage/hwmon-sht3x/description
  437. Kernel module for Sensirion SHT3x temperature and humidity sensors chip
  438. endef
  439. $(eval $(call KernelPackage,hwmon-sht3x))
  440. define KernelPackage/hwmon-tc654
  441. TITLE:=TC654 monitoring support
  442. KCONFIG:=CONFIG_SENSORS_TC654
  443. FILES:=$(LINUX_DIR)/drivers/hwmon/tc654.ko
  444. AUTOLOAD:=$(call AutoLoad,60,tc654)
  445. $(call AddDepends/hwmon,+kmod-i2c-core)
  446. endef
  447. define KernelPackage/hwmon-tc654/description
  448. Kernel module for Microchip TC654/TC655 and compatibles
  449. endef
  450. $(eval $(call KernelPackage,hwmon-tc654))
  451. define KernelPackage/hwmon-tmp102
  452. TITLE:=Texas Instruments TMP102 monitoring support
  453. KCONFIG:=CONFIG_SENSORS_TMP102
  454. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
  455. AUTOLOAD:=$(call AutoProbe,tmp102)
  456. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  457. endef
  458. define KernelPackage/hwmon-tmp102/description
  459. Kernel module for Texas Instruments TMP102 temperature sensors chip
  460. endef
  461. $(eval $(call KernelPackage,hwmon-tmp102))
  462. define KernelPackage/hwmon-tmp103
  463. TITLE:=Texas Instruments TMP103 monitoring support
  464. KCONFIG:=CONFIG_SENSORS_TMP103
  465. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
  466. AUTOLOAD:=$(call AutoProbe,tmp103)
  467. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  468. endef
  469. define KernelPackage/hwmon-tmp103/description
  470. Kernel module for Texas Instruments TMP103 temperature sensors chip
  471. endef
  472. $(eval $(call KernelPackage,hwmon-tmp103))
  473. define KernelPackage/hwmon-tmp421
  474. TITLE:=TI TMP421 and compatible monitoring support
  475. KCONFIG:=CONFIG_SENSORS_TMP421
  476. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
  477. AUTOLOAD:=$(call AutoLoad,60,tmp421)
  478. $(call AddDepends/hwmon,+kmod-i2c-core)
  479. endef
  480. define KernelPackage/hwmon-tmp421/description
  481. Kernel module for the Texas Instruments TMP421 and compatible chips.
  482. endef
  483. $(eval $(call KernelPackage,hwmon-tmp421))
  484. define KernelPackage/hwmon-tps23861
  485. TITLE:=Texas Instruments TPS23861 PoE PSE
  486. KCONFIG:=CONFIG_SENSORS_TPS23861
  487. FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
  488. AUTOLOAD:=$(call AutoProbe,tps23861)
  489. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  490. endef
  491. define KernelPackage/hwmon-tps23861/description
  492. Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
  493. endef
  494. $(eval $(call KernelPackage,hwmon-tps23861))
  495. define KernelPackage/hwmon-vid
  496. TITLE:=VID/VRM/VRD voltage conversion module.
  497. KCONFIG:=CONFIG_HWMON_VID
  498. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  499. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  500. $(call AddDepends/hwmon,)
  501. endef
  502. define KernelPackage/hwmon-vid/description
  503. VID/VRM/VRD voltage conversion module for hardware monitoring
  504. endef
  505. $(eval $(call KernelPackage,hwmon-vid))
  506. define KernelPackage/hwmon-w83627ehf
  507. TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
  508. KCONFIG:=CONFIG_SENSORS_W83627EHF
  509. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
  510. AUTOLOAD:=$(call AutoProbe,w83627ehf)
  511. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  512. endef
  513. define KernelPackage/hwmon-w83627ehf/description
  514. Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
  515. Support for NCT6775F and NCT6776F has been removed from this driver in favour of
  516. using the nct6775 driver to handle those chips.
  517. endef
  518. $(eval $(call KernelPackage,hwmon-w83627ehf))
  519. define KernelPackage/hwmon-w83627hf
  520. TITLE:=Winbond W83627HF monitoring support
  521. KCONFIG:=CONFIG_SENSORS_W83627HF
  522. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  523. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  524. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  525. endef
  526. define KernelPackage/hwmon-w83627hf/description
  527. Kernel module for the Winbond W83627HF chips.
  528. endef
  529. $(eval $(call KernelPackage,hwmon-w83627hf))
  530. define KernelPackage/hwmon-w83793
  531. TITLE:=Winbond W83793G/R monitoring support
  532. KCONFIG:=CONFIG_SENSORS_W83793
  533. FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
  534. AUTOLOAD:=$(call AutoProbe,w83793)
  535. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  536. endef
  537. define KernelPackage/hwmon-w83793/description
  538. Kernel module for the Winbond W83793G and W83793R chips.
  539. endef
  540. $(eval $(call KernelPackage,hwmon-w83793))
  541. define KernelPackage/hwmon-adcxx
  542. TITLE:=ADCxx monitoring support
  543. KCONFIG:=CONFIG_SENSORS_ADCXX
  544. FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
  545. AUTOLOAD:=$(call AutoLoad,60,adcxx)
  546. $(call AddDepends/hwmon,)
  547. endef
  548. define KernelPackage/hwmon-adcxx/description
  549. Kernel module for the National Semiconductor
  550. ADC<bb><c>S<sss> chip family, where
  551. * bb is the resolution in number of bits (8, 10, 12)
  552. * c is the number of channels (1, 2, 4, 8)
  553. * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
  554. kSPS and 101 for 1 MSPS)
  555. Examples : ADC081S101, ADC124S501, ...
  556. endef
  557. $(eval $(call KernelPackage,hwmon-adcxx))