[PATCH] thermal: samsung: Enable TMU by default

Krzysztof Kozlowski posted 1 patch 1 week, 6 days ago
drivers/thermal/samsung/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] thermal: samsung: Enable TMU by default
Posted by Krzysztof Kozlowski 1 week, 6 days ago
The SoC Thermal Management Unit (TMU) is essential for proper operation
of the SoCs.  Kernel should not ask users choice of drivers when that
choice is obvious and known to the developers that answer should be
'yes' or 'module'.

Impact of making it default:

1. arm64 defconfig: No changes, already present in defconfig.

2. arm32: No changes, the driver is already selected by MACH_EXYNOS.

3. COMPILE_TEST builds: enable by default for arm32 or arm64 builds,
   whenever ARCH_EXYNOS is selected.  This has impact on build time and
   feels logical, because if one selects ARCH_EXYNOS then probably by
   default wants to build test it entirely.  Kernels with COMPILE_TEST
   are not supposed to be used for booting.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 drivers/thermal/samsung/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/thermal/samsung/Kconfig b/drivers/thermal/samsung/Kconfig
index f4eff5a41a84..e1e8035d24fb 100644
--- a/drivers/thermal/samsung/Kconfig
+++ b/drivers/thermal/samsung/Kconfig
@@ -3,6 +3,7 @@ config EXYNOS_THERMAL
 	tristate "Exynos thermal management unit driver"
 	depends on THERMAL_OF
 	depends on HAS_IOMEM
+	default ARCH_EXYNOS
 	help
 	  If you say yes here you get support for the TMU (Thermal Management
 	  Unit) driver for Samsung Exynos series of SoCs. This driver initialises
-- 
2.53.0
Re: [PATCH] thermal: samsung: Enable TMU by default
Posted by Daniel Lezcano 1 week, 6 days ago
On 5/26/26 15:53, Krzysztof Kozlowski wrote:
> The SoC Thermal Management Unit (TMU) is essential for proper operation
> of the SoCs.  Kernel should not ask users choice of drivers when that
> choice is obvious and known to the developers that answer should be
> 'yes' or 'module'.
> 
> Impact of making it default:
> 
> 1. arm64 defconfig: No changes, already present in defconfig.
> 
> 2. arm32: No changes, the driver is already selected by MACH_EXYNOS.
> 
> 3. COMPILE_TEST builds: enable by default for arm32 or arm64 builds,
>     whenever ARCH_EXYNOS is selected.  This has impact on build time and
>     feels logical, because if one selects ARCH_EXYNOS then probably by
>     default wants to build test it entirely.  Kernels with COMPILE_TEST
>     are not supposed to be used for booting.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---

Applied, thanks