Repository navigation
arm64: dts: apple: t6050: describe the MacBook Pro HDMI port - #3498
Conversation
The T6050 MacBook Pros' HDMI port had no description: no picture was possible on it. The ADT (J714sAP, K114sAP and K116sAP agree, phandles and per-machine PHY tunables aside) has it as the direct DP output of port-hdmi0 (atc3-dpphy: port-type 6, DPTX target 3, crossbar output 0 of atc3-dpxbar) through atc-phy3, which has no USB controller or router on these boards, into an on-board DP-to-HDMI converter (dp2hdmi-gpio0: AOP GPIO 14 hotplug, two SMC pcIO power enables). Add t6050-atc3-hdmi.dtsi: ATC3 as the combo PHY driver's fixed DP PHY (apple,t6050-dp-phy), and dcpext0 as a hybrid pipeline with that fixed HDMI output first, as on the M1 Pro/Max laptops; the boot loader still writes dcpext0's Type-C routes from the ADT after it, enables the PHY and crossbar at the engine's hand-off and fills the PHY's tunables. A board gives its pcIO lines. The K114s and K114c include it now; J714s and the 16-inch boards can once their HDMI is tested. The DCP binding allowed nothing beside an empty typec-routes; let it name a fixed dp-phy and dp-xbar there. Signed-off-by: Ryan Murray <[email protected]>
Signed-off-by: Ryan Murray <[email protected]>
|
K114s pre-check row (no monitor on the HDMI port yet), 2026-11-29 01:53. One boot of a Stage 2 built from Ryan's default (aura e2a8cf96 + #558 + #559, plus the DTB with linux#3497 and #3498) on kernel 7.3.0-k114sstack3:
Still to do: an HDMI monitor on the HDMI port, and a TB5 enclosure on the left-front port. |
|
K114s HDMI row (2026-11-29). The HDMI port works with this PR's stack: #3497 + #3498 (DT), aura#558 + aura#559 (Stage 2), plus linux#3591, which starts the fixed ATC3 DP PHY that nothing started before (link faults 22/24 otherwise). MSI MPG 325CQRXF on the K114s HDMI port:
Still to do: the left-front TB enclosure (PCIe tunnel through acio1, #3497). That needs the enclosure moved to the left-front port. |
There was a problem hiding this comment.
Verdict: MERGE at 325069b3 (after #3497 and once pr-text/readiness finish)
Blockers: none (dt-checks and host-tests are green at 325069b3; merge #3497 first, and pair with aura#558/aura#559 and linux#3591 for live HDMI output)
Checked:
Documentation/devicetree/bindings/display/apple,dcp.yaml&apple,dcp-typec-routes.yaml: schema cleanly permits one fixed output (physmaxItems 1 /dp-phy,mux-controlsmaxItems 1 /dp-xbar) alongside an emptytypec-routescontainer while still forbiddingapple,typec-mux-indices,apple,typec-dptx-phys, andapple,dptx-die, matchingaura#559.arch/arm64/boot/dts/apple/t6050-atc3-hdmi.dtsi: compile-time#ifndefguards forT6050_HDMI_PWREN_LINE/T6050_DP2HDMI_PWREN_LINE; switches&atc3_phytoapple,t6050-dp-phy(#phy-cells = <0>, 6 regs, 3 power domains, deletesapple,guest-port-reserved/mode-switch/orientation-switch/mboxes,status = "disabled"for Stage 2 handoff); detaches&usb_drd3from&atc3_phy; configures&dcpext0as hybridHDMI-A(dp-phy,dp-xbar,mux-index = <0>,apple,dptx-phy = <3>, AOP GPIO 14 HPD, SMC pcIO power enables).arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi: setsT6050_HDMI_PWREN_LINE = 1,T6050_DP2HDMI_PWREN_LINE = 0, and&pinctrl_aopgpio-reserved-ranges = <0 14>, <15 64>, <80 1>, <82 3>(verified arithmetic: reserves0..13,15..78,80,82..84, exposing exactly pins 14, 79, and 81).- K114s full HDMI row (
2026-11-29, with#3497+aura#558/#559+linux#3591):HDMI-A-1trains HBR3 4 lanes (2560x1440@60XR30, 35 modes up to3840x2160,/dev/cec0at2.0.0.0, 0 link faults, 0 DCP crashes) while left-front Type-C dock DP stays working.
Evidence
- Head:
325069b321bc(MERGEABLEonmain,+182/-53, 11 files, stacked on#3497). - CI at review time:
dt-checksandhost-testsPASS;pr-textandreadinessqueued/pending.
|
code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
Signed-off-by: Ryan Murray <[email protected]> # Conflicts: # arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi
|
Merged main into the branch (after #3497 and the K114 left-back/acio0 work landed); no rebase. One conflict in |
There was a problem hiding this comment.
Verdict: HOLD at 2fde84c0 — clean main forward-merge with verified t6050-k114-usb.dtsi AOP GPIO range resolution; awaiting fresh CI completion and an exact-head K114s hardware row at 2fde84c0.
Blockers:
- Wait for queued CI checks (
dt-checks,host-tests,pr-text) at2fde84c0to pass. - Post a K114s boot/HDMI hardware row referencing exact head
2fde84c0(or confirm thebridge7boot SHA if it matches2fde84c0directly; theneeds-hw-rowcheck requires2fde84c0to appear with the hardware result).
Checked:arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi,arch/arm64/boot/dts/apple/t6050-atc3-hdmi.dtsi,Documentation/devicetree/bindings/display/apple,dcp.yaml,Documentation/devicetree/bindings/display/apple,dcp-typec-routes.yaml, merge commit2fde84c0DCO hygiene, and dependency status (linux#3497,linux#3591,aura#558,aura#559).
Evidence
- Merge resolution (
2fde84c0,+105/-10, 4 files,MERGEABLEonmain):- Merge commit carries
Signed-off-by:with no rebase or force push. arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi:&pinctrl_aopgpio-reserved-ranges = <0 14>, <15 62>, <78 1>, <80 1>, <82 3>reserves0..13,15..76,78,80, and82..84, exposing exactly pins14(HDMI HPD),77(acio0LSTX frommain),79(acio1LSTX), and81(acio2LSTX).t6050-atc3-hdmi.dtsiand both DCP binding schemas are unchanged from the previously approved325069b3; onlyt6050-k114s.dtsandt6050-k114c.dtsincludet6050-k114-usb.dtsionmain.
- Merge commit carries
- Dependencies & coordination (non-blocking):
linux#3497andlinux#3591are already merged intomain;aura#558andaura#559remain open for Stage 2 hybrid route handoff andapple,t6050-dp-phytunables.- Once
#3498merges, open#3599(which has K116 includet6050-k114-usb.dtsi) will also pick upt6050-atc3-hdmi.dtsiunless split/guarded there.
|
Exact-head K114s row at
Note for anyone booting main's K114s DTB: without aura#574 in the Stage 2, the left-back controller fails its reset, and dcpext0 (it has a Type-C route to that port) hits a deferred-probe timeout. Then no external display works (seen on the first attempt at 22:41). |
There was a problem hiding this comment.
Verdict: MERGE at 2fde84c0
Blockers: None.
Checked:
- Both
HOLDconditions from the prior2fde84c0review are now satisfied:- Hosted CI at
2fde84c0is green (dt-checksSUCCESS,host-testsSUCCESS,pr-textSUCCESS). - Exact-head
2fde84c0K114s hardware row passed (2026-11-30 00:00):HDMI-A-1connected at2560x1440@60with HDMI-CEC/dev/cec0at physical address2.0.0.0, dock monitor on left-front (1920x1080@180) and internal panel (3024x1986@120) unaffected, left-back2a2280000.usb/2a3000000.phyfrommainbind cleanly, zero link faults, zero DCP crashes, no deferred-probe timeouts, zero failed units, SELinux Enforcing, and clean return to saved default.
- Hosted CI at
- Previously audited
mainforward-merge conflict resolution int6050-k114-usb.dtsi(&pinctrl_aopexposing pins 14, 77, 79, 81) and unchangedt6050-atc3-hdmi.dtsi/ DCP bindings from approved325069b3remain intact with DCOSigned-off-by:.
Evidence
- Hosted CI at
2fde84c09172c6e4836b96d1cbb0aa04430b15d8:dt-checksSUCCESS,host-testsSUCCESS,pr-text / pr-textSUCCESS. - Exact-head K114s row (
#issuecomment2026-11-29T13:02:42Z): one-shot bridge7+aura#574Stage 2 with2fde84c0K114s DTB +7.3.0-k114sstack8;HDMI-A-12560x1440@60 +/dev/cec02.0.0.0, left-front dock + internal eDP-1 intact, 0 faults/crashes/failed units.
There was a problem hiding this comment.
Verdict: MERGE at 2fde84c0 (K-board adversarial review).
Blockers: none.
Checked (what I tried to break):
- Every value against the live K114s ADT (
traces/boot/20261127-k114s/adt/k114s-adt-20261127.txt):atc-phy3reg[2..35] = 0x18B000000..0x18B029000+0x4000, which iscore0x3_8b000000 size 0x2d000. reg[39..43] = reset 0x18B200000, fabric 0x18B244000, axi2af 0x188000000/0x8000, lioa 0x188020000 and common-cfg 0x18B250000, all matching the DT with the +0x2_00000000 arm-io offset.atc3-dpphy: port-type 6, transport-tunneled 0, dp-switch-dfp-endpoint 3 (apple,dptx-phy = <3>), dp-switch-dfp-port 0 (mux-index 0), dpxbar-parent = atc3-dpxbar.dp2hdmi-gpio0: hdmi_hpd = GPIO(0xe) on phandle 461, which isaop-gpio0(so&pinctrl_aop 14). dp2hdmi_pwr_en = pKW8('pcIO', 0, 0x1a0000), which is smc_pcio output-command 0. hdmi_pwr_en = pKW8('pcIO', 0x800000, 0xf0000), which is output-command 1. That matchesT6050_DP2HDMI_PWREN_LINE 0/T6050_HDMI_PWREN_LINE 1and theapple,output-commandsorder int6050-k114-k116.dtsi. None of the values are hard-coded without an ADT source.
gpio-reserved-ranges:<0 14>, <15 62>reserves 0..13 and 15..76. That frees exactly pin 14 and still covers everything up to the LSTX pins.- Other boards. I built every Apple DTS with cpp+dtc at the base
965d4a79and at the head. Of the 79 DTBs that build with the host dtc (the same 27 older-SoC files fail at both), onlyt6050-k114sandt6050-k114cchange. All other T6050 boards (J714s/c, J716s/c, J775c/d, J873s, K116s/c) are byte-identical. The normalised K114s delta is exactly the PR's list: the ATC3 node becomesapple,t6050-dp-phywith 6 regs and 3 domains, the switch/guest-port/mbox properties are gone, dcpext0 getsHDMI-Aplus HPD/pwren GPIOs anddp-phy/dp-xbar, the AOP reserved ranges change, andusb_drd3loses its phys/resets. Because the other boards' DTBs are identical, this change needs no regression row on another family. - Binding. The empty-
typec-routesbranch now allows exactly onedp-phyand onedp-xbar(max 1 each, fixed names), and still forbids the Type-C index/dptx properties. That's the narrowest relaxation that describes a fixed output. Hosteddt-checksis green at the head. - Row. The exact-head K114s row at
2fde84c0: HDMI-A-1 at 2560x1440@60,/dev/cec0at 2.0.0.0, left-front dock and 120 Hz panel intact, 0 link faults, 0 DCP crashes, 0 failed units.
Non-blocking:
- Per the PR's own ADT notes, the K116sAP has the same nodes. Once a K116 unit (or Axboe's) can row it, include
t6050-atc3-hdmi.dtsifrom the 16-inch board instead of adding a K116-specific copy. - The binding relaxation isn't tied to T6050. Any SoC with an empty
typec-routesmay now carry adp-phy, which is fine for the M1 Pro/Max hybrid model it mirrors. - Merge-order hazard (not this PR's): main's K114/K116 DTB already needs aura#574 in Stage 2 (#3598). This PR doesn't add to that, but don't ship its DTB on a Stage 2 without #574 (ORCH5 22:49 rule).
|
Merging under the 6-point rule (Ryan 09:29, permanent), at |
What: Describes the HDMI port of the T6050 MacBook Pros, which had no description at all. New shared
t6050-atc3-hdmi.dtsi: ATC3 as the combo PHY driver's fixed DP PHY (apple,t6050-dp-phy) and dcpext0 as a hybrid pipeline with that HDMI output first, as on the M1 Pro/Max laptops. K114s and K114c include it; the DCP binding now allows a fixeddp-phy/dp-xbarbeside an emptytypec-routes. Stacked on linux#3497 (same board file; merge that first).Tested: DTBs: every non-K114 T6050 board byte-identical (apart from #3497's J714s
interrupt-namesdrop, merged in); dtbs_check and dt_binding_check add no new warnings. Offline, aura's route writer (with aura#559) on the real K114s ADT writes dcpext0dp-phy, typec0, typec1. K114s HDMI row: pending.Risk: two-way · K114s, K114c. dcpext0's DP audio card is named for HDMI now (connector-type HDMI-A).
Tested on the K114s (11-29, row comments below): with #3591, the HDMI port lights an MSI MPG 325CQRXF (HBR3 x4, 2560x1440@60) and HDMI-CEC registers (
/dev/cec0, physical address 2.0.0.0). Type-C on dcpext0 is unaffected.Not yet: J714s and the 16-inch boards can include the file once their HDMI is tested.
Details
ADT (J714sAP, K114sAP and K116sAP agree, phandles and per-machine PHY tunables aside):
/port-hdmi0(port-type 6) isatc3-dpphy: transport-tunneled 0, DPTX target 3, crossbar output 0 ofatc3-dpxbar, throughatc-phy3, which has nousb-drd3oracio3on these boards.dp2hdmi-gpio0: hotplugfunction-hdmi_hpdAOP GPIO 14, power enablesfunction-dp2hdmi_pwr_enandfunction-hdmi_pwr_en(SMC pcIO). dcpext0 is crossbar source 0.The PHY and crossbar stay disabled: the boot loader enables them with dcpext0 at the engine's hand-off (its route walk already covers a fixed route's PHY) and fills the PHY's nine DP tables from
atc-phy3(aura#559). A board gives its pcIO lines (T6050_HDMI_PWREN_LINE,T6050_DP2HDMI_PWREN_LINE) and exposes AOP GPIO 14.usb_drd3loses its references to the ATC3 PHY (no USB controller there).Evidence
#phy-cells0), dcpext0 (HDMI-A, hpd/pwren GPIOs,dp-phy,dp-xbar,mux-index0,apple,dptx-phy3), AOP reserved ranges,usb_drd3phys/resets dropped.make CHECK_DTBS=yk114s/k114c/j714s/k116s: no new warnings;dt_binding_check DT_SCHEMA_FILES=apple,dcpand yamllint clean.Depends on: #3591 for a picture. Without it nothing starts the fixed ATC3 DP PHY, and firmware 27 fails the connect with link faults 22/24. With it, the K114s HDMI port lit an MSI MPG 325CQRXF at 2560x1440@60 on the first connect, and HDMI-CEC worked (
/dev/cec0, physical address 2.0.0.0).