diff options
author | Oleg S <remittor@gmail.com> | 2024-03-24 21:26:08 +0300 |
---|---|---|
committer | Robert Marko <robimarko@gmail.com> | 2024-04-10 10:50:17 +0200 |
commit | d668c74fe6efb546f0fd65f0334a3f0bd7bf5df4 (patch) | |
tree | fffc3c3945553be474c1da4158a08ca448e84a49 /package | |
parent | 08639a5e47d8ec2d78693493924081d841601028 (diff) | |
download | openwrt-d668c74fe6efb546f0fd65f0334a3f0bd7bf5df4.tar.gz openwrt-d668c74fe6efb546f0fd65f0334a3f0bd7bf5df4.tar.bz2 openwrt-d668c74fe6efb546f0fd65f0334a3f0bd7bf5df4.zip |
kernel: add kmod-hwmon-emc2305 support
This module supports the Microchip Technology Inc (SMSC)
EMC2301/EMC2302/EMC2303/EMC2305 fan speed PWM controller chips.
Signed-off-by: Oleg S <remittor@gmail.com>
Diffstat (limited to 'package')
-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 be38a6071a..ba393ab8fa 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -125,6 +125,21 @@ endef $(eval $(call KernelPackage,hwmon-drivetemp)) +define KernelPackage/hwmon-emc2305 + TITLE:=Microchip EMC2301/2/3/5 fan controller + KCONFIG:=CONFIG_SENSORS_EMC2305 + FILES:=$(LINUX_DIR)/drivers/hwmon/emc2305.ko + AUTOLOAD:=$(call AutoProbe,emc2305) + $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal +kmod-regmap-i2c @LINUX_6_1||LINUX_6_6) +endef + +define KernelPackage/hwmon-emc2305/description + Kernel module for Microchip EMC2301/EMC2302/EMC2303/EMC2305 fan controllers +endef + +$(eval $(call KernelPackage,hwmon-emc2305)) + + define KernelPackage/hwmon-gsc TITLE:=Gateworks System Controller support KCONFIG:=CONFIG_MFD_GATEWORKS_GSC \ |