U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: aford@beaconembedded.com, marek.vasut@mailbox.org,
	festevam@gmail.com, Adam Ford <aford173@gmail.com>,
	Stefano Babic <sbabic@denx.de>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Tom Rini <trini@konsulko.com>, Heiko Schocher <hs@denx.de>,
	Enrico Leto <enrico.leto@siemens.com>,
	Peng Fan <peng.fan@nxp.com>, Yannic Moog <y.moog@phytec.de>,
	Gilles Talis <gilles.talis@gmail.com>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Ye Li <ye.li@nxp.com>, Wadim Egorov <w.egorov@phytec.de>,
	Christoph Stoidner <c.stoidner@phytec.de>,
	Hou Zhiqiang <Zhiqiang.Hou@nxp.com>,
	Michael Trimarchi <michael@amarulasolutions.com>
Subject: [PATCH V3 2/6] imx: imx8m: Imply IMX_TMU
Date: Sat, 22 Mar 2025 13:38:04 -0500	[thread overview]
Message-ID: <20250322183812.784676-3-aford173@gmail.com> (raw)
In-Reply-To: <20250322183812.784676-1-aford173@gmail.com>

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 mach-imx/cpu.c,
except that the latter checks for IMX_THERMAL or IMX_TMU.

In preparation to make imx8_cpu act like the previous implementation
for any CPU, make IMX8M imply IMX_TMU so it will be always displayed
unless a user decides to disable it.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 arch/arm/mach-imx/imx8m/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 89f2b50c8a2..8ee699a343c 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -8,6 +8,7 @@ config IMX8M
 	select LTO
 	select ROM_UNIFIED_SECTIONS
 	select ARMV8_CRYPTO
+	imply IMX_TMU
 
 config IMX8MQ
 	bool
-- 
2.45.2


  parent reply	other threads:[~2025-03-22 18:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-22 18:38 [PATCH V3 0/6] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu Adam Ford
2025-03-22 18:38 ` [PATCH V3 1/6] imx: imx9: Imply IMX_TMU Adam Ford
2025-03-22 23:29   ` Marek Vasut
2025-03-22 18:38 ` Adam Ford [this message]
2025-03-22 23:29   ` [PATCH V3 2/6] imx: imx8m: " Marek Vasut
2025-03-22 18:38 ` [PATCH V3 3/6] cpu: imx8_cpu: Print Speed grade if IMX_THERMAL or IMX_TMU Adam Ford
2025-03-22 23:30   ` Marek Vasut
2025-03-23  0:03     ` Adam Ford
2025-03-23  5:08       ` Marek Vasut
2025-03-22 18:38 ` [PATCH V3 4/6] imx: imx8m: Imply CPU_IMX by default Adam Ford
2025-03-22 23:30   ` Marek Vasut
2025-03-22 18:38 ` [PATCH V3 5/6] imx: imx8: " Adam Ford
2025-03-22 23:30   ` Marek Vasut
2025-03-23  0:00     ` Adam Ford
2025-03-23  5:09       ` Marek Vasut
2025-03-22 18:38 ` [PATCH V3 6/6] imx: imx9: " Adam Ford
2025-03-22 23:30   ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250322183812.784676-3-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=Zhiqiang.Hou@nxp.com \
    --cc=aford@beaconembedded.com \
    --cc=c.stoidner@phytec.de \
    --cc=enrico.leto@siemens.com \
    --cc=festevam@gmail.com \
    --cc=gilles.talis@gmail.com \
    --cc=hs@denx.de \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marek.vasut@mailbox.org \
    --cc=michael@amarulasolutions.com \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-imx@nxp.com \
    --cc=w.egorov@phytec.de \
    --cc=y.moog@phytec.de \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox