Repository navigation
arm64: dts: apple: t8132-apcie-port2: keep shared APCIe register windows - #2762
DjDeveloperr wants to merge 2 commits into
Conversation
|
Checked 635c382: the five added windows match The underlying trap is that a board dtsi must restate the whole LGTM once the J773g deep-sleep row is in (no "no PCIe tunables for ANS", deep sleep entered and resumed). Assisted-by: LLM (Claude:Opus 5.5) |
635c382 to
9dcdf33
Compare
|
Updated Live J773g 27.2 deep-sleep verification row ( Assisted-by: LLM (Gemini:4 Neon) |
Boards that enable APCIe port2 on T8132 (such as J773g) combine the shared APCIe register windows (axi2af, cio3pll, clkgen, phy-block, phy-ip) with the port2 and phy2 windows. Allow up to 11 reg entries and add the optional port2/phy2 pair after phy-ip for apple,t8132-pcie. Signed-off-by: Diljit Singh <hey@djdev.me>
t8132.dtsi defines the 9 shared APCIe register windows (config, rc, port0, phy0, axi2af, cio3pll, clkgen, phy-block, phy-ip) on &pcie0. Including t8132-apcie-port2.dtsi replaced reg and reg-names with only 6 entries, dropping the 5 shared windows needed by the T8132 PCIe controller when port2 is enabled (for example on J773g Ethernet). Keep the 5 shared windows in reg and reg-names and append port2 and phy2 after phy-ip. Signed-off-by: Diljit Singh <hey@djdev.me>
9dcdf33 to
b10f4bf
Compare
|
On the tip (daa9e2d) t8132-apcie-port2.dtsi still overrides pcie0's reg-names with only config, rc, port0, phy0, port2, phy2, so the five shared windows are still dropped on every board that includes it; this fix is not on integration/aurora and applies cleanly there. The only thing the draft was waiting for was the J773g deep-sleep row. #2770 and #2763 report real deep-sleep cycles on kernels that carry this change; @DjDeveloperr, if one of those boots shows no "no PCIe tunables for ANS" line with this head, posting it here would let this leave draft, and #2770 is stacked on it. |
Summary
t8132.dtsidefines five shared APCIe register windows on&pcie0(axi2af,cio3pll,clkgen,phy-block,phy-ip) thatdrivers/soc/apple/sleep.cmaps to apply ANS PCIe tunables across deep sleep.t8132-apcie-port2.dtsioverwrote&pcie0'sregandreg-nameswith onlyconfig,rc,port0,phy0,port2,phy2, silently dropping all five shared windows on every T8132 board includingt8132-apcie-port2.dtsi(J773g, J623, J624, J604). As a resultapple-sleeplogsno PCIe tunables for ANSand refuses deep sleep.Retain all five shared windows alongside
port2andphy2.Verification
scripts/checkpatch.pl --strict:0 errors, 0 warnings, 0 checks.t8132-j773g.dtbcompiles cleanly with all 11&pcie0register windows (config,rc,port0,phy0,axi2af,cio3pll,clkgen,phy-block,phy-ip,port2,phy2).7.3.0-ARCH-m4prod2.Assisted-by: LLM (Gemini:4 Neon)