]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
thermal/drivers/samsung: Enable TMU by default
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 26 May 2026 13:53:13 +0000 (15:53 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 3 Jun 2026 07:12:37 +0000 (09:12 +0200)
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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260526135312.8697-2-krzysztof.kozlowski@oss.qualcomm.com
drivers/thermal/samsung/Kconfig

index f4eff5a41a84ce02b12abb85d6a0f8818031d0dc..e1e8035d24fb22b9c50c5cb6522e38120340f446 100644 (file)
@@ -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