[PATCH v4 2/3] nvmem: Add read-only SpacemiT K3 eFuse support

Troy Mitchell troy.mitchell at linux.spacemit.com
Sun Nov 29 22:04:18 PST 2026


On Sun Nov 29, 2026 at 2:42 PM GMT, Jiayu Du wrote:
> Add read-only NVMEM access to bank 0 and bank 7 of the SpacemiT K3 eFuse
> controller. These banks contain temperature calibration parameters and
> other configuration data.
>
> Banks 1 and 2 contain the root key and SSK. Keep them outside the
> readable NVMEM ranges.
>
> Reload the shadows during probe and cache the data for subsequent reads.
> Use a 512-byte NVMEM space with bank-based offsets and keepouts for the
> other banks.
>
> Signed-off-by: Jiayu Du <duge1256 at gmail.com>
> Tested-by: Aurelien Jarno <aurelien at aurel32.net>
Tested on CoM260 with both the vendor firmware and a build that skips the
eFuse reload; nvmem contents match the shadow registers

Tested-by: Troy Mitchell <troy.mitchell at linux.spacemit.com> # CoM260
Reviewed-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>

-- 
Troy Mitchell

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261130/cf4cbdbc/attachment.sig>


More information about the linux-riscv mailing list