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>
This commit is contained in:
Pawel Dembicki
2019-01-02 19:59:05 +00:00
committed by Christian Lamparter
parent 75fdf3ba01
commit ed2839ac41
5 changed files with 86 additions and 0 deletions

View File

@@ -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