Skip to content

arm64: dts: apple: t6050-k114: describe the left-front USB4 router - #3497

Merged
RyanTheTide merged 2 commits into
mainfrom
feat/t6050-k114-left-usb4
Nov 29, 2026
Merged

RyanTheTide merged 2 commits into
mainfrom
feat/t6050-k114-left-usb4

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

What: Describes the K114s/K114c left-front USB4/Thunderbolt router (acio1) and its PCIe and DisplayPort tunnels, so a Thunderbolt dock or enclosure on the left-front port gets PCIe and DP tunnels and not just USB. The ATC1 DP tunnel clocks move to a shared t6050-atc1-dp-tunnel.dtsi, as ATC2's did.

Tested: DTBs: every other T6050 board byte-identical, except the J714s, which loses the unused interrupt-names = "port0" of its left-front pciec node (second commit: the binding forbids it for apple,t6050-pciec and the driver finds a pciec port interrupt by index). scripts/dtc/apple-dt-check.sh (the dt-checks job) over all 139 Apple DTBs: 0 new warnings, 1 removed (the J714s one). K114s row (TB5 enclosure with a monitor on its passthrough on the left-front port): pending.

Risk: two-way · K114s, K114c (M5 Pro/Max 14-inch).

Tested on the K114s (bridge6 kernel, Stage 2 with this tree, 11-28 and 11-29; row comments below): acio1 binds (thunderbolt-apple-acio) and pcie-tunnel-1 is present, with no new kernel warning. The DP-alt dock on the left-front port keeps working: 1920x1080@180, and the dock's USB devices enumerate.

Not yet: a Thunderbolt/USB4 device on the left-front port (PCIe and DP tunnels through acio1). The TB5 enclosure has to be moved there by hand. K114c untested (same ADT nodes per t6050-k114-usb.dtsi).

Details

The K114s ADT's acio1, acio-cpu1, dart-acio1, apciec1, dart-apciec1 and atc1-dpin0..3 equal the J714sAP ADT's, phandles aside, including the host DROM and LSTX pin, and so do atc-phy1's CIO RX_TOP tunables. So the K114 boards include t6050-j714s-left-usb4.dtsi, as they already include the shared ATC2 router, define T6050_ATC1_USB4_ROUTER (the inventory's standalone apciec1_dart gives way to the tunnel's, as on J714s/J716c) and expose LSTX pin 79. The K116s's atc-phy1 RX_TOP tunables differ (0x0 vs 0x200), so the 16-inch boards are left alone.

Evidence
  • Base vs head DTBs for all apple/t6050-*.dts: only k114s/k114c differ. Normalised delta (phandles resolved): acio1 + NHI + DART, pcie-tunnel-1 (apciec1 + DART), atc1 dp0..3 domains + dp-clock-source, acio1 dpin interrupts, hpm1 port@3 to acio1, AOP reserved ranges.
  • dt-checks: the first CI run flagged the J714s's existing apciec1 interrupt-names port0 warning on K114s and K114c, from the shared file; the second commit drops that name, which also clears it on the J714s.
  • ADT comparison: K114s vs J714sAP vs K116s for those nodes (only phandle refs differ K114s/J714s).

The K114s and K114c left-front USB-C port (ATC1) had no USB4/Thunderbolt
router in the tree: a Thunderbolt dock or enclosure there got USB only,
with no PCIe tunnel and no DisplayPort tunnel, while DP alt mode worked.

The K114s ADT's acio1, acio-cpu1, dart-acio1, apciec1, dart-apciec1 and
atc1-dpin0..3 equal the J714sAP ADT's, phandles aside (host DROM and LSTX
pin included), and so do atc-phy1's CIO RX_TOP tunables. So the K114
boards include the J714s left-front router (t6050-j714s-left-usb4.dtsi)
as they include the shared ATC2 router, and expose its LSTX pin 79.

The ATC1 DP tunnel clocks (dp-clock-source, dp0..3 domains, DP IN
interrupts) move from t6050-j714s-display.dtsi to a shared
t6050-atc1-dp-tunnel.dtsi, as t6050-atc2-dp-tunnel.dtsi did for ATC2.

The K116s's atc-phy1 RX_TOP tunables differ, so the 16-inch boards are
left as they are. All other T6050 DTBs are byte-identical (J714s
included); dtbs_check adds no new warning type (the apciec1 port0
interrupt name warning is the J714s's, from the shared file).

Signed-off-by: Ryan Murray <[email protected]>
The left-front PCIe tunnel controller (apple,t6050-pciec) names its
one interrupt "port0", which the binding does not allow for that
compatible (interrupt-names: false outside T6040), so every board
that includes the node gets a dtbs_check warning: the J714s today,
and the K114s and K114c with the previous commit.

The driver finds a pciec port's interrupt by index; only the
adopt_link hosts (the internal apple,t6050-pcie) look it up by name.
The left-back and right tunnel controllers have no interrupt-names
either. Drop it.

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 64ef1fc2 (once pr-text/readiness finish)

Blockers: none (dt-checks and host-tests are green at 64ef1fc2; wait for queued pr-text/readiness before merging; land ahead of #3498)

Checked:

  • arch/arm64/boot/dts/apple/t6050-atc1-dp-tunnel.dtsi & t6050-j714s-display.dtsi: exact extraction of &ps_atc1_common_dp_0..3, &atc1_phy dp-clock-source + dp0..dp3 domains, and &acio1 dpin0..3 interrupts into a shared .dtsi, keeping J714s functionally identical.
  • arch/arm64/boot/dts/apple/t6050-k114-k116-usb.dtsi, t6050-k114-usb.dtsi, t6050-k114s.dts, t6050-k114c.dts, t6050-peripherals.dtsi: adds typec1: label on left-front connector, includes t6050-j714s-left-usb4.dtsi and t6050-atc1-dp-tunnel.dtsi, gates standalone apciec1_dart with T6050_ATC1_USB4_ROUTER, and updates &pinctrl_aop gpio-reserved-ranges = <0 79>, <80 1>, <82 3> (freeing GPIO 79 for acio1 LSTX while keeping GPIO 81 free for acio2 LSTX).
  • arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi: drops interrupt-names = "port0" on apple,t6050-pciec (disallowed by binding; driver indexes interrupt), clearing a dtbs_check warning on J714s as well as K114s/K114c.
  • K114s boot rows (2026-11-28 & 2026-11-29): acio1 binds (thunderbolt-apple-acio), pcie-tunnel-1 present, left-front DP-alt dock runs 1920x1080@180 + USB enumerates, 0 new kernel warnings.
Evidence
  • Head: 64ef1fc2156c (MERGEABLE on main, +83/-49, 8 files).
  • CI at review time: dt-checks and host-tests PASS; pr-text and readiness queued/pending.
  • Note: hands-on TB5 enclosure PCIe/DP tunnel verification on the left-front port remains tracked under Not yet.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at 64ef1fc2. 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.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging under the 6-point rule (Ryan 09:29, permanent), at 64ef1fc2. (1) The review App approved at this head. (2) Full CI is green. (3/4) Rows: K114s-rows;K114s-DT-only. (5) There's no blocking review. (6) Dj was pinged here 112 min ago with no objection. Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit 9adc887 into main Nov 29, 2026
5 of 11 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t6050-k114-left-usb4 branch November 29, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant