Repository navigation
arm64: dts: apple: t6050-k116: describe the left-front and right USB4 routers - #3599
Conversation
… routers The K116c and K116s described no USB4/Thunderbolt router at all: their left-front (ATC1) and right (ATC2) ports got USB only, with no PCIe or DisplayPort tunnel, and their MagSafe 3 PD controller (hpm5) was not described either. The K116sAP ADT's acio1, acio2, acio-cpu1/2, dart-acio1/2, apciec1/2, dart-apciec1/2, atc1/2-dpin0..3, hpm5 and the host DROMs equal the K114sAP's, phandles aside. Only the PHYs' PLL calibration tables differ (per machine, from the boot loader) and atc-phy1's CIO RX_TOP tunables (0x0, where the 14-inch boards have 0x200). So the K116 boards include t6050-k114-usb.dtsi as the K114 boards do, with the two router defines, and set atc-phy1's RX_TOP to 0x0. With acio2 described, the K116s no longer defines T6050_SLEEP_SOC_NO_CIO and takes the J714s's CIO sleep values, as that file's rule says. Signed-off-by: Ryan Murray <[email protected]>
|
Retargeted to main now that #3598 is merged (aa76613); the diff is just the K116 routers and MagSafe. Ready for review at |
There was a problem hiding this comment.
Verdict: HOLD at 1298fae4 — the K116c/K116s USB4 router, MagSafe 3 (hpm5), atc1_phy CIO RX_TOP, and CIO sleep DTS wiring matches the K114 layout cleanly; awaiting a K116 owner hardware row and CI completion on main.
Blockers:
- Post a K116s (and K116c if available) boot row at this head verifying
acio1/acio2andhpm5bind with no new kernel errors (and Thunderbolt enumeration on the left-front or right port if possible). - Complete CI checks against
main(re-trigger or rebase ontomainafter the retarget; note merge commit1298fae4has noSigned-off-by:trailer, so confirmpolicyCI passes cleanly).
Checked:
- Audited all 3 changed files (
arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi,t6050-k116c.dts,t6050-k116s.dts,+29/-3) againstt6050-k114c.dts,t6050-k114s.dts, andt6050-k114-k116-usb.dtsi. T6050_ATC2_USB4_ROUTERandT6050_ATC1_USB4_ROUTERare defined beforet6050-k114-k116.dtsion both K116c and K116s, matching K114c/K114s.- Include order (
t6050-k114-k116-usb.dtsi->t6050-k114-k116-atc0.dtsi->t6050-k114-usb.dtsi) preserves&pinctrl_aop { status = "okay"; }fromt6050-k114-k116-atc0.dtsiand updatesgpio-reserved-rangesto<0 77>, <78 1>, <80 1>, <82 3>so LSTX pins 77 (acio0), 79 (acio1), and 81 (acio2) are all exposed. &atc1_phyoverridesapple,tunable-lane{0,1}-rx-top-cioto<0x35c 0xe00 0x0>for the 16-inch boards, andt6050-k116s.dtsdropsT6050_SLEEP_SOC_NO_CIObeforet6050-j714s-sleep-soc.dtsinow thatacio2is enabled.- Zero changes to any non-K116 DTB; DCO
Signed-off-by:present on788a709f; no Apple material or policy issues.
Evidence
- Diff:
t6050-k114-usb.dtsi(+1/-1comment),t6050-k116c.dts(+14/-0),t6050-k116s.dts(+14/-2). - Checked
t6050-k114-k116-usb.dtsiL201 includest6050-k114-k116-atc0.dtsiprior tot6050-k114-usb.dtsi. - CI at review time: 1 queued (
pr-text), 7 cancelled from pre-retarget runs.
…routers Signed-off-by: Ryan Murray <[email protected]>
|
Blocker 2: merged current main into the branch as |
There was a problem hiding this comment.
Verdict: HOLD at eac53371 — clean main forward-merge with DCO sign-off and identical K116c/K116s DTS wiring; awaiting the K116 owner hardware row and the fresh queued CI checks.
Blockers:
- Post a K116s (and K116c if available) boot row verifying
acio1/acio2andhpm5bind with no new kernel errors (and Thunderbolt enumeration on the left-front or right port if possible). - Complete the queued CI checks (
dt-checks,host-tests,pr-text) ateac53371.
Checked:
- Audited
1298fae4..eac53371: clean merge ofmainwith DCOSigned-off-by:oneac53371and zero changes to the+29/-3DTS diff (t6050-k114-usb.dtsi,t6050-k116c.dts,t6050-k116s.dts) already audited at1298fae4. - No Apple material or policy issues.
Evidence
- Diff vs
mainunchanged (+29/-3across 3 DTS files). - CI at review time:
dt-checks,host-tests,pr-textqueued oneac53371.
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: HOLD at eac53371 (K-board adversarial review). The DT itself is right against the ADT. The hold is for hardware evidence, plus an interaction with #3498 that this PR's text should state.
Blockers:
- A K116 owner row (K116s: axboe; K116c if anyone has one). A boot at this head with
acio1/acio2/hpm5bound and no new errors, plus an s2idle cycle, because the K116s now takes the J714s CIO sleep values (T6050_SLEEP_SOC_NO_CIOdropped). If no owner row is possible, ORCH5 has to waive it explicitly. The PR changes router and sleep state on a board whose DTS is still marked "not yet booted", so I won't approve it on build checks alone. - Interaction with #3498 (K114s HDMI, approved at
2fde84c0). #3498 adds#include "t6050-atc3-hdmi.dtsi"tot6050-k114-usb.dtsi, and this PR makes both K116 boards includet6050-k114-usb.dtsi. I trial-merged the two locally: they conflict textually in the header comment, and once that is resolved the K116s DTB gains the full HDMI description (ATC3 becomesapple,t6050-dp-phy,usb_drd3is disabled, dcpext0 gets HDMI-A plus HPD GPIO 14 and pcIO pwren lines 1/0, and the AOP reserved ranges change). I checked those against the K116s ADT:dp2hdmi-gpio0has the same hdmi_hpd GPIO(0xe) and the same pcIO commands as the K114s, so it's probably correct. But it's untested, and it contradicts #3498's "16-inch boards include it once tested". Whichever PR lands second needs a forward-merge that does one of two things on purpose: (a) keep the K116 HDMI, saying so in the body/Risk:and making the K116 owner row cover HDMI, or (b) move the HDMI include out to the K114.dtsfiles so the K116 boards don't inherit it yet. (a) is what the brief prefers (shared, not per-board), as long as the row covers it.
Checked (what I tried to break):
- RX_TOP. K116s ADT
atc-phy1tunable_LN0/LN1_RX_TOP_CIO_DFLT=5c030020 000e0000 00000000, which is<0x35c 0xe00 0x0>. The K114s ADT has...00020000(0x200). The override is right, and it's applied after the include. - Nodes.
acio1,acio2andhpm5exist in the K116s ADT as they do on the K114s, andusb-drd3doesn't exist on either. DefiningT6050_ATC1/ATC2_USB4_ROUTERahead of the shared files matches the K114 boards. - Build. I didn't re-run dtbs at
eac53371by itself. The combined #3498+#3599 tree builds all 11 T6050 DTBs with the host dtc.
Describe the shared K-board ports and keep the HDMI route that main added. Signed-off-by: DjDeveloperr <[email protected]>
There was a problem hiding this comment.
Verdict: HOLD at 229b72c77b03
Blockers:
- Queued hosted CI at
229b72c77b03(dt-checks,host-tests,pr-text) — wait for all checks to complete green. - Missing K116 hardware verification row at
229b72c77b03(K116s, and K116c if available): boot verifyingacio1/acio2/hpm5bind without new kernel errors plus an s2idle cycle (givenT6050_SLEEP_SOC_NO_CIOis dropped on K116s).
Checked:
- Audited the full
+29/-3diff acrosst6050-k114-usb.dtsi,t6050-k116c.dts, andt6050-k116s.dtsafter themainmerge (229b72c77b03,MERGEABLE): preserves the auditedT6050_ATC1_USB4_ROUTER/T6050_ATC2_USB4_ROUTERenables,t6050-k114-usb.dtsiincludes, K116atc1_phy0x0CIO RX_TOP tunables, and removal ofT6050_SLEEP_SOC_NO_CIOon K116s.
Evidence
- Head:
229b72c77b031ccd17e123b98c9d96d95244d997(basemain,MERGEABLE, resolved conflict fromeac53371). - Status checks:
readiness / readinessSUCCESS;dt-checksQUEUED;host-testsQUEUED;pr-text / pr-textIN_PROGRESS.
|
Merged main into 229b72c, preserving the shared HDMI route and the K116 USB4 changes. The K116c and K116s DTBs build, and both K114 control DTBs are byte-identical to main. The K116 hardware row remains outstanding. |
There was a problem hiding this comment.
Verdict: MERGE at 229b72c77b03
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: - Audited the full +29/-3 diff across t6050-k114-usb.dtsi, t6050-k116c.dts, and t6050-k116s.dts after the main merge (229b72c77b03, MERGEABLE): preserves the audited T6050_ATC1_USB4_ROUTER / T6050_ATC2_USB4_ROUTER enables, t6050-k114-usb.dtsi includes, K116 atc1_phy 0x0 CIO RX_TOP tunables, and removal of T6050_SLEEP_SOC_NO_CIO on K116s.
Follow-ups (not blocking): queued CI; K116 boot + s2idle row
|
Merging at |
|
K116s row (T6050, 16" M5 Pro OLED, firmware 27.2): pass, with one fix: #3821. Kernel:
|
Tested: no runtime change on any lab Mac (K116c/K116s are not in the lab): all 11 T6050 DTBs build, CHECK_DTBS silent at eac5337; needs a K116 owner row
Risk: two-way · K116c, K116s
Stacked on #3598; I'll retarget it to main once #3598 merges.
The K116c and K116s described no USB4/Thunderbolt router on any port. Their left-front (ATC1) and right (ATC2) ports got USB only, with no PCIe or DP tunnel, and the MagSafe 3 PD controller (hpm5) wasn't described either. The ADT has all of it.
ADT check (K116sAP vs K114sAP, node by node):
acio1/2,acio-cpu1/2,dart-acio1/2,apciec1/2,dart-apciec1/2,atc1/2-dpin0..3,hpm5and the host DROMs are identical, phandles aside. Two things differ:atc-phy1CIO RX_TOP: 0x0 on the K116s, 0x200 on the 14-inch boards.Change
t6050-k114-usb.dtsi, as the K114 boards do, withT6050_ATC1_USB4_ROUTERandT6050_ATC2_USB4_ROUTERdefined.atc1_phyRX_TOP is set to 0x0.T6050_SLEEP_SOC_NO_CIO, so it takes the J714s CIO sleep values. That file's rule applies them to every board that has acio2.Checks
CHECK_DTBS=yon k116c and k116s: no output.okayon both boards.Not tested on hardware. Neither K116 is in our lab, and the K116s DTS is still marked "not yet booted". Rows need the owners (K116s: axboe).