Repository navigation
arm64: dts: apple: t6050-j775c: keep the ATC usb-aon power domains on - #4250
Conversation
Commit 64d473f ("arm64: dts: apple: t6050: keep the ATC usb-aon power domains on") marked every T6050 ps_atc*_usb_aon domain apple,always-on in the shared T6050 dtsi files so genpd never gates the ATC PHY always-on domain during probe or s2idle. When commit a3b69a9 ("arm64: dts: apple: consolidate J775c into one final board description") flattened t6050-j775c.dts into a standalone file, those four apple,always-on properties were omitted on ps_atc{0,1,2,3}_usb_aon. Without apple,always-on on J775c, genpd powers off ps_atc1_usb_aon as soon as its child consumers finish probing and runtime-suspend, causing the ATC1 PHY to lose its state before Type-C CIO bring-up: apple-t6050-dp-phy 2ab000000.phy: CIO mode failed (-110), reverse orientation, 1 ms apple-t6050-dp-phy 2ab000000.phy: start of mode 4 failed (-110) sn201202x 1-0a: failed to configure Type-C connection: -110 Mark ps_atc0_usb_aon, ps_atc1_usb_aon, ps_atc2_usb_aon, and ps_atc3_usb_aon apple,always-on in t6050-j775c.dts, matching the rest of the T6050 devicetrees. Fixes: a3b69a9 ("arm64: dts: apple: consolidate J775c into one final board description") Signed-off-by: Satya Benson <satya@benson.earth>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Looks right. Every other T6050 devicetree gets apple,always-on on ps_atc{0,1,2,3}_usb_aon from the shared dtsi files (#2018, same comment); t6050-j775c.dts stopped including them when it was flattened in a3b69a98f620, and these four lines put the same property back. It only touches J775c, and your exact-head J775c run (CIO up, thunderbolt0 at 40 Gb/s, 3/3 s2idle with the four domains staying on) covers it. I'm running the DT check locally while hosted CI is queued and will merge at this head once it passes.
|
Local check at |
Commit
64d473f5321d("arm64: dts: apple: t6050: keep the ATC usb-aon power domains on", #2018) marked every T6050ps_atc*_usb_aonpower domainapple,always-onin the shared T6050.dtsifiles so genpd never gates the ATC PHY always-on domain during probe ors2idle.When commit
a3b69a98f620("arm64: dts: apple: consolidate J775c into one final board description") flattenedarch/arm64/boot/dts/apple/t6050-j775c.dtsinto a standalone file, those fourapple,always-onproperties were omitted onps_atc{0,1,2,3}_usb_aon.t6050-j775c.dtsis the only T6050 devicetree missing them.Without
apple,always-on, genpd powers offps_atc1_usb_aonas soon as its child consumers finish probing and runtime-suspend, causing the ATC1 PHY to lose its state before Type-C CIO bring-up:This PR restores
apple,always-ononps_atc0_usb_aon,ps_atc1_usb_aon,ps_atc2_usb_aon, andps_atc3_usb_aonint6050-j775c.dts(4 insertions). It is required for Thunderbolt networking and Type-C CIO daily use on J775c.Tested: J775c (M5 Max Mac Studio) at exact PR head
f17be83597b7(7.3.0-1-52.20261204-ARCHon the default kernel command line,make LLVM=1 ARCH=arm64 DT_SCHEMA_FILES=apple,pmgr-pwrstate.yaml CHECK_DTBS=y apple/t6050-j775c.dtbclean):mainebfb5226):2ab000000.phy: CIO mode failed (-110), reverse orientation, 1 ms; nothunderbolt0interface.f17be83597b7):2ab000000.phy: CIO mode up: UC_TNBL_DONE (0), reverse orientation, 13 ms; 40 Gb/s link (rx_speed=20.0 Gb/s,tx_speed=20.0 Gb/s, 2 lanes each, peerMac16,10);thunderbolt0 UP(0.249 msavg RTT,0%loss);iperf3(mtu 1500) pre-sleep 1-stream TX30.2 Gbit/s, 4-stream TX26.3 Gbit/s, 4-stream RX17.3 Gbit/s(peer host had concurrent background build load).s2idlecycles PASS (suspend_stats 3/0): all fouratc*_usb_aondomains stayedonpre/post sleep, ACIO re-established RX/TX paths1.07 safterPM: suspend exit, post-sleep ping back in5 s, post-3x-sleep 4-stream TX20.9 Gbit/s/ RX18.7 Gbit/s.0failed systemd units,0SELinux/AVC denials,0new kernel error lines. Hotplug and ATC0/2/3 CIO are untested in this run.Risk: two-way door, J775c (
t6050-j775c.dts) only; reverts cleanly by removing the fourapple,always-onproperties. Matches the existing T6050usb_aonpolicy from #2018.