U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/6] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu
@ 2025-03-22 18:38 Adam Ford
  2025-03-22 18:38 ` [PATCH V3 1/6] imx: imx9: Imply IMX_TMU Adam Ford
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Adam Ford @ 2025-03-22 18:38 UTC (permalink / raw)
  To: u-boot
  Cc: aford, marek.vasut, festevam, Adam Ford, Stefano Babic,
	NXP i.MX U-Boot Team, Tom Rini, Enrico Leto, Heiko Schocher,
	Peng Fan, Yannic Moog, Teresa Remmet, Gilles Talis,
	Marcel Ziswiler, Ye Li, Wadim Egorov, Christoph Stoidner,
	Hou Zhiqiang, Michael Trimarchi

The imx8_cpu driver uses the driver model to represent the processor
cores in the dm tree as well as display the processor type and speed
on boot.  Currently, the imx8_cpu driver only displays the temperature
grade of the processor if the processor is IMX9, so in order to display
that info, the check in imx8_cpu is changed to check for IMX_TMU
and IMX_TMU is implied for IMX8, IMX8M and IMX9 SoC familes.  If
users want to fall back to the older method to display the SoC type
or remove the temperature grade information, they can.  Doing this
at the SoC family level reduces the number of duplicated config options
for each board, and was done at the request of the IMX U-Boot custodian.

Any testing on an i.MX8Q or i.MX9 would be appreciated as I don't have
a board that runs either of these platforms.

V3:  Added the imply IMX_TMU for the 8M family and added the imply for
     CPU and CPU_IMX to IMX8, IMX8M and IMX9 families

V2:  Changed the check in imx8_cpu to drop the IMX9 check and instead
     imply IMX_TMU in the IMX9 family


Adam Ford (6):
  imx: imx9: Imply IMX_TMU
  imx: imx8m: Imply IMX_TMU
  cpu: imx8_cpu: Print Speed grade if IMX_THERMAL or IMX_TMU
  imx: imx8m: Imply CPU_IMX by default
  imx: imx8: Imply CPU_IMX by default
  imx: imx9: Imply CPU_IMX by default

 arch/arm/mach-imx/imx8/Kconfig  | 2 ++
 arch/arm/mach-imx/imx8m/Kconfig | 4 ++++
 arch/arm/mach-imx/imx9/Kconfig  | 3 +++
 drivers/cpu/imx8_cpu.c          | 2 +-
 4 files changed, 10 insertions(+), 1 deletion(-)

-- 
2.45.2


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

end of thread, other threads:[~2025-03-23  5:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH V3 2/6] imx: imx8m: " Adam Ford
2025-03-22 23:29   ` 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

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