arm64: dts: rockchip: Make eeprom read-only for Radxa ROCK 3C/5A/5C
Subsystems (2)
PATCH v3 1/1 arm64: dts: rockchip: Make eeprom read-only for Radxa ROCK 3C/5A/5C
The BL24C16 EEPROM implemented on the Radxa ROCK 3C, 5A, and 5C [1]
[2] [3] is designed to have data written during factory programming (regardless of whether data is actually written or not), and we at Radxa permit users to read the data but not write to it. [4] Therefore, we will add a read-only property to the eeprom node.
[1] https://dl.radxa.com/rock3/docs/hw/3c/v1400/radxa_rock_3c_v1400_schematic.pdf p.13
[2] https://dl.radxa.com/rock5/5a/docs/hw/radxa_rock5a_V1.1_sch.pdf p.19
[3] https://dl.radxa.com/rock5/5c/docs/hw/v1100/radxa_rock_5c_schematic_v1100.pdf p.18
[4] https://github.com/radxa/u-boot/blob/next-dev-v2024.10/drivers/misc/radxa-i2c-eeprom.c
---
Changes in v3:
- Reword commit message
Changes in v2:
- Reword commit message (Dragan Simic)
--- arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 1 + arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts | 1 + 3 files changed, 3 insertions(+)
arch/arm64/boot/dts/rockchip/rk3566-rock-3c.dts +1 -0
@@ -466,6 +466,7 @@ eeprom: eeprom@50 { compatible = "belling,bl24c16a", "atmel,24c16"; reg = <0x50>; pagesize = <16>; + read-only; vcc-supply = <&vcca1v8_pmu>; }; };
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +1 -0
@@ -233,6 +233,7 @@ eeprom: eeprom@50 { compatible = "belling,bl24c16a", "atmel,24c16"; reg = <0x50>; pagesize = <16>; + read-only; vcc-supply = <&vcc_3v3_pmu>; }; };
arch/arm64/boot/dts/rockchip/rk3588s-rock-5c.dts +1 -0
@@ -325,6 +325,7 @@ eeprom@50 { compatible = "belling,bl24c16a", "atmel,24c16"; reg = <0x50>; pagesize = <16>; + read-only; vcc-supply = <&vcc_3v3_pmu>; }; };
Signature · 7 lines
2.43.0 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip
Hi,
Quoted 3 lines
Fixes ee219017ddb50 ("arm64: dts: rockchip: Add Radxa ROCK 3C")Fixes 89c880808cff8 ("arm64: dts: rockchip: add I2C EEPROM to rock-5a")Fixes 3ddf5cdb77e6e ("arm64: dts: rockchip: add Radxa ROCK 5C")
Since the EEPROM on these boards are empty, this patch doesn't fix anything, so the Fixes tag is not needed here. If you want it to be backported, you can add "Cc: [email protected]"
Thanks,
Chukun
Hi Chukun,
Quoted 9 lines · Chukun Pan
Hi,
Quoted 3 lines
Fixes ee219017ddb50 ("arm64: dts: rockchip: Add Radxa ROCK 3C")Fixes 89c880808cff8 ("arm64: dts: rockchip: add I2C EEPROM to rock-5a")Fixes 3ddf5cdb77e6e ("arm64: dts: rockchip: add Radxa ROCK 5C")Since the EEPROM on these boards are empty, this patch doesn't fix anything, so the Fixes tag is not needed here. If you want it to be backported, you can add "Cc: [email protected]"
Ah, sure, Fixes tags are not needed. Thank you for pointing that out.
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 3 lines
Thanks,
Chukun
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
Hi Heiko,
Should I send v4 just for removing Fixes tags?
Best regards,
--
FUKAUMI Naoki
Radxa Computer (Shenzhen) Co., Ltd.
Quoted 9 lines · FUKAUMI Naoki
Hi Chukun,
Quoted 6 lines · Chukun Pan
Hi,
Quoted 3 lines
Fixes ee219017ddb50 ("arm64: dts: rockchip: Add Radxa ROCK 3C")Fixes 89c880808cff8 ("arm64: dts: rockchip: add I2C EEPROM to rock-5a")Fixes 3ddf5cdb77e6e ("arm64: dts: rockchip: add Radxa ROCK 5C")
Quoted 17 lines
Quoted 3 lines
Since the EEPROM on these boards are empty, this patch doesn't fix anything, so the Fixes tag is not needed here. If you want it to be backported, you can add "Cc: [email protected]"
Ah, sure, Fixes tags are not needed. Thank you for pointing that out.
Best regards,
Signature · 2 lines
FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd.Quoted 3 lines
Thanks,
Chukun
_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip