diff options
| author | Zheng Zhang | 2025-06-14 14:56:04 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-06-22 07:51:01 +0000 |
| commit | f1584bc73313f459040938429a2674df42370000 (patch) | |
| tree | 8e14a1e8fe895be1cae5eda5413754ad961a4a91 | |
| parent | 7c22fce0f5a6eb7ec36a3e81a2b5f3839099c659 (diff) | |
| download | openwrt-f1584bc73313f459040938429a2674df42370000.tar.gz | |
qualcommbe: 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 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>
| -rw-r--r-- | target/linux/qualcommbe/config-6.12 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/qualcommbe/config-6.12 b/target/linux/qualcommbe/config-6.12 index af5ba0f809..3ddc71dd3e 100644 --- a/target/linux/qualcommbe/config-6.12 +++ b/target/linux/qualcommbe/config-6.12 @@ -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 |