From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/4] i.MX8M: Add SNVS support
Date: Mon, 08 Sep 2025 10:31:54 +0200 [thread overview]
Message-ID: <20250908-imx8-snvs-v1-0-1049458a0286@pengutronix.de> (raw)
This series adds support for Secure Non Volatile Storage (SNVS) to
i.MX8M.
The driver itself already exists for i.MX6, so we only need to add the
missing pieces and enable it in the config.
With this the SNVS is available as /dev/snvs. On i.MX8M its size is 16
bytes and the values are preserved over reset.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (4):
ARM: i.MX8M: initialize SNVS
nvmem: snvs_lpgpr: Add i.MX7/8 support
nvmem: snvs_lpgpr: set nvmem config name to snvs
ARM: defconfigs: enable SNVS driver in i.MX8 configs
arch/arm/configs/imx_v8_defconfig | 1 +
arch/arm/configs/multi_v8_defconfig | 1 +
arch/arm/mach-imx/Kconfig | 5 +++++
arch/arm/mach-imx/Makefile | 1 +
arch/arm/mach-imx/atf.c | 5 +++++
arch/arm/mach-imx/snvs.c | 44 +++++++++++++++++++++++++++++++++++++
drivers/nvmem/snvs_lpgpr.c | 21 +++++++++++++++++-
include/mach/imx/imx8m-regs.h | 1 +
include/mach/imx/snvs.h | 9 ++++++++
9 files changed, 87 insertions(+), 1 deletion(-)
---
base-commit: 33d2188b0b95b3388e5533c05aeecec8caa1e8d2
change-id: 20250908-imx8-snvs-560f9449433a
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next reply other threads:[~2025-09-08 9:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 8:31 Sascha Hauer [this message]
2025-09-08 8:31 ` [PATCH 1/4] ARM: i.MX8M: initialize SNVS Sascha Hauer
2025-09-08 8:31 ` [PATCH 2/4] nvmem: snvs_lpgpr: Add i.MX7/8 support Sascha Hauer
2025-09-08 8:31 ` [PATCH 3/4] nvmem: snvs_lpgpr: set nvmem config name to snvs Sascha Hauer
2025-09-08 8:31 ` [PATCH 4/4] ARM: defconfigs: enable SNVS driver in i.MX8 configs Sascha Hauer
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=20250908-imx8-snvs-v1-0-1049458a0286@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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