]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommbe: enable CONFIG_THERMAL and CONFIG_THERMAL_HWMON 19137/head
authorZheng Zhang <everything411@qq.com>
Sat, 14 Jun 2025 14:56:04 +0000 (22:56 +0800)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Jun 2025 07:51:01 +0000 (09:51 +0200)
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 qualcommbe target to access the sensors
from hwmon.

Suggested-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Zheng Zhang <everything411@qq.com>
Link: https://github.com/openwrt/openwrt/pull/19137
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommbe/config-6.12

index af5ba0f8095c59b939b23cd8d57f8569c7d7c3ce..3ddc71dd3eba49b810dcdaffd722221d62060db6 100644 (file)
@@ -200,6 +200,7 @@ CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT=y
 CONFIG_HAS_IOPORT_MAP=y
 CONFIG_HISILICON_ERRATUM_162100801=y
+CONFIG_HWMON=y
 CONFIG_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_QCOM=y
 CONFIG_HW_RANDOM=y
@@ -590,6 +591,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