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

From: Troy Mitchell

Date: Mon Nov 30 2026 - 01:05:19 EST


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@xxxxxxxxx>
> Tested-by: Aurelien Jarno <aurelien@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxx> # CoM260
Reviewed-by: Troy Mitchell <troy.mitchell@xxxxxxxxxxxxxxxxxx>

--
Troy Mitchell

Attachment: signature.asc
Description: PGP signature