summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Svensson2023-07-02 22:00:07 +0000
committerHauke Mehrtens2023-07-04 21:00:11 +0000
commit0ea826418947585e40756fd82a82c399101de014 (patch)
tree9225dbb8357d22d28ff9cf385a7f384bde033015
parent75505c5ec724b9b961dcb411bac1d4b9aede3e1d (diff)
downloadopenwrt-0ea826418947585e40756fd82a82c399101de014.tar.gz
kernel: add kmod-hwmon-max6697 support
Add package for Maxim MAX6697 I2C based temperature sensor. Signed-off-by: Christian Svensson <blue@cmd.nu>
-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 23e32655b2..69010faedd 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -369,6 +369,21 @@ endef
$(eval $(call KernelPackage,hwmon-max6642))
+define KernelPackage/hwmon-max6697
+ TITLE:=MAX6697 monitoring support
+ KCONFIG:=CONFIG_SENSORS_MAX6697
+ FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
+ AUTOLOAD:=$(call AutoProbe,max6697)
+ $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-max6697/description
+ Kernel module for Maxim MAX6697 temperature monitor
+endef
+
+$(eval $(call KernelPackage,hwmon-max6697))
+
+
define KernelPackage/hwmon-mcp3021
TITLE:=MCP3021/3221 monitoring support
KCONFIG:=CONFIG_SENSORS_MCP3021