aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorPawel Dembicki <paweldembicki@gmail.com>2019-01-02 19:59:05 +0000
committerChristian Lamparter <chunkeey@gmail.com>2019-01-13 11:07:37 +0100
commited2839ac41908905294f82de36b68757e78545e6 (patch)
treeb40ebf7b394c5aeb6fb4efc8d0828f457886cb36 /package/kernel/linux
parent75fdf3ba01e9379f4301ccbaf3eeedf0923076f1 (diff)
downloadupstream-ed2839ac41908905294f82de36b68757e78545e6.tar.gz
upstream-ed2839ac41908905294f82de36b68757e78545e6.tar.bz2
upstream-ed2839ac41908905294f82de36b68757e78545e6.zip
kernel/modules: add kmod-pmbus-zl6100 module
This patch adds the kmod packaging for the Intersil / Zilker Labs ZL6100 and compatible digital DC-DC controllers as well as the core kernel module for the Power Management Bus. Add: kmod-pmbus-core kmod-pmbus-zl6100 Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/hwmon.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 00bb18501a..48e529ca8d 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -287,6 +287,36 @@ endef
$(eval $(call KernelPackage,hwmon-pc87360))
+define KernelPackage/pmbus-core
+ TITLE:=PMBus support
+ KCONFIG:= CONFIG_PMBUS
+ FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko
+ $(call AddDepends/hwmon)
+endef
+
+define KernelPackage/pmbus-core/description
+ Kernel modules for Power Management Bus
+endef
+
+$(eval $(call KernelPackage,pmbus-core))
+
+
+define KernelPackage/pmbus-zl6100
+ TITLE:=Intersil / Zilker Labs ZL6100 hardware monitoring
+ KCONFIG:=CONFIG_SENSORS_ZL6100
+ FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/zl6100.ko
+ AUTOLOAD:=$(call AutoProbe,zl6100)
+ $(call AddDepends/hwmon, +kmod-pmbus-core)
+endef
+
+define KernelPackage/hwmon-sht21/description
+ Kernel module for Intersil / Zilker Labs ZL6100 and
+compatible digital DC-DC controllers
+endef
+
+$(eval $(call KernelPackage,pmbus-zl6100))
+
+
define KernelPackage/hwmon-pwmfan
TITLE:=Generic PWM FAN support
KCONFIG:=CONFIG_SENSORS_PWM_FAN