imx: imx9: Imply IMX_TMU
authorAdam Ford <aford173@gmail.com>
Tue, 25 Mar 2025 02:54:42 +0000 (21:54 -0500)
committerFabio Estevam <festevam@gmail.com>
Tue, 25 Mar 2025 11:32:15 +0000 (08:32 -0300)
If the CPU Information is displayed from imx8_cpu, it displays
the cpu temperature grade and operating temperature if
CONFIG_IMX9 is defined. This behavior is similar to what
happens arch/arm/mach-imx/cpu.c except that the latter
checks for CONFIG_IMX_THERMAL or CONFIG_IMX_TMU.
In preparation to make imx8_cpu act like the previous
implementation for any CPU, make IMX9 imply IMX_TMU, so
it will be always displayed unless a user decides to
disable it.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
arch/arm/mach-imx/imx9/Kconfig

index 49220c0..c3e758e 100644 (file)
@@ -10,6 +10,7 @@ config IMX9
        select BINMAN
        select HAS_CAAM
        select ROM_UNIFIED_SECTIONS
+       imply IMX_TMU
 
 config IMX93
        bool