From: Christian Svensson Date: Sun, 2 Jul 2023 22:02:14 +0000 (+0200) Subject: kernel: add kmod-hwmon-jc42 support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b025df645e7e578cdc87e99075062edc82c00484;p=openwrt%2Fstaging%2Fjow.git kernel: add kmod-hwmon-jc42 support Add package for Jedec JC42.4 compliant temperature sensor. Signed-off-by: Christian Svensson --- 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