hwmon.mk 19 KB

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