diff options
author | Florian Eckert <fe@dev.tdt.de> | 2017-07-25 16:38:56 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-06-09 22:39:17 +0200 |
commit | 2f46f4375480838b3e9b89e4bcd5117e71aae8cc (patch) | |
tree | 984b6595db6ae815bbffce13bb5322ce33cf1255 /package/kernel/linux/modules/hwmon.mk | |
parent | 503ac967c5fa88c37d7d3f8ed348677cee29f0f9 (diff) | |
download | upstream-2f46f4375480838b3e9b89e4bcd5117e71aae8cc.tar.gz upstream-2f46f4375480838b3e9b89e4bcd5117e71aae8cc.tar.bz2 upstream-2f46f4375480838b3e9b89e4bcd5117e71aae8cc.zip |
kernel/modules: add kmod-adcxx module
Add kernel module package for kmod-adcxx.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'package/kernel/linux/modules/hwmon.mk')
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index e6dfa73dec..5cd849b86d 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -427,3 +427,25 @@ endef $(eval $(call KernelPackage,hwmon-w83793)) +define KernelPackage/hwmon-adcxx + TITLE:=ADCxx monitoring support + KCONFIG:=CONFIG_SENSORS_ADCXX + FILES:=$(LINUX_DIR)/drivers/hwmon/adcxx.ko + AUTOLOAD:=$(call AutoLoad,60,adcxx) + $(call AddDepends/hwmon,) +endef + +define KernelPackage/hwmon-adcxx/description + Kernel module for the National Semiconductor + ADC<bb><c>S<sss> chip family, where + * bb is the resolution in number of bits (8, 10, 12) + * c is the number of channels (1, 2, 4, 8) + * sss is the maximum conversion speed (021 for 200 kSPS, 051 for 500 + kSPS and 101 for 1 MSPS) + + Examples : ADC081S101, ADC124S501, ... +endef + +$(eval $(call KernelPackage,hwmon-adcxx)) + + |