[openwrt/openwrt] kernel: add kmod-hwmon-jc42 support
LEDE Commits
lede-commits at lists.infradead.org
Tue Jul 4 14:05:33 PDT 2023
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b025df645e7e578cdc87e99075062edc82c00484
commit b025df645e7e578cdc87e99075062edc82c00484
Author: Christian Svensson <blue at cmd.nu>
AuthorDate: Mon Jul 3 00:02:14 2023 +0200
kernel: add kmod-hwmon-jc42 support
Add package for Jedec JC42.4 compliant temperature sensor.
Signed-off-by: Christian Svensson <blue at cmd.nu>
---
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 69010faedd..5761c4bc6b 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -217,6 +217,21 @@ endef
$(eval $(call KernelPackage,hwmon-it87))
+define KernelPackage/hwmon-jc42
+ TITLE:=Jedec JC42.4 compliant temperature sensors support
+ KCONFIG:=CONFIG_SENSORS_JC42
+ FILES:=$(LINUX_DIR)/drivers/hwmon/jc42.ko
+ AUTOLOAD:=$(call AutoProbe,jc42)
+ $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
+endef
+
+define KernelPackage/hwmon-jc42/description
+ Kernel module for Jedec JC42.4 compliant temperature sensors
+endef
+
+$(eval $(call KernelPackage,hwmon-jc42))
+
+
define KernelPackage/hwmon-lm63
TITLE:=LM63/64 monitoring support
KCONFIG:=CONFIG_SENSORS_LM63
More information about the lede-commits
mailing list