diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2020-08-30 22:29:15 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2021-12-29 20:35:57 +0100 |
commit | c6ab5148630951b331a25b498aad55e38ad8df74 (patch) | |
tree | f46910012290089438312d718af81040f9f88041 /package/kernel | |
parent | 02de391b086dd2b7a72c2394cfb66cec666a51c1 (diff) | |
download | upstream-c6ab5148630951b331a25b498aad55e38ad8df74.tar.gz upstream-c6ab5148630951b331a25b498aad55e38ad8df74.tar.bz2 upstream-c6ab5148630951b331a25b498aad55e38ad8df74.zip |
packages: kernel: add i2c hwmon g762 kmod package
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>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 9f75293764..226ecec31d 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -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 |