mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] i.MX8M: Add SNVS support
@ 2025-09-08  8:31 Sascha Hauer
  2025-09-08  8:31 ` [PATCH 1/4] ARM: i.MX8M: initialize SNVS Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2025-09-08  8:31 UTC (permalink / raw)
  To: BAREBOX

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>




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-08  9:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-08  8:31 [PATCH 0/4] i.MX8M: Add SNVS support Sascha Hauer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox