Skip to content

arm64: dts: apple: t6050: describe the MacBook Pro HDMI port - #3498

Merged
RyanTheTide merged 3 commits into
mainfrom
feat/t6050-hdmi
Nov 30, 2026
Merged

RyanTheTide merged 3 commits into
mainfrom
feat/t6050-hdmi

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

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 fixed dp-phy/dp-xbar beside an empty typec-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-names drop, 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 dcpext0 dp-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) is atc3-dpphy: transport-tunneled 0, DPTX target 3, crossbar output 0 of atc3-dpxbar, through atc-phy3, which has no usb-drd3 or acio3 on these boards. dp2hdmi-gpio0: hotplug function-hdmi_hpd AOP GPIO 14, power enables function-dp2hdmi_pwr_en and function-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_drd3 loses its references to the ATC3 PHY (no USB controller there).

Evidence
  • Base vs head DTBs: only k114s/k114c differ; normalised delta = the PHY node (compatible, 6 regs, 3 domains, #phy-cells 0), dcpext0 (HDMI-A, hpd/pwren GPIOs, dp-phy, dp-xbar, mux-index 0, apple,dptx-phy 3), AOP reserved ranges, usb_drd3 phys/resets dropped.
  • make CHECK_DTBS=y k114s/k114c/j714s/k116s: no new warnings; dt_binding_check DT_SCHEMA_FILES=apple,dcp and 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).

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]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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:

  • dcpext0 is HDMI-A with phy-names = dp-phy typec0 typec1 and mux-control-names = dp-xbar typec0 typec1. ATC3 (apple,t6050-dp-phy) is bound with all 9 tunables. HDMI-A-1 and its HDMI audio card are registered; HPD reads 0 (no cable).
  • acio1 is bound (thunderbolt-apple-acio) and pcie-tunnel-1 is present. The left-front port holds a DP-alt dock, so there's no tunnel yet.
  • Regression: the dock monitor on the left-front port runs 1920x1080@180 and the panel 3024x1986@120. No kernel warning beyond the previous default boot's set.

Still to do: an HDMI monitor on the HDMI port, and a TB5 enclosure on the left-front port.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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:

  • The first connect trains HBR3 on 4 lanes. gnome-shell drives 2560x1440@60 (XR30), with 35 modes up to 3840x2160, 0 link faults and 0 DCP crashes.
  • dcpext0 is a hybrid (dp-phy, typec0, typec1). The dock monitor on the left-front Type-C port keeps working on the same boot.
  • HDMI-CEC registers on the HDMI connector (/dev/cec0, physical address 2.0.0.0 = the monitor's HDMI 2 input), and the monitor answers.

Still to do: the left-front TB enclosure (PCIe tunnel through acio1, #3497). That needs the enclosure moved to the left-front port.

@RyanTheTide
RyanTheTide marked this pull request as ready for review November 29, 2026 03:37
@RyanTheTide
RyanTheTide requested review from a team as code owners November 29, 2026 03:37

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 (phys maxItems 1 / dp-phy, mux-controls maxItems 1 / dp-xbar) alongside an empty typec-routes container while still forbidding apple,typec-mux-indices, apple,typec-dptx-phys, and apple,dptx-die, matching aura#559.
  • arch/arm64/boot/dts/apple/t6050-atc3-hdmi.dtsi: compile-time #ifndef guards for T6050_HDMI_PWREN_LINE / T6050_DP2HDMI_PWREN_LINE; switches &atc3_phy to apple,t6050-dp-phy (#phy-cells = <0>, 6 regs, 3 power domains, deletes apple,guest-port-reserved/mode-switch/orientation-switch/mboxes, status = "disabled" for Stage 2 handoff); detaches &usb_drd3 from &atc3_phy; configures &dcpext0 as hybrid HDMI-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: sets T6050_HDMI_PWREN_LINE = 1, T6050_DP2HDMI_PWREN_LINE = 0, and &pinctrl_aop gpio-reserved-ranges = <0 14>, <15 64>, <80 1>, <82 3> (verified arithmetic: reserves 0..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-1 trains HBR3 4 lanes (2560x1440@60 XR30, 35 modes up to 3840x2160, /dev/cec0 at 2.0.0.0, 0 link faults, 0 DCP crashes) while left-front Type-C dock DP stays working.
Evidence
  • Head: 325069b321bc (MERGEABLE on main, +182/-53, 11 files, stacked on #3497).
  • CI at review time: dt-checks and host-tests PASS; pr-text and readiness queued/pending.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at 325069b3. App approved (NEON-PR-REVIEW2), K114s rows at head. K114s DT only. Merges under the 6-point rule 1 h from now once hosted CI is green (#3498 lands after #3497, aura#558/#559 and linux#3591), unless you object.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 29, 2026
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Merge readiness at 2fde84c0: not ready yet

Check Detail
CI at head ok 5 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head no no line with the head SHA 2fde84c0, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text ok 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.

Areas: area:bringup

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
@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 29, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merged main into the branch (after #3497 and the K114 left-back/acio0 work landed); no rebase. One conflict in t6050-k114-usb.dtsi: the AOP gpio-reserved-ranges now leave both this PR's HDMI hotplug pin (14) and main's LSTX pin for acio0 (77) unreserved, along with 79 and 81: <0 14>, <15 62>, <78 1>, <80 1>, <82 3>. scripts/dtc/apple-dt-check.sh main HEAD: 0 new warnings across 139 DTBs, and both changed bindings pass. The K114s DTB has the ATC3 apple,t6050-dp-phy and dcpext0 HDMI-A. The DT content of the HDMI port is unchanged from the head that was rowed and is now on Ryan's default (bridge7).

@github-actions github-actions Bot removed ci-failing A check failed at the PR head (bot) merge-conflict Conflicts with the base branch (bot) labels Nov 29, 2026

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. Wait for queued CI checks (dt-checks, host-tests, pr-text) at 2fde84c0 to pass.
  2. Post a K114s boot/HDMI hardware row referencing exact head 2fde84c0 (or confirm the bridge7 boot SHA if it matches 2fde84c0 directly; the needs-hw-row check requires 2fde84c0 to 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 commit 2fde84c0 DCO hygiene, and dependency status (linux#3497, linux#3591, aura#558, aura#559).
Evidence
  • Merge resolution (2fde84c0, +105/-10, 4 files, MERGEABLE on main):
    • Merge commit carries Signed-off-by: with no rebase or force push.
    • arch/arm64/boot/dts/apple/t6050-k114-usb.dtsi: &pinctrl_aop gpio-reserved-ranges = <0 14>, <15 62>, <78 1>, <80 1>, <82 3> reserves 0..13, 15..76, 78, 80, and 82..84, exposing exactly pins 14 (HDMI HPD), 77 (acio0 LSTX from main), 79 (acio1 LSTX), and 81 (acio2 LSTX).
    • t6050-atc3-hdmi.dtsi and both DCP binding schemas are unchanged from the previously approved 325069b3; only t6050-k114s.dts and t6050-k114c.dts include t6050-k114-usb.dtsi on main.
  • Dependencies & coordination (non-blocking):
    • linux#3497 and linux#3591 are already merged into main; aura#558 and aura#559 remain open for Stage 2 hybrid route handoff and apple,t6050-dp-phy tunables.
    • Once #3498 merges, open #3599 (which has K116 include t6050-k114-usb.dtsi) will also pick up t6050-atc3-hdmi.dtsi unless split/guarded there.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Exact-head K114s row at 2fde84c0 (2026-11-30 00:00), for the HOLD:

  • One-shot Stage 2 = Ryan's bridge7 Stage 2 with its DTB replaced by the K114s DTB built from this head (main 965d4a7 + this PR). aura is bridge7's plus aura#574, because main's DT now describes the left-back port (arm64: dts: apple: t6050-k114-k116: describe the left-back port (ATC0) #3598), which needs aura#574's ATC0 hand-off. Kernel: Ryan's saved default 7.3.0-k114sstack8.
  • HDMI-A-1 connected, 2560x1440@60 on the MSI. HDMI-CEC /dev/cec0 at physical address 2.0.0.0.
  • The dock monitor on the left-front port stays connected (1920x1080@180) and the panel runs 3024x1986@120.
  • 0 link faults, 0 DCP crashes, no deferred-probe timeouts, 0 failed units, SELinux enforcing. The left-back devices from main (2a2280000.usb, 2a3000000.phy) bind.
  • Back on the default afterwards: checklist pass.

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).

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at 2fde84c0

Blockers: None.

Checked:

  • Both HOLD conditions from the prior 2fde84c0 review are now satisfied:
    1. Hosted CI at 2fde84c0 is green (dt-checks SUCCESS, host-tests SUCCESS, pr-text SUCCESS).
    2. Exact-head 2fde84c0 K114s hardware row passed (2026-11-30 00:00): HDMI-A-1 connected at 2560x1440@60 with HDMI-CEC /dev/cec0 at physical address 2.0.0.0, dock monitor on left-front (1920x1080@180) and internal panel (3024x1986@120) unaffected, left-back 2a2280000.usb/2a3000000.phy from main bind cleanly, zero link faults, zero DCP crashes, no deferred-probe timeouts, zero failed units, SELinux Enforcing, and clean return to saved default.
  • Previously audited main forward-merge conflict resolution in t6050-k114-usb.dtsi (&pinctrl_aop exposing pins 14, 77, 79, 81) and unchanged t6050-atc3-hdmi.dtsi / DCP bindings from approved 325069b3 remain intact with DCO Signed-off-by:.
Evidence
  • Hosted CI at 2fde84c09172c6e4836b96d1cbb0aa04430b15d8: dt-checks SUCCESS, host-tests SUCCESS, pr-text / pr-text SUCCESS.
  • Exact-head K114s row (#issuecomment 2026-11-29T13:02:42Z): one-shot bridge7+aura#574 Stage 2 with 2fde84c0 K114s DTB + 7.3.0-k114sstack8; HDMI-A-1 2560x1440@60 + /dev/cec0 2.0.0.0, left-front dock + internal eDP-1 intact, 0 faults/crashes/failed units.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-phy3 reg[2..35] = 0x18B000000..0x18B029000+0x4000, which is core 0x3_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 is aop-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 matches T6050_DP2HDMI_PWREN_LINE 0 / T6050_HDMI_PWREN_LINE 1 and the apple,output-commands order in t6050-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 965d4a79 and at the head. Of the 79 DTBs that build with the host dtc (the same 27 older-SoC files fail at both), only t6050-k114s and t6050-k114c change. 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 becomes apple,t6050-dp-phy with 6 regs and 3 domains, the switch/guest-port/mbox properties are gone, dcpext0 gets HDMI-A plus HPD/pwren GPIOs and dp-phy/dp-xbar, the AOP reserved ranges change, and usb_drd3 loses its phys/resets. Because the other boards' DTBs are identical, this change needs no regression row on another family.
  • Binding. The empty-typec-routes branch now allows exactly one dp-phy and one dp-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. Hosted dt-checks is green at the head.
  • Row. The exact-head K114s row at 2fde84c0: HDMI-A-1 at 2560x1440@60, /dev/cec0 at 2.0.0.0, left-front dock and 120 Hz panel intact, 0 link faults, 0 DCP crashes, 0 failed units.

Non-blocking:

  1. 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.dtsi from the 16-inch board instead of adding a K116-specific copy.
  2. The binding relaxation isn't tied to T6050. Any SoC with an empty typec-routes may now carry a dp-phy, which is fine for the M1 Pro/Max hybrid model it mirrors.
  3. 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).

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging under the 6-point rule (Ryan 09:29, permanent), at 2fde84c0. (1) The review App approved at this head. (2) Full CI is green. (3/4) Rows: K114s-HDMI-row;KREVIEW-approved;aura#574-merged-0e20607c. (5) There's no blocking review. (6) Dj was pinged here 1591 min ago with no objection. Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit 42169a0 into main Nov 30, 2026
6 of 9 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t6050-hdmi branch November 30, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant