hwmon.mk 18 KB

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