From 03ac90cebdef86d1135cfcdaa6c3104ce5beaaa7 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Thu, 16 Jul 2020 17:46:44 +0200 Subject: [PATCH] kirkwood: add hwmon-tc654 Signed-off-by: Zoltan HERPAI --- target/linux/kirkwood/modules.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/target/linux/kirkwood/modules.mk b/target/linux/kirkwood/modules.mk index 1543098cd4..1c0e9b9bb9 100644 --- a/target/linux/kirkwood/modules.mk +++ b/target/linux/kirkwood/modules.mk @@ -28,3 +28,17 @@ define KernelPackage/mvsdio/description endef $(eval $(call KernelPackage,mvsdio)) + +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)) -- 2.30.2