Re: [PATCH 2/2] arm64:?==?utf-8?q? dts: rockchip: Make eeprom read-only for Radxa ROCK 5A
Dragan Simic
dsimic at manjaro.org
Sun Nov 9 21:17:25 PST 2025
Hello Naoki,
On Monday, November 10, 2025 04:54 CET, FUKAUMI Naoki <naoki at radxa.com> wrote:
> Make EEPROM read-only as it may contain factory-programmed
> board-specific data.
>
> Fixes: 89c880808cff8 ("arm64: dts: rockchip: add I2C EEPROM to rock-5a")
> Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
> ---
> arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
> index 19a08f7794e67..ae7b03488c9e7 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
> @@ -254,6 +254,7 @@ eeprom: eeprom at 50 {
> compatible = "belling,bl24c16a", "atmel,24c16";
> reg = <0x50>;
> pagesize = <16>;
> + read-only;
> };
> };
I've checked the board schematic and making this BL24C16 chip
read-only makes sense to me. However, I think that the patch
description should be expanded to contain a better description
of what might be found in the chip, such as a factory-programmed
MAC address. Also, providing a link to the board schematic, as
a reference, would be a good idea.
With these remarks addressed in a v2, please feel free to include
Reviewed-by: Dragan Simic <dsimic at manjaro.org>
Additionally, it would make sense to squash this patch and your
other patch that addresses the ROCK 5C together. They're very
similar and having them together in a single commit might actually
help the people browsing the repository understand it better.
More information about the Linux-rockchip
mailing list