kernel/rv1106: batch A — TRNG verified + OTP (read fn corrected)

TRNG  VERIFIED on c8a3: rv1106 trngv1 == rk3588 TRNG_V1 IP; one OF-table
entry reusing rk3588_soc_data. /dev/hwrng active, rng_current=rockchip-rng,
real HW entropy (c697503d... non-zero). Hardware entropy for the panel.

OTP 🔨: rockchip-otp0 nvmem device registers; added rv1106_data (6-clock
sbpi layout). First reg_read=rk3588_otp_read timed out ('timeout during read
setup'); corrected to px30_otp_read (user-mode OTPC_USER interface = the
vendor's rk3568_otp_read sequence). Cell reads re-verify next _b boot.

See rng-otp/PORT-DONE.md. dts snapshot refreshed (rng+otp enabled).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
This commit is contained in:
BFE Engineering
2026-08-25 00:44:35 -06:00
co-authored by Claude Opus 4.8
parent 92905bf4d4
commit 270211029d
2 changed files with 58 additions and 0 deletions
@@ -187,3 +187,14 @@
&rga2 {
status = "okay";
};
/* --- batch A: hardware RNG (trngv1, same IP as rk3588) --- */
&rng {
compatible = "rockchip,rv1106-rng";
status = "okay";
};
/* --- batch A: OTP / nvmem (chip id, MAC, PHY bandgap for GMAC) --- */
&otp {
status = "okay";
};