summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Larsson2026-08-29 20:53:03 +0000
committerJonas Jelonek2026-08-31 19:14:38 +0000
commit0c0d6dd7d12ff707813f99a03fa4d1c521c7b70c (patch)
tree9cd64b67e8ab9e1a2ab6d90a80e886749778c389
parent825e0adcf3b53d8739be28f3fc14ac874909de4d (diff)
kernel: add kmod-hwmon-max6650HEADmastermain
The max6650/max6651 are fan controllers. The max6651 is used by the XikeStor SKS8300 12x v2. Signed-off-by: Erik Larsson <who+github@cnackers.org> Link: https://github.com/openwrt/openwrt/pull/24952 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
-rw-r--r--package/kernel/linux/modules/hwmon.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 15e0135418..f22255c5ea 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -447,6 +447,21 @@ endef
$(eval $(call KernelPackage,hwmon-ltc4151))
+define KernelPackage/hwmon-max6650
+ TITLE:=MAX6650/6651 fan controller
+ KCONFIG:=CONFIG_SENSORS_MAX6650
+ FILES:=$(LINUX_DIR)/drivers/hwmon/max6650.ko
+ AUTOLOAD:=$(call AutoProbe,max6650)
+ $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
+endef
+
+define KernelPackage/hwmon-max6650/description
+ Kernel module for Maxim MAX6650/6651 fan controller
+endef
+
+$(eval $(call KernelPackage,hwmon-max6650))
+
+
define KernelPackage/hwmon-max6697
TITLE:=MAX6697 monitoring support
KCONFIG:=CONFIG_SENSORS_MAX6697