hwmon.mk 15 KB

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