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

Aurelien Jarno aurelien at aurel32.net
Tue Nov 24 13:52:01 PST 2026


Hi Jiayu,

On 2026-11-23 01:38, 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.
> 
> 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>
> ---
>  MAINTAINERS                       |   1 +
>  drivers/nvmem/Kconfig             |  11 ++
>  drivers/nvmem/Makefile            |   1 +
>  drivers/nvmem/spacemit-k3-efuse.c | 205 ++++++++++++++++++++++++++++++
>  4 files changed, 218 insertions(+)
>  create mode 100644 drivers/nvmem/spacemit-k3-efuse.c

Thanks for this new version. I confirm the nvmem format is now much more 
intelligible. The content for banks 0 and 7 matches what is reported by 
the vendor driver under Bianbu. Therefore:

Tested-by: Aurelien Jarno <aurelien at aurel32.net>

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net



More information about the linux-riscv mailing list