2
0

hwmon.mk 21 KB

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