From: Aurelien Jarno <aurelien@aurel32.net>
To: Jiayu Du <duge1256@gmail.com>
Cc: srini@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, dlan@kernel.org,
troy.mitchell@linux.spacemit.com, me@ziyao.cc, pjw@kernel.org,
palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr,
p.zabel@pengutronix.de, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] nvmem: Add read-only SpacemiT K3 eFuse support
Date: Tue, 24 Nov 2026 22:52:01 +0100 [thread overview]
Message-ID: <awYHAU239WMaqVKk@aurel32.net> (raw)
In-Reply-To: <20261122173810.2409146-3-duge1256@gmail.com>
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@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@aurel32.net>
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
WARNING: multiple messages have this Message-ID (diff)
From: Aurelien Jarno <aurelien@aurel32.net>
To: Jiayu Du <duge1256@gmail.com>
Cc: srini@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, dlan@kernel.org,
troy.mitchell@linux.spacemit.com, me@ziyao.cc, pjw@kernel.org,
palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr,
p.zabel@pengutronix.de, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] nvmem: Add read-only SpacemiT K3 eFuse support
Date: Tue, 24 Nov 2026 22:52:01 +0100 [thread overview]
Message-ID: <awYHAU239WMaqVKk@aurel32.net> (raw)
In-Reply-To: <20261122173810.2409146-3-duge1256@gmail.com>
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@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@aurel32.net>
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2026-11-24 21:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 17:38 [PATCH v3 0/3] Add read-only SpacemiT K3 eFuse support Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-22 17:38 ` [PATCH v3 1/3] dt-bindings: nvmem: Add SpacemiT K3 eFuse controller Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-22 17:38 ` [PATCH v3 2/3] nvmem: Add read-only SpacemiT K3 eFuse support Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-23 9:24 ` Troy Mitchell
2026-11-23 9:24 ` Troy Mitchell
2026-11-23 12:47 ` Jiayu Du
2026-11-23 12:47 ` Jiayu Du
2026-11-24 21:52 ` Aurelien Jarno [this message]
2026-11-24 21:52 ` Aurelien Jarno
2026-11-25 8:50 ` Jiayu Du
2026-11-25 8:50 ` Jiayu Du
2026-11-22 17:38 ` [PATCH v3 3/3] riscv: dts: spacemit: Add K3 eFuse and temperature trim cells Jiayu Du
2026-11-22 17:38 ` Jiayu Du
2026-11-24 21:56 ` Aurelien Jarno
2026-11-24 21:56 ` Aurelien Jarno
2026-11-25 8:49 ` Jiayu Du
2026-11-25 8:49 ` Jiayu Du
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awYHAU239WMaqVKk@aurel32.net \
--to=aurelien@aurel32.net \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlan@kernel.org \
--cc=duge1256@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=me@ziyao.cc \
--cc=p.zabel@pengutronix.de \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
--cc=srini@kernel.org \
--cc=troy.mitchell@linux.spacemit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.