2
0

hwmon.mk 21 KB

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