From: Frank Li <Frank.li@nxp.com>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>,
Jacky Bai <ping.bai@nxp.com>
Subject: Re: [PATCH 3/3] soc: imx: Spport i.MX9[4,52]
Date: Thu, 18 Dec 2025 10:44:46 -0500 [thread overview]
Message-ID: <aUQhbjs8WF9cYmPL@lizhi-Precision-Tower-5810> (raw)
In-Reply-To: <20251217-soc-imx9-fix-v1-3-0c763c2dbe29@nxp.com>
On Wed, Dec 17, 2025 at 08:42:09PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add i.MX9[4,52] machine compatible to allow soc device could be created.
>
> SOC_ID is 16bit format data:
> - i.MX943: 0x9430
> - i.MX952: 0x9520
> Update SOC_ID macro to get the accurate data.
>
> Co-developed-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> drivers/soc/imx/soc-imx9.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/soc/imx/soc-imx9.c b/drivers/soc/imx/soc-imx9.c
> index d9a686299c5f710bb9988c55ed601fc9d9f19229..d67bc7402b10e2966ff77cbf3b15c087540bd377 100644
> --- a/drivers/soc/imx/soc-imx9.c
> +++ b/drivers/soc/imx/soc-imx9.c
> @@ -12,7 +12,7 @@
> #include <linux/sys_soc.h>
>
> #define IMX_SIP_GET_SOC_INFO 0xc2000006
> -#define SOC_ID(x) (((x) & 0xFFFF) >> 8)
> +#define SOC_ID(x) (((x) & 0xFF) ? ((x) & 0xFFFF) >> 4 : ((x) & 0xFFFF) >> 8)
> #define SOC_REV_MAJOR(x) ((((x) >> 28) & 0xF) - 0x9)
> #define SOC_REV_MINOR(x) (((x) >> 24) & 0xF)
>
> @@ -68,7 +68,9 @@ static int imx9_soc_probe(struct platform_device *pdev)
>
> static __maybe_unused const struct of_device_id imx9_soc_match[] = {
> { .compatible = "fsl,imx93", },
> + { .compatible = "fsl,imx94", },
> { .compatible = "fsl,imx95", },
> + { .compatible = "fsl,imx952", },
Does bind doc already applied?
Frank
> { }
> };
>
>
> --
> 2.37.1
>
next prev parent reply other threads:[~2025-12-18 15:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 12:42 [PATCH 0/3] soc: imx: misc clean up and support i.MX9[4,52] Peng Fan (OSS)
2025-12-17 12:42 ` [PATCH 1/3] soc: imx: Use device-managed APIs for i.MX9 Peng Fan (OSS)
2025-12-18 15:41 ` Frank Li
2025-12-17 12:42 ` [PATCH 2/3] soc: imx: Use dev_err_probe() " Peng Fan (OSS)
2025-12-18 15:43 ` Frank Li
2025-12-17 12:42 ` [PATCH 3/3] soc: imx: Spport i.MX9[4,52] Peng Fan (OSS)
2025-12-18 15:44 ` Frank Li [this message]
2025-12-31 6:48 ` [PATCH 0/3] soc: imx: misc clean up and support i.MX9[4,52] Peng Fan
2026-01-17 5:38 ` Shawn Guo
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=aUQhbjs8WF9cYmPL@lizhi-Precision-Tower-5810 \
--to=frank.li@nxp.com \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=ping.bai@nxp.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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