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

Jiayu Du duge1256 at gmail.com
Wed Nov 25 00:50:47 PST 2026


On Tue, Nov 24, 2026 at 10:52:01PM +0100, Aurelien Jarno wrote:
> 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>

Hi Aurelien,

Thanks for testing and comparing the data with the vendor driver.
I'll include your Tested-by in v4.

Best regards,
Jiayu Du




More information about the linux-riscv mailing list