[openwrt/openwrt] hwmon: add TC654 fan-controller support
LEDE Commits
lede-commits at lists.infradead.org
Sat Mar 16 16:19:29 PDT 2024
wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/afd5926e37b82561c5ddb30c4c672d207b3d50e9
commit afd5926e37b82561c5ddb30c4c672d207b3d50e9
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Tue Mar 5 13:22:11 2024 +0100
hwmon: add TC654 fan-controller support
Add support for the Microchip TC654 PWM fan-controller.
Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
package/kernel/linux/modules/hwmon.mk | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 5be63ce779..be38a6071a 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -572,6 +572,21 @@ endef
$(eval $(call KernelPackage,hwmon-sht3x))
+define KernelPackage/hwmon-tc654
+ TITLE:=TC654 monitoring support
+ KCONFIG:=CONFIG_SENSORS_TC654
+ FILES:=$(LINUX_DIR)/drivers/hwmon/tc654.ko
+ AUTOLOAD:=$(call AutoLoad,60,tc654)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-tc654/description
+ Kernel module for Microchip TC654/TC655 and compatibles
+endef
+
+$(eval $(call KernelPackage,hwmon-tc654))
+
+
define KernelPackage/hwmon-tmp102
TITLE:=Texas Instruments TMP102 monitoring support
KCONFIG:=CONFIG_SENSORS_TMP102
More information about the lede-commits
mailing list