[PATCH 02/15] thermal/drivers/samsung: Depend on PM for EXYNOS_ACPM_THERMAL
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Oct 26 09:01:19 PDT 2026
The Exynos ACPM TMU driver only prepares and enables its APB clock
(priv->clk) from its runtime PM resume callback
(acpm_tmu_runtime_resume()).
Neither ARM64 nor ARCH_EXYNOS selects CONFIG_PM. When CONFIG_PM is
disabled, pm_runtime_resume_and_get() is a stub returning 0 without
invoking acpm_tmu_runtime_resume(), leaving the APB clock gated when
acpm_tmu_thread_fn() reads the memory-mapped INTPEND registers.
Add a PM dependency to EXYNOS_ACPM_THERMAL.
Fixes: 50a2c5d4062a ("thermal/drivers/samsung: Add Exynos ACPM TMU driver GS101")
Signed-off-by: Tudor Ambarus <tudor.ambarus at linaro.org>
---
drivers/thermal/samsung/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig
index 18ab4ffc8671..b879a63e97c7 100644
--- a/drivers/thermal/samsung/Kconfig
+++ b/drivers/thermal/samsung/Kconfig
@@ -15,6 +15,7 @@ config EXYNOS_ACPM_THERMAL
tristate "Exynos ACPM thermal management unit driver"
depends on THERMAL_OF
depends on HAS_IOMEM
+ depends on PM
depends on EXYNOS_ACPM_PROTOCOL
select REGMAP_MMIO
default ARCH_EXYNOS
--
2.56.0.257.gf7497c7d27-goog
More information about the linux-arm-kernel
mailing list