[openwrt/openwrt] qualcommax: enable CONFIG_THERMAL and CONFIG_THERMAL_HWMON

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 22 00:51:04 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7c22fce0f5a6eb7ec36a3e81a2b5f3839099c659

commit 7c22fce0f5a6eb7ec36a3e81a2b5f3839099c659
Author: Zheng Zhang <everything411 at qq.com>
AuthorDate: Sun Jun 15 08:34:26 2025 +0800

    qualcommax: enable CONFIG_THERMAL and CONFIG_THERMAL_HWMON
    
    The Qualcomm TSENS driver only exposes sensors to as a thermal
    zone without registering hwmon, making these temperature sensors
    unreadable by lm-sensors. This commit enables CONFIG_THERMAL and
    CONFIG_THERMAL_HWMON for qualcommax targets to access the sensors
    from hwmon.
    
    Suggested-by: Yao Zi <ziyao at disroot.org>
    Signed-off-by: Zheng Zhang <everything411 at qq.com>
    Link: https://github.com/openwrt/openwrt/pull/19137
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/qualcommax/config-6.12 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/qualcommax/config-6.12 b/target/linux/qualcommax/config-6.12
index 3698549797..0461b7822d 100644
--- a/target/linux/qualcommax/config-6.12
+++ b/target/linux/qualcommax/config-6.12
@@ -199,6 +199,7 @@ CONFIG_HAS_DMA=y
 CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT=y
 CONFIG_HAS_IOPORT_MAP=y
+CONFIG_HWMON=y
 CONFIG_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_QCOM=y
 CONFIG_HW_RANDOM=y
@@ -591,6 +592,7 @@ CONFIG_THERMAL=y
 CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
 CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
 CONFIG_THERMAL_GOV_STEP_WISE=y
+CONFIG_THERMAL_HWMON=y
 CONFIG_THERMAL_OF=y
 CONFIG_THREAD_INFO_IN_TASK=y
 CONFIG_TICK_CPU_ACCOUNTING=y




More information about the lede-commits mailing list