[PATCH RFT] pinctrl: sunxi: Fix A733 withstand programming
Vinicius Pedrosa
vinicius.eduardo.pedrosa at gmail.com
Tue Oct 13 10:23:38 PDT 2026
Hi Andre,
Thanks for the RFT. I found two things when checking it against the A733
manual and my Cubie A7Z.
PB is an exception to bank * 2: its VCC-IO field is at bits 25:24, while
bits 3:2 are reserved. With the board's SEL value (0x01155550), a 3.3 V
request produces 0x01155558, leaving VCC-IO untouched.
I also think we should preserve AUTO (01). On my A7Z with vendor 5.15,
PF=10 resulted in 22 SDR104 read timeouts and no rootfs, while PF=01 and
PF=11 reached login. This was one run per setting with one card, not a
mainline before/after test. In my mainline setup, MMC0 already requests PF
with a fixed 3.3 V supply, so the RFT would replace AUTO with 10 even
without voltage switching. Preserving AUTO requires no special case for PF.
I boot-tested your RFT with two small fixups for PB and AUTO on my Cubie
A7Z (rev B). UART0 and MMC0 work, and GPIO_POW_MOD_SEL remains at
0x01155550. No voltage-field writes were expected with this DT. I haven't
tested the RFT as posted.
I agree the full table and PI exclusion aren't needed, and found no
evidence for restricting the encoding to revision B.
A733-R still needs its own descriptor for the two-bit PL/PM fields. I'm
happy for your RFT to supersede my patch 1 once PB and AUTO are addressed,
and I'll rebase the A733-R fix on it.
I have the PB/AUTO fixups and the A733-R patch ready, and can send them if
useful.
Thanks,
Vinicius
More information about the linux-arm-kernel
mailing list