mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vladimir Zapolskiy <vz@mleia.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] soc: nxp: Add a simple NXP LPC32xx socinfo driver
Date: Fri,  2 Jan 2026 01:56:45 +0200	[thread overview]
Message-ID: <20260101235647.2411062-1-vz@mleia.com> (raw)

Add a simple socinfo driver for NXP LPC32xx powered boards, the driver
exports SoC family, machine name and the unique SoC ID to userspace.

The unique SoC ID is read from SCB out, it replaces the current platform
specific functionality, which can be removed after adding this driver.

The System Control Block device tree node is added in the change given
below, but the driver operates without a dependency on it, so it does
not cause any regressions on boards with not updated dtb firmware:
- https://lore.kernel.org/linux-arm-kernel/20251231215754.2222308-3-vz@mleia.com/

Vladimir Zapolskiy (2):
  soc: Sort the list of subfolders alphabetically
  soc: nxp: Add a simple NXP LPC32xx socinfo driver

 drivers/soc/Kconfig           |   1 +
 drivers/soc/Makefile          |   3 +-
 drivers/soc/nxp/Kconfig       |  16 +++++
 drivers/soc/nxp/Makefile      |   2 +
 drivers/soc/nxp/lpc32xx-soc.c | 114 ++++++++++++++++++++++++++++++++++
 5 files changed, 135 insertions(+), 1 deletion(-)
 create mode 100644 drivers/soc/nxp/Kconfig
 create mode 100644 drivers/soc/nxp/Makefile
 create mode 100644 drivers/soc/nxp/lpc32xx-soc.c

-- 
2.43.0


             reply	other threads:[~2026-01-01 23:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-01 23:56 Vladimir Zapolskiy [this message]
2026-01-01 23:56 ` [PATCH 1/2] soc: Sort the list of subfolders alphabetically Vladimir Zapolskiy
2026-01-01 23:56 ` [PATCH 2/2] soc: nxp: Add a simple NXP LPC32xx socinfo driver Vladimir Zapolskiy
2026-01-02  9:34   ` Arnd Bergmann
2026-01-02  9:58   ` Krzysztof Kozlowski
2026-01-02 12:36     ` Vladimir Zapolskiy
2026-01-02 12:54       ` Krzysztof Kozlowski
2026-01-02 13:21         ` Vladimir Zapolskiy
2026-01-03 12:43           ` Krzysztof Kozlowski
2026-01-03 22:14             ` Vladimir Zapolskiy
2026-01-05  7:18               ` Krzysztof Kozlowski

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=20260101235647.2411062-1-vz@mleia.com \
    --to=vz@mleia.com \
    --cc=arnd@arndb.de \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piotr.wojtaszczyk@timesys.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

all inboxes | Powered by JetHome®