2
0

hwmon.mk 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  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-ads1015
  37. TITLE:=Texas Instruments ADS1015
  38. KCONFIG:= CONFIG_SENSORS_ADS1015
  39. FILES:= $(LINUX_DIR)/drivers/hwmon/ads1015.ko
  40. AUTOLOAD:=$(call AutoLoad,60,ads1015)
  41. $(call AddDepends/hwmon,+kmod-i2c-core)
  42. endef
  43. define KernelPackage/hwmon-ads1015/description
  44. Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter
  45. endef
  46. $(eval $(call KernelPackage,hwmon-ads1015))
  47. define KernelPackage/hwmon-adt7410
  48. TITLE:=ADT7410 monitoring support
  49. KCONFIG:= \
  50. CONFIG_SENSORS_ADT7X10 \
  51. CONFIG_SENSORS_ADT7410
  52. FILES:= \
  53. $(LINUX_DIR)/drivers/hwmon/adt7x10.ko \
  54. $(LINUX_DIR)/drivers/hwmon/adt7410.ko
  55. AUTOLOAD:=$(call AutoLoad,60,adt7x10 adt7410)
  56. $(call AddDepends/hwmon,+kmod-i2c-core)
  57. endef
  58. define KernelPackage/hwmon-adt7410/description
  59. Kernel module for ADT7410/7420 I2C thermal monitor chip
  60. endef
  61. $(eval $(call KernelPackage,hwmon-adt7410))
  62. define KernelPackage/hwmon-adt7475
  63. TITLE:=ADT7473/7475/7476/7490 monitoring support
  64. KCONFIG:=CONFIG_SENSORS_ADT7475
  65. FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko
  66. AUTOLOAD:=$(call AutoProbe,adt7475)
  67. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  68. endef
  69. define KernelPackage/hwmon-adt7475/description
  70. Kernel module for ADT7473/7475/7476/7490 thermal monitor chip
  71. endef
  72. $(eval $(call KernelPackage,hwmon-adt7475))
  73. define KernelPackage/hwmon-dme1737
  74. TITLE:=SMSC DME1737 and compatible monitoring support
  75. KCONFIG:=CONFIG_SENSORS_DME1737
  76. FILES:= \
  77. $(LINUX_DIR)/drivers/hwmon/dme1737.ko
  78. AUTOLOAD:=$(call AutoProbe,dme1737)
  79. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  80. endef
  81. define KernelPackage/hwmon-dme1737/description
  82. SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support
  83. endef
  84. $(eval $(call KernelPackage,hwmon-dme1737))
  85. define KernelPackage/hwmon-drivetemp
  86. TITLE:=Hard disk drives with temperature sensor
  87. KCONFIG:=CONFIG_SENSORS_DRIVETEMP
  88. FILES:=$(LINUX_DIR)/drivers/hwmon/drivetemp.ko
  89. AUTOLOAD:=$(call AutoLoad,60,drivetemp)
  90. $(call AddDepends/hwmon,+kmod-ata-core +kmod-scsi-core)
  91. endef
  92. define KernelPackage/hwmon-drivetemp/description
  93. Kernel module for Hard disk drives with temperature sensor
  94. endef
  95. $(eval $(call KernelPackage,hwmon-drivetemp))
  96. define KernelPackage/hwmon-gpiofan
  97. TITLE:=Generic GPIO FAN support
  98. KCONFIG:=CONFIG_SENSORS_GPIO_FAN
  99. FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
  100. AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
  101. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
  102. endef
  103. define KernelPackage/hwmon-gpiofan/description
  104. Kernel module for GPIO controlled FANs
  105. endef
  106. $(eval $(call KernelPackage,hwmon-gpiofan))
  107. define KernelPackage/hwmon-f71882fg
  108. TITLE:=F71882FG compatible monitoring support
  109. KCONFIG:=CONFIG_SENSORS_F71882FG
  110. FILES:=$(LINUX_DIR)/drivers/hwmon/f71882fg.ko
  111. AUTOLOAD:=$(call AutoProbe,f71882fg)
  112. $(call AddDepends/hwmon,@TARGET_x86)
  113. endef
  114. define KernelPackage/hwmon-f71882fg/description
  115. Kernel module for hardware monitoring via many Fintek Super-IO chips.
  116. endef
  117. $(eval $(call KernelPackage,hwmon-f71882fg))
  118. define KernelPackage/hwmon-ina209
  119. TITLE:=INA209 monitoring support
  120. KCONFIG:=CONFIG_SENSORS_INA209
  121. FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko
  122. AUTOLOAD:=$(call AutoProbe,ina209)
  123. $(call AddDepends/hwmon,+kmod-i2c-core)
  124. endef
  125. define KernelPackage/hwmon-ina209/description
  126. Kernel module for ina209 dc power monitor chips
  127. endef
  128. $(eval $(call KernelPackage,hwmon-ina209))
  129. define KernelPackage/hwmon-ina2xx
  130. TITLE:=INA2XX monitoring support
  131. KCONFIG:=CONFIG_SENSORS_INA2XX
  132. FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko
  133. AUTOLOAD:=$(call AutoProbe,ina2xx)
  134. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  135. endef
  136. define KernelPackage/hwmon-ina2xx/description
  137. Kernel module for ina2xx dc current monitor chips
  138. endef
  139. $(eval $(call KernelPackage,hwmon-ina2xx))
  140. define KernelPackage/hwmon-it87
  141. TITLE:=IT87 monitoring support
  142. KCONFIG:=CONFIG_SENSORS_IT87
  143. FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
  144. AUTOLOAD:=$(call AutoProbe,it87)
  145. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid +PACKAGE_kmod-thermal:kmod-thermal)
  146. endef
  147. define KernelPackage/hwmon-it87/description
  148. Kernel module for it87 thermal and voltage monitor chip
  149. endef
  150. $(eval $(call KernelPackage,hwmon-it87))
  151. define KernelPackage/hwmon-lm63
  152. TITLE:=LM63/64 monitoring support
  153. KCONFIG:=CONFIG_SENSORS_LM63
  154. FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
  155. AUTOLOAD:=$(call AutoProbe,lm63)
  156. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  157. endef
  158. define KernelPackage/hwmon-lm63/description
  159. Kernel module for lm63 and lm64 thermal monitor chip
  160. endef
  161. $(eval $(call KernelPackage,hwmon-lm63))
  162. define KernelPackage/hwmon-lm75
  163. TITLE:=LM75 monitoring support
  164. KCONFIG:=CONFIG_SENSORS_LM75
  165. FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko
  166. AUTOLOAD:=$(call AutoProbe,lm75)
  167. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  168. endef
  169. define KernelPackage/hwmon-lm75/description
  170. Kernel module for lm75 thermal monitor chip
  171. endef
  172. $(eval $(call KernelPackage,hwmon-lm75))
  173. define KernelPackage/hwmon-lm77
  174. TITLE:=LM77 monitoring support
  175. KCONFIG:=CONFIG_SENSORS_LM77
  176. FILES:=$(LINUX_DIR)/drivers/hwmon/lm77.ko
  177. AUTOLOAD:=$(call AutoProbe,lm77)
  178. $(call AddDepends/hwmon,+kmod-i2c-core)
  179. endef
  180. define KernelPackage/hwmon-lm77/description
  181. Kernel module for LM77 thermal monitor chip
  182. endef
  183. $(eval $(call KernelPackage,hwmon-lm77))
  184. define KernelPackage/hwmon-lm85
  185. TITLE:=LM85 monitoring support
  186. KCONFIG:=CONFIG_SENSORS_LM85
  187. FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
  188. AUTOLOAD:=$(call AutoProbe,lm85)
  189. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  190. endef
  191. define KernelPackage/hwmon-lm85/description
  192. Kernel module for LM85 thermal monitor chip
  193. endef
  194. $(eval $(call KernelPackage,hwmon-lm85))
  195. define KernelPackage/hwmon-lm90
  196. TITLE:=LM90 monitoring support
  197. KCONFIG:=CONFIG_SENSORS_LM90
  198. FILES:=$(LINUX_DIR)/drivers/hwmon/lm90.ko
  199. AUTOLOAD:=$(call AutoProbe,lm90)
  200. $(call AddDepends/hwmon,+kmod-i2c-core)
  201. endef
  202. define KernelPackage/hwmon-lm90/description
  203. Kernel module for LM90 thermal monitor chip
  204. endef
  205. $(eval $(call KernelPackage,hwmon-lm90))
  206. define KernelPackage/hwmon-lm92
  207. TITLE:=LM92 monitoring support
  208. KCONFIG:=CONFIG_SENSORS_LM92
  209. FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
  210. AUTOLOAD:=$(call AutoProbe,lm92)
  211. $(call AddDepends/hwmon,+kmod-i2c-core)
  212. endef
  213. define KernelPackage/hwmon-lm92/description
  214. Kernel module for LM92 thermal monitor chip
  215. endef
  216. $(eval $(call KernelPackage,hwmon-lm92))
  217. define KernelPackage/hwmon-lm95241
  218. TITLE:=LM95241 monitoring support
  219. KCONFIG:=CONFIG_SENSORS_LM95241
  220. FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
  221. AUTOLOAD:=$(call AutoProbe,lm95241)
  222. $(call AddDepends/hwmon,+kmod-i2c-core)
  223. endef
  224. define KernelPackage/hwmon-lm95241/description
  225. Kernel module for LM95241 thermal monitor chip
  226. endef
  227. $(eval $(call KernelPackage,hwmon-lm95241))
  228. define KernelPackage/hwmon-ltc4151
  229. TITLE:=LTC4151 monitoring support
  230. KCONFIG:=CONFIG_SENSORS_LTC4151
  231. FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
  232. AUTOLOAD:=$(call AutoProbe,ltc4151)
  233. $(call AddDepends/hwmon,+kmod-i2c-core)
  234. endef
  235. define KernelPackage/hwmon-ltc4151/description
  236. Kernel module for Linear Technology LTC4151 current and voltage monitor chip
  237. endef
  238. $(eval $(call KernelPackage,hwmon-ltc4151))
  239. define KernelPackage/hwmon-mcp3021
  240. TITLE:=MCP3021/3221 monitoring support
  241. KCONFIG:=CONFIG_SENSORS_MCP3021
  242. FILES:=$(LINUX_DIR)/drivers/hwmon/mcp3021.ko
  243. AUTOLOAD:=$(call AutoProbe,mcp3021)
  244. $(call AddDepends/hwmon,+kmod-i2c-core)
  245. endef
  246. define KernelPackage/hwmon-mcp3021/description
  247. Kernel module for Linear Technology MCP3021/3221 current and voltage monitor chip
  248. endef
  249. $(eval $(call KernelPackage,hwmon-mcp3021))
  250. define KernelPackage/hwmon-nct6775
  251. TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
  252. KCONFIG:=CONFIG_SENSORS_NCT6775
  253. FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
  254. AUTOLOAD:=$(call AutoProbe,nct6775)
  255. $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
  256. endef
  257. define KernelPackage/hwmon-nct6775/description
  258. Kernel module for NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D thermal monitor chip
  259. endef
  260. $(eval $(call KernelPackage,hwmon-nct6775))
  261. define KernelPackage/hwmon-pc87360
  262. TITLE:=PC87360 monitoring support
  263. KCONFIG:=CONFIG_SENSORS_PC87360
  264. FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.ko
  265. AUTOLOAD:=$(call AutoProbe,pc87360)
  266. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  267. endef
  268. define KernelPackage/hwmon-pc87360/description
  269. Kernel modules for PC87360 chips
  270. endef
  271. $(eval $(call KernelPackage,hwmon-pc87360))
  272. define KernelPackage/pmbus-core
  273. TITLE:=PMBus support
  274. KCONFIG:= CONFIG_PMBUS
  275. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
  276. $(call AddDepends/hwmon,+kmod-i2c-core)
  277. endef
  278. define KernelPackage/pmbus-core/description
  279. Kernel modules for Power Management Bus
  280. endef
  281. $(eval $(call KernelPackage,pmbus-core))
  282. define KernelPackage/pmbus-zl6100
  283. TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
  284. KCONFIG:=CONFIG_SENSORS_ZL6100
  285. FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
  286. AUTOLOAD:=$(call AutoProbe,zl6100)
  287. $(call AddDepends/hwmon, +kmod-pmbus-core)
  288. endef
  289. define KernelPackage/pmbus-zl6100/description
  290. Kernel module for Intersil / Zilker Labs ZL6100 and
  291. compatible digital DC-DC controllers
  292. endef
  293. $(eval $(call KernelPackage,pmbus-zl6100))
  294. define KernelPackage/hwmon-pwmfan
  295. TITLE:=Generic PWM FAN support
  296. KCONFIG:=CONFIG_SENSORS_PWM_FAN
  297. FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
  298. AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
  299. $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
  300. endef
  301. define KernelPackage/hwmon-pwmfan/description
  302. Kernel module for PWM controlled FANs
  303. endef
  304. $(eval $(call KernelPackage,hwmon-pwmfan))
  305. define KernelPackage/hwmon-sch5627
  306. TITLE:=SMSC SCH5627 monitoring support
  307. KCONFIG:=CONFIG_SENSORS_SCH5627
  308. FILES:= \
  309. $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
  310. $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
  311. AUTOLOAD:=$(call AutoProbe,sch5627)
  312. $(call AddDepends/hwmon,+kmod-i2c-core)
  313. endef
  314. define KernelPackage/hwmon-sch5627/description
  315. SMSC SCH5627 Super I/O chips include complete hardware monitoring
  316. endef
  317. $(eval $(call KernelPackage,hwmon-sch5627))
  318. define KernelPackage/hwmon-sht21
  319. TITLE:=Sensiron SHT21 and compat. monitoring support
  320. KCONFIG:=CONFIG_SENSORS_SHT21
  321. FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko
  322. AUTOLOAD:=$(call AutoProbe,sht21)
  323. $(call AddDepends/hwmon,+kmod-i2c-core)
  324. endef
  325. define KernelPackage/hwmon-sht21/description
  326. Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip
  327. endef
  328. $(eval $(call KernelPackage,hwmon-sht21))
  329. define KernelPackage/hwmon-tmp102
  330. TITLE:=Texas Instruments TMP102 monitoring support
  331. KCONFIG:=CONFIG_SENSORS_TMP102
  332. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
  333. AUTOLOAD:=$(call AutoProbe,tmp102)
  334. $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c)
  335. endef
  336. define KernelPackage/hwmon-tmp102/description
  337. Kernel module for Texas Instruments TMP102 temperature sensors chip
  338. endef
  339. $(eval $(call KernelPackage,hwmon-tmp102))
  340. define KernelPackage/hwmon-tmp103
  341. TITLE:=Texas Instruments TMP103 monitoring support
  342. KCONFIG:=CONFIG_SENSORS_TMP103
  343. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp103.ko
  344. AUTOLOAD:=$(call AutoProbe,tmp103)
  345. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
  346. endef
  347. define KernelPackage/hwmon-tmp103/description
  348. Kernel module for Texas Instruments TMP103 temperature sensors chip
  349. endef
  350. $(eval $(call KernelPackage,hwmon-tmp103))
  351. define KernelPackage/hwmon-tmp421
  352. TITLE:=TI TMP421 and compatible monitoring support
  353. KCONFIG:=CONFIG_SENSORS_TMP421
  354. FILES:=$(LINUX_DIR)/drivers/hwmon/tmp421.ko
  355. AUTOLOAD:=$(call AutoLoad,60,tmp421)
  356. $(call AddDepends/hwmon,+kmod-i2c-core)
  357. endef
  358. define KernelPackage/hwmon-tmp421/description
  359. Kernel module for the Texas Instruments TMP421 and compatible chips.
  360. endef
  361. $(eval $(call KernelPackage,hwmon-tmp421))
  362. define KernelPackage/hwmon-vid
  363. TITLE:=VID/VRM/VRD voltage conversion module.
  364. KCONFIG:=CONFIG_HWMON_VID
  365. FILES:=$(LINUX_DIR)/drivers/hwmon/hwmon-vid.ko
  366. AUTOLOAD:=$(call AutoLoad,41,hwmon-vid)
  367. $(call AddDepends/hwmon,)
  368. endef
  369. define KernelPackage/hwmon-vid/description
  370. VID/VRM/VRD voltage conversion module for hardware monitoring
  371. endef
  372. $(eval $(call KernelPackage,hwmon-vid))
  373. define KernelPackage/hwmon-w83627ehf
  374. TITLE:=Winbond W83627EHF/EHG/DHG/UHG, W83667HG monitoring support
  375. KCONFIG:=CONFIG_SENSORS_W83627EHF
  376. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627ehf.ko
  377. AUTOLOAD:=$(call AutoProbe,w83627ehf)
  378. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  379. endef
  380. define KernelPackage/hwmon-w83627ehf/description
  381. Kernel module for Winbond W83627EHF/EHG/DHG/UHG and W83667HG thermal monitor chip
  382. Support for NCT6775F and NCT6776F has been removed from this driver in favour of
  383. using the nct6775 driver to handle those chips.
  384. endef
  385. $(eval $(call KernelPackage,hwmon-w83627ehf))
  386. define KernelPackage/hwmon-w83627hf
  387. TITLE:=Winbond W83627HF monitoring support
  388. KCONFIG:=CONFIG_SENSORS_W83627HF
  389. FILES:=$(LINUX_DIR)/drivers/hwmon/w83627hf.ko
  390. AUTOLOAD:=$(call AutoLoad,50,w83627hf)
  391. $(call AddDepends/hwmon,@TARGET_x86 +kmod-hwmon-vid)
  392. endef
  393. define KernelPackage/hwmon-w83627hf/description
  394. Kernel module for the Winbond W83627HF chips.
  395. endef
  396. $(eval $(call KernelPackage,hwmon-w83627hf))
  397. define KernelPackage/hwmon-w83793
  398. TITLE:=Winbond W83793G/R monitoring support
  399. KCONFIG:=CONFIG_SENSORS_W83793
  400. FILES:=$(LINUX_DIR)/drivers/hwmon/w83793.ko
  401. AUTOLOAD:=$(call AutoProbe,w83793)
  402. $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
  403. endef
  404. define KernelPackage/hwmon-w83793/description
  405. Kernel module for the Winbond W83793G and W83793R chips.
  406. endef
  407. $(eval $(call KernelPackage,hwmon-w83793))
  408. define KernelPackage/hwmon-adcxx
  409. TITLE:=ADCxx monitoring support
  410. KCONFIG:=CONFIG_SENSORS_ADCXX
  411. FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko
  412. AUTOLOAD:=$(call AutoLoad,60,adcxx)
  413. $(call AddDepends/hwmon,)
  414. endef
  415. define KernelPackage/hwmon-adcxx/description
  416. Kernel module for the National Semiconductor
  417. ADC<bb><c>S<sss> chip family, where
  418. * bb is the resolution in number of bits (8, 10, 12)
  419. * c is the number of channels (1, 2, 4, 8)
  420. * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500
  421. kSPS and 101 for 1 MSPS)
  422. Examples : ADC081S101, ADC124S501, ...
  423. endef
  424. $(eval $(call KernelPackage,hwmon-adcxx))