From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Cc: aford@beaconembedded.com, festevam@gmail.com,
marek.vasut@mailbox.org, 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>,
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: [PATCH V4 2/7] cpu: imx8_cpu: Expand get_imx_type_str list of supported CPUs
Date: Mon, 24 Mar 2025 21:54:43 -0500 [thread overview]
Message-ID: <20250325025452.950303-3-aford173@gmail.com> (raw)
In-Reply-To: <20250325025452.950303-1-aford173@gmail.com>
The imx8_cpu is capable of running on IMX8, IMX8M, and IMX9
families, but the CPU list is limited on the 8M variants. Expand
this list to show more variants and their respective names.
Signed-off-by: Adam Ford <aford173@gmail.com>
---
drivers/cpu/imx8_cpu.c | 44 +++++++++++++++++++++++++++++++++++++++---
1 file changed, 41 insertions(+), 3 deletions(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index 53d31b3c0bf..39b3c194131 100644
--- a/drivers/cpu/imx8_cpu.c
+++ b/drivers/cpu/imx8_cpu.c
@@ -35,11 +35,49 @@ static const char *get_imx_type_str(u32 imxtype)
{
switch (imxtype) {
case MXC_CPU_IMX8MM:
- return "8MM";
+ return "8MMQ"; /* Quad-core version of the imx8mm */
+ case MXC_CPU_IMX8MML:
+ return "8MMQL"; /* Quad-core Lite version of the imx8mm */
+ case MXC_CPU_IMX8MMD:
+ return "8MMD"; /* Dual-core version of the imx8mm */
+ case MXC_CPU_IMX8MMDL:
+ return "8MMDL"; /* Dual-core Lite version of the imx8mm */
+ case MXC_CPU_IMX8MMS:
+ return "8MMS"; /* Single-core version of the imx8mm */
+ case MXC_CPU_IMX8MMSL:
+ return "8MMSL"; /* Single-core Lite version of the imx8mm */
case MXC_CPU_IMX8MN:
- return "8MN";
+ return "8MNano Quad"; /* Quad-core version */
+ case MXC_CPU_IMX8MND:
+ return "8MNano Dual"; /* Dual-core version */
+ case MXC_CPU_IMX8MNS:
+ return "8MNano Solo"; /* Single-core version */
+ case MXC_CPU_IMX8MNL:
+ return "8MNano QuadLite"; /* Quad-core Lite version */
+ case MXC_CPU_IMX8MNDL:
+ return "8MNano DualLite"; /* Dual-core Lite version */
+ case MXC_CPU_IMX8MNSL:
+ return "8MNano SoloLite";/* Single-core Lite version of the imx8mn */
+ case MXC_CPU_IMX8MNUQ:
+ return "8MNano UltraLite Quad";/* Quad-core UltraLite version of the imx8mn */
+ case MXC_CPU_IMX8MNUD:
+ return "8MNano UltraLite Dual";/* Dual-core UltraLite version of the imx8mn */
+ case MXC_CPU_IMX8MNUS:
+ return "8MNano UltraLite Solo";/* Single-core UltraLite version of the imx8mn */
case MXC_CPU_IMX8MP:
- return "8MP";
+ return "8MP[8]"; /* Quad-core version of the imx8mp */
+ case MXC_CPU_IMX8MPD:
+ return "8MP Dual[3]"; /* Dual-core version of the imx8mp */
+ case MXC_CPU_IMX8MPL:
+ return "8MP Lite[4]"; /* Quad-core Lite version of the imx8mp */
+ case MXC_CPU_IMX8MP6:
+ return "8MP[6]"; /* Quad-core version of the imx8mp, NPU fused */
+ case MXC_CPU_IMX8MQ:
+ return "8MQ"; /* Quad-core version of the imx8mq */
+ case MXC_CPU_IMX8MQL:
+ return "8MQLite"; /* Quad-core Lite version of the imx8mq */
+ case MXC_CPU_IMX8MD:
+ return "8MD"; /* Dual-core version of the imx8mq */
case MXC_CPU_IMX8QXP:
case MXC_CPU_IMX8QXP_A0:
return "8QXP";
--
2.45.2
next prev parent reply other threads:[~2025-03-25 2:55 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 ` Adam Ford [this message]
2025-03-25 2:54 ` [PATCH V4 3/7] imx: imx8m: " 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 ` [PATCH V4 0/7] Migrate IMX8, IMX8M and IMX9 to use imx8_cpu Peng Fan
2025-03-25 12:56 ` 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=20250325025452.950303-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=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