mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thermal: samsung: Enable TMU by default
@ 2026-05-26 13:53 Krzysztof Kozlowski
  2026-05-26 16:17 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-26 13:53 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Krzysztof Kozlowski,
	Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	linux-pm, linux-samsung-soc, linux-kernel
  Cc: Krzysztof Kozlowski

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] thermal: samsung: Enable TMU by default
  2026-05-26 13:53 [PATCH] thermal: samsung: Enable TMU by default Krzysztof Kozlowski
@ 2026-05-26 16:17 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2026-05-26 16:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz,
	Krzysztof Kozlowski, Rafael J. Wysocki, Daniel Lezcano,
	Zhang Rui, Lukasz Luba, linux-pm, linux-samsung-soc,
	linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-26 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-26 13:53 [PATCH] thermal: samsung: Enable TMU by default Krzysztof Kozlowski
2026-05-26 16:17 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®