nvmem: rockchip-otp: Add support for RK3506
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: nvmem: rockchip,otp: Add compatible for RK3506Documentation/ | +2 | 0 replies | |
| 2/3 | nvmem: rockchip-otp: Add support for RK3506drivers/ | +12 | 0 replies | |
| 3/3 | ARM: dts: rockchip: Enable OTP controller for RK3506arch/ | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] nvmem: rockchip-otp: Add support for RK3506
This series adds support for the OTP controller in Rockchip RK3506 SoC.
The OTP controller is very similar to the one in RK3528, except that trying to read data from byte offset 120-127 result in an ECC error:
rockchip-otp ff4f0000.efuse: ecc check error during read setup
So, size have been limited to 120 bytes instead of RK3528's 128 bytes.
The final devicetree patch depends on the series "ARM: dts: rockchip:
Add Luckfox Lyra boards" [1] for a clean apply.
hexdump from an ArmSoM Forge1 RK3506J board:
Quoted 1 line
hexdump -C
/sys/devices/platform/soc/ff4f0000.efuse/rockchip-otp0/nvmem
00000000 52 4b 35 06 32 00 ff 00 0a 01 4d 34 53 33 37 34 |RK5.2.....M4S374| 00000010 00 00 00 00 00 00 00 04 0f 3a 00 00 00 00 03 04 |.........:......| 00000020 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000030 00 00 00 00 3d 00 00 00 00 00 00 00 00 00 00 00 |....=...........| 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000070 00 00 00 00 00 00 00 00 |........|
00000078
[1] https://patch.msgid.link/[email protected]/
Jonas Karlman (3):
dt-bindings: nvmem: rockchip,otp: Add compatible for RK3506
nvmem: rockchip-otp: Add support for RK3506
ARM: dts: rockchip: Enable OTP controller for RK3506
.../bindings/nvmem/rockchip,otp.yaml | 2 + arch/arm/boot/dts/rockchip/rk3506.dtsi | 43 +++++++++++++++++++ drivers/nvmem/rockchip-otp.c | 12 ++++++ 3 files changed, 57 insertions(+)
---
Based-on: <[email protected]>
Signature · 1 line
2.56.1