stm32mp: Add tamp_nvram driver
authorSimeon Marijon <simeon.marijon@foss.st.com>
Mon, 19 May 2025 11:23:54 +0000 (13:23 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:56 +0000 (09:42 +0200)
commit6b9ecdfe9acb15be1763a90a43efcf6f79022507
tree79e1f835bb91a94499e4c08d6aefb9bb50f0f983
parent3f2eb09c2233904e973b94c08420358b7f0e3c31
stm32mp: Add tamp_nvram driver

TAMP backup registers will be exposed as nvmem cells.

Each registers ([0..127] for STM32MP2, [0..31] for STM32MP1) could be
exposed as nvmem cells under the nvram node in device tree

Signed-off-by: Simeon Marijon <simeon.marijon@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/Kconfig
arch/arm/mach-stm32mp/Makefile
arch/arm/mach-stm32mp/tamp_nvram.c [new file with mode: 0644]