Skip to content

Commit

Permalink
packages: kernel: add i2c hwmon g762 kmod package
Browse files Browse the repository at this point in the history
This patch adds kernel module for Global Mixed-mode Technology Inc
G762 and G763 fan speed PWM controller chips.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
  • Loading branch information
CHKDSK88 authored and chunkeey committed Dec 29, 2021
1 parent 02de391 commit c6ab514
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package/kernel/linux/modules/hwmon.mk
Expand Up @@ -138,6 +138,21 @@ endef
$(eval $(call KernelPackage,hwmon-f71882fg))


define KernelPackage/hwmon-g762
TITLE:=G762/G763 fan speed PWM controller support
KCONFIG:=CONFIG_SENSORS_G762
FILES:=$(LINUX_DIR)/drivers/hwmon/g762.ko
AUTOLOAD:=$(call AutoProbe,g762)
$(call AddDepends/hwmon,+kmod-i2c-core)
endef

define KernelPackage/hwmon-g762/description
Kernel module for Global Mixed-mode Technology Inc G762 and G763 fan speed PWM controller chips.
endef

$(eval $(call KernelPackage,hwmon-g762))


define KernelPackage/hwmon-ina209
TITLE:=INA209 monitoring support
KCONFIG:=CONFIG_SENSORS_INA209
Expand Down

0 comments on commit c6ab514

Please sign in to comment.