[openwrt/openwrt] kernel: add kmod-hwmon-adt7470
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 14 01:43:19 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cb8247947589a63a9398088f245a0d2f87aaf80d
commit cb8247947589a63a9398088f245a0d2f87aaf80d
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Mon Jan 12 03:49:19 2026 +0200
kernel: add kmod-hwmon-adt7470
This driver supports the ADT7470 thermal monitoring chip, which is used
in the ECS4100-12PH switch.
Fixes: fa9f92595197 ("realtek/rtl839x: Edgecore ECS4100-12PH support")
Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
Link: https://github.com/openwrt/openwrt/pull/21505
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
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 78b592cb91..f6d2896117 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -63,6 +63,21 @@ endef
$(eval $(call KernelPackage,hwmon-adt7410))
+define KernelPackage/hwmon-adt7470
+ TITLE:=ADT7470 monitoring support
+ KCONFIG:=CONFIG_SENSORS_ADT7470
+ FILES:=$(LINUX_DIR)/drivers/hwmon/adt7470.ko
+ AUTOLOAD:=$(call AutoProbe,adt7470)
+ $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
+endef
+
+define KernelPackage/hwmon-adt7470/description
+ Kernel module for ADT7470 thermal monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-adt7470))
+
+
define KernelPackage/hwmon-adt7475
TITLE:=ADT7473/7475/7476/7490 monitoring support
KCONFIG:=CONFIG_SENSORS_ADT7475
More information about the lede-commits
mailing list