[PATCH] misc: Add RZG2L OTP support
Tom Rini
trini at konsulko.com
Tue Apr 14 16:53:51 CEST 2026
On Tue, Apr 14, 2026 at 11:14:21AM +0200, Mathieu Othacehe wrote:
> Add OTP support through the fuse command. Fusing is directly performed by
> U-Boot, which means that the trusted-firmware must allow the non-secure
> world to perform fusing operations.
>
> Signed-off-by: Mathieu Othacehe <othacehe at gnu.org>
> ---
> drivers/misc/Kconfig | 7 ++
> drivers/misc/Makefile | 1 +
> drivers/misc/rzg2l_otp.c | 222 +++++++++++++++++++++++++++++++++++++++
> 3 files changed, 230 insertions(+)
> create mode 100644 drivers/misc/rzg2l_otp.c
>
> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
> index ea785793d18..16cb800a393 100644
> --- a/drivers/misc/Kconfig
> +++ b/drivers/misc/Kconfig
> @@ -132,6 +132,13 @@ config SPL_ROCKCHIP_IODOMAIN
> for the IO-domain setting of the SoC to match the voltage supplied
> by the regulators.
>
> +config RZG2L_OTP
> + bool "Renesas RZ/G2L OTP support"
> + depends on MISC
> + help
> + Enable support for the OTP controller on
> + Renesas RZ/G2L SoCs.
> +
If there's other feedback, this should have some dependency on CMD_FUSE
as well (since that's what makes use of the functionality) but indeed
it's very inconsistent currently, and the area in general could use some
modernization.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260414/3decdd42/attachment.sig>
More information about the U-Boot
mailing list