[PATCH 0/4] i.MX8M: Add SNVS support
Sascha Hauer
s.hauer at pengutronix.de
Mon Sep 8 01:31:54 PDT 2025
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 at 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 at pengutronix.de>
More information about the barebox
mailing list