hwmon.mk 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  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-zl6100
  371. TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
  372. KCONFIG:=CONFIG_SENSORS_ZL6100
  373. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
  374. AUTOLOAD:=$(call AutoProbe,zl6100)
  375. $(call AddDepends/hwmon, +kmod-pmbus-core)
  376. endef
  377. define KernelPackage/pmbus-zl6100/description
  378. Kernel module for Intersil / Zilker Labs ZL6100 and
  379. compatible digital DC-DC controllers
  380. endef
  381. $(eval $(call KernelPackage,pmbus-zl6100))
  382. define KernelPackage/hwmon-pwmfan
  383. TITLE:=Generic PWM FAN support
  384. KCONFIG:=CONFIG_SENSORS_PWM_FAN
  385. FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
  386. AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
  387. $(call AddDepends/hwmon,@PWM_SUPPORT +PACKAGE_kmod-thermal:kmod-thermal)
  388. endef
  389. define KernelPackage/hwmon-pwmfan/description
  390. Kernel module for PWM controlled FANs
  391. endef
  392. $(eval $(call KernelPackage,hwmon-pwmfan))
  393. define KernelPackage/hwmon-sch5627
  394. TITLE:=SMSC SCH5627 monitoring support
  395. KCONFIG:= \
  396. CONFIG_SENSORS_SCH5627 \
  397. CONFIG_WATCHDOG_CORE=y
  398. FILES:= \
  399. $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
  400. $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
  401. AUTOLOAD:=$(call AutoProbe,sch5627)
  402. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-core)
  403. endef
  404. define KernelPackage/hwmon-sch5627/description
  405. SMSC SCH5627 Super I/O chips include complete hardware monitoring
  406. endef
  407. $(eval $(call KernelPackage,hwmon-sch5627))
  408. define KernelPackage/hwmon-sht21
  409. TITLE:=Sensiron SHT21 and compat. monitoring support
  410. KCONFIG:=CONFIG_SENSORS_SHT21
  411. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  412. AUTOLOAD:=$(call AutoProbe,sht21)
  413. $(call AddDepends/hwmon,+kmod-i2c-core)
  414. endef
  415. define KernelPackage/hwmon-sht21/description
  416. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  417. endef
  418. $(eval $(call KernelPackage,hwmon-sht21))
  419. define KernelPackage/hwmon-sht3x
  420. TITLE:=Sensiron SHT3x and compat. monitoring support
  421. KCONFIG:=CONFIG_SENSORS_SHT3x
  422. FILES:=$(LINUX_DIR)/drivers/hwmon/sht3x.ko
  423. AUTOLOAD:=$(call AutoProbe,sht3x)
  424. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-lib-crc8)
  425. endef
  426. define KernelPackage/hwmon-sht3x/description
  427. Kernel module for Sensirion SHT3x temperature and humidity sensors chip
  428. endef
  429. $(eval $(call KernelPackage,hwmon-sht3x))
  430. define KernelPackage/hwmon-tc654
  431. TITLE:=TC654 monitoring support
  432. KCONFIG:=CONFIG_SENSORS_TC654
  433. FILES:=$(LINUX_DIR)/drivers/hwmon/tc654.ko
  434. AUTOLOAD:=$(call AutoLoad,60,tc654)
  435. $(call AddDepends/hwmon,+kmod-i2c-core)
  436. endef
  437. define KernelPackage/hwmon-tc654/description
  438. Kernel module for Microchip TC654/TC655 and compatibles
  439. endef
  440. $(eval $(call KernelPackage,hwmon-tc654))
  441. define KernelPackage/hwmon-tmp102
  442. TITLE:=Texas Instruments TMP102 monitoring support
  443. KCONFIG:=CONFIG_SENSORS_TMP102
  444. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
  445. AUTOLOAD:=$(call AutoProbe,tmp102)
  446. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  447. endef
  448. define KernelPackage/hwmon-tmp102/description
  449. Kernel module for Texas Instruments TMP102 temperature sensors chip
  450. endef
  451. $(eval $(call KernelPackage,hwmon-tmp102))
  452. define KernelPackage/hwmon-tmp103
  453. TITLE:=Texas Instruments TMP103 monitoring support
  454. KCONFIG:=CONFIG_SENSORS_TMP103
  455. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
  456. AUTOLOAD:=$(call AutoProbe,tmp103)
  457. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  458. endef
  459. define KernelPackage/hwmon-tmp103/description
  460. Kernel module for Texas Instruments TMP103 temperature sensors chip
  461. endef
  462. $(eval $(call KernelPackage,hwmon-tmp103))
  463. define KernelPackage/hwmon-tmp421
  464. TITLE:=TI TMP421 and compatible monitoring support
  465. KCONFIG:=CONFIG_SENSORS_TMP421
  466. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
  467. AUTOLOAD:=$(call AutoLoad,60,tmp421)
  468. $(call AddDepends/hwmon,+kmod-i2c-core)
  469. endef
  470. define KernelPackage/hwmon-tmp421/description
  471. Kernel module for the Texas Instruments TMP421 and compatible chips.
  472. endef
  473. $(eval $(call KernelPackage,hwmon-tmp421))
  474. define KernelPackage/hwmon-tps23861
  475. TITLE:=Texas Instruments TPS23861 PoE PSE
  476. KCONFIG:=CONFIG_SENSORS_TPS23861
  477. FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
  478. AUTOLOAD:=$(call AutoProbe,tps23861)
  479. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  480. endef
  481. define KernelPackage/hwmon-tps23861/description
  482. Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
  483. endef
  484. $(eval $(call KernelPackage,hwmon-tps23861))
  485. define KernelPackage/hwmon-vid
  486. TITLE:=VID/VRM/VRD voltage conversion module.
  487. KCONFIG:=CONFIG_HWMON_VID
  488. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  489. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  490. $(call AddDepends/hwmon,)
  491. endef
  492. define KernelPackage/hwmon-vid/description
  493. VID/VRM/VRD voltage conversion module for hardware monitoring
  494. endef
  495. $(eval $(call KernelPackage,hwmon-vid))
  496. define KernelPackage/hwmon-w83627ehf
  497. TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
  498. KCONFIG:=CONFIG_SENSORS_W83627EHF
  499. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
  500. AUTOLOAD:=$(call AutoProbe,w83627ehf)
  501. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  502. endef
  503. define KernelPackage/hwmon-w83627ehf/description
  504. Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
  505. Support for NCT6775F and NCT6776F has been removed from this driver in favour of
  506. using the nct6775 driver to handle those chips.
  507. endef
  508. $(eval $(call KernelPackage,hwmon-w83627ehf))
  509. define KernelPackage/hwmon-w83627hf
  510. TITLE:=Winbond W83627HF monitoring support
  511. KCONFIG:=CONFIG_SENSORS_W83627HF
  512. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  513. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  514. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  515. endef
  516. define KernelPackage/hwmon-w83627hf/description
  517. Kernel module for the Winbond W83627HF chips.
  518. endef
  519. $(eval $(call KernelPackage,hwmon-w83627hf))
  520. define KernelPackage/hwmon-w83793
  521. TITLE:=Winbond W83793G/R monitoring support
  522. KCONFIG:=CONFIG_SENSORS_W83793
  523. FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
  524. AUTOLOAD:=$(call AutoProbe,w83793)
  525. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  526. endef
  527. define KernelPackage/hwmon-w83793/description
  528. Kernel module for the Winbond W83793G and W83793R chips.
  529. endef
  530. $(eval $(call KernelPackage,hwmon-w83793))
  531. define KernelPackage/hwmon-adcxx
  532. TITLE:=ADCxx monitoring support
  533. KCONFIG:=CONFIG_SENSORS_ADCXX
  534. FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
  535. AUTOLOAD:=$(call AutoLoad,60,adcxx)
  536. $(call AddDepends/hwmon,)
  537. endef
  538. define KernelPackage/hwmon-adcxx/description
  539. Kernel module for the National Semiconductor
  540. ADC<bb><c>S<sss> chip family, where
  541. * bb is the resolution in number of bits (8, 10, 12)
  542. * c is the number of channels (1, 2, 4, 8)
  543. * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
  544. kSPS and 101 for 1 MSPS)
  545. Examples : ADC081S101, ADC124S501, ...
  546. endef
  547. $(eval $(call KernelPackage,hwmon-adcxx))
  548. define KernelPackage/polynomial
  549. TITLE:=polynomial support
  550. KCONFIG:=CONFIG_POLYNOMIAL
  551. HIDDEN:=1
  552. FILES:=$(LINUX_DIR)/lib/polynomial.ko
  553. AUTOLOAD:=$(call AutoProbe, polynomial)
  554. endef
  555. $(eval $(call KernelPackage,polynomial))