kirkwood: add hwmon-tc654
authorZoltan HERPAI <wigyori@uid0.hu>
Thu, 16 Jul 2020 15:46:44 +0000 (17:46 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Sat, 2 Sep 2023 07:55:43 +0000 (09:55 +0200)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
target/linux/kirkwood/modules.mk

index 1543098cd4bd3750a6cf8411c2bb4f30fd7a0dbd..1c0e9b9bb914ac552137d13ec5d6485c966b2d7f 100644 (file)
@@ -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))