Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	 Pengutronix Kernel Team <kernel@pengutronix.de>,
	 Fabio Estevam <festevam@gmail.com>,
	Marco Felsch <m.felsch@pengutronix.de>
Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	 linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH v2 0/3] soc: imx8m: Dump higher 64bits UID
Date: Wed, 23 Apr 2025 22:37:03 +0800	[thread overview]
Message-ID: <20250423-uid-128-v2-0-327c30fe59a9@nxp.com> (raw)

i.MX8MP UID is actually 128bits and partitioned into two parts.
The 1st 64bits are at 0x410 and 0x420, and 2nd 64bits are at 0xE00
and 0xE10.

patch 1, 2 is for code cleanup.
patch 3 is for i.MX8MP 128bits support

Marco comments on v1[1] to introduce soc_uid hook.
To do it further, introduce imx8m_soc_prepare/unprepare.

[1]https://lore.kernel.org/all/20250317094518.yf2hbq5sjl7lgfwb@pengutronix.de/

Tested on i.MX8MP/M-EVK

V2:
 Introduce soc_uid hook
 Introduce imx8m_soc_prepare/unprepare

V1: https://lore.kernel.org/all/20250314065225.442717-1-peng.fan@oss.nxp.com/

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Peng Fan (3):
      soc: imx8m: Cleanup with adding imx8m_soc_[un]prepare
      soc: imx8m: Introduce soc_uid hook
      soc: imx8m: Dump higher 64bits UID

 drivers/soc/imx/soc-imx8m.c | 177 +++++++++++++++++++++++++++-----------------
 1 file changed, 108 insertions(+), 69 deletions(-)
---
base-commit: bc8aa6cdadcc00862f2b5720e5de2e17f696a081
change-id: 20250421-uid-128-a0f9ad528437

Best regards,
-- 
Peng Fan <peng.fan@nxp.com>


             reply	other threads:[~2025-04-23 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23 14:37 Peng Fan (OSS) [this message]
2025-04-23 14:37 ` [PATCH v2 1/3] soc: imx8m: Cleanup with adding imx8m_soc_[un]prepare Peng Fan (OSS)
2025-04-23 16:29   ` Marco Felsch
2025-04-23 14:37 ` [PATCH v2 2/3] soc: imx8m: Introduce soc_uid hook Peng Fan (OSS)
2025-04-23 16:35   ` Marco Felsch
2025-04-23 14:37 ` [PATCH v2 3/3] soc: imx8m: Dump higher 64bits UID Peng Fan (OSS)
2025-04-23 16:41   ` Marco Felsch
2025-05-09 10:16 ` [PATCH v2 0/3] " 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=20250423-uid-128-v2-0-327c30fe59a9@nxp.com \
    --to=peng.fan@oss.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=m.felsch@pengutronix.de \
    --cc=peng.fan@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