U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@oss.nxp.com>
To: Adam Ford <aford173@gmail.com>
Cc: u-boot@lists.denx.de, aford@beaconembedded.com,
	festevam@gmail.com, marek.vasut@mailbox.org,
	Stefano Babic <sbabic@denx.de>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Tom Rini <trini@konsulko.com>,
	Enrico Leto <enrico.leto@siemens.com>,
	Heiko Schocher <hs@denx.de>, Peng Fan <peng.fan@nxp.com>,
	Yannic Moog <y.moog@phytec.de>,
	Teresa Remmet <t.remmet@phytec.de>,
	Gilles Talis <gilles.talis@gmail.com>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	Ye Li <ye.li@nxp.com>, Christoph Stoidner <c.stoidner@phytec.de>,
	Wadim Egorov <w.egorov@phytec.de>,
	Hou Zhiqiang <Zhiqiang.Hou@nxp.com>,
	Michael Trimarchi <michael@amarulasolutions.com>
Subject: Re: [PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu
Date: Tue, 25 Mar 2025 15:43:21 +0800	[thread overview]
Message-ID: <20250325074320.GA27303@nxa18884-linux> (raw)
In-Reply-To: <20250325025452.950303-1-aford173@gmail.com>

On Mon, Mar 24, 2025 at 09:54:41PM -0500, Adam Ford wrote:
>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.
>
>V4:  Make IMX9 select CPU_IMX instead of imply since it appears to be
>     required for all in the platform.
>     Fixed some whitespace in imx8_cpu around the temperature grade message.
>     Re-ordered some items in Kconfig to keep them alphabetical
>     Added more CPU items to the list inside imx8_cpu to match what was done
>     from arch/arm/mach-imx/cpu.c.
>     
>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.  CPU_IMX depends
>     on CPU, so both have to be selected.
>
>V2:  Changed the check in imx8_cpu to drop the IMX9 check and instead
>     imply IMX_TMU in the IMX9 family
>     
>Adam Ford (7):
>  imx: imx9: Imply IMX_TMU
>  cpu: imx8_cpu: Expand get_imx_type_str list of supported CPUs
>  imx: imx8m: Imply IMX_TMU
>  cpu: imx8_cpu: Print Speed grade if 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 |  3 ++
> arch/arm/mach-imx/imx9/Kconfig  |  3 ++
> drivers/cpu/imx8_cpu.c          | 54 ++++++++++++++++++++++++++++-----
> 4 files changed, 54 insertions(+), 8 deletions(-)
>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

>-- 
>2.45.2
>

  parent reply	other threads:[~2025-03-25  6:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-25  2:54 [PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu Adam Ford
2025-03-25  2:54 ` [PATCH V4 1/7] imx: imx9: Imply IMX_TMU Adam Ford
2025-03-25  2:54 ` [PATCH V4 2/7] cpu: imx8_cpu: Expand get_imx_type_str list of supported CPUs Adam Ford
2025-03-25  2:54 ` [PATCH V4 3/7] imx: imx8m: Imply IMX_TMU Adam Ford
2025-03-25  2:54 ` [PATCH V4 4/7] cpu: imx8_cpu: Print Speed grade if IMX_TMU Adam Ford
2025-03-25  3:37   ` Marek Vasut
2025-03-25 11:36     ` Fabio Estevam
2025-03-25 12:37       ` Adam Ford
2025-03-25 14:14         ` Marek Vasut
2025-03-25 14:20           ` Adam Ford
2025-03-25 22:00         ` Fabio Estevam
2025-03-26  0:08           ` Adam Ford
2025-03-25  2:54 ` [PATCH V4 5/7] imx: imx8m: Imply CPU_IMX by default Adam Ford
2025-03-25  2:54 ` [PATCH V4 6/7] imx: imx8: " Adam Ford
2025-03-25  2:54 ` [PATCH V4 7/7] imx: imx9: " Adam Ford
2025-03-25  7:43 ` Peng Fan [this message]
2025-03-25 12:56 ` [PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu Fabio Estevam

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=20250325074320.GA27303@nxa18884-linux \
    --to=peng.fan@oss.nxp.com \
    --cc=Zhiqiang.Hou@nxp.com \
    --cc=aford173@gmail.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=t.remmet@phytec.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