Repository navigation
arm64: dts: apple: t6050-k114: describe the left-front USB4 router - #3497
Conversation
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]>
|
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 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_phydp-clock-source+dp0..dp3domains, and&acio1dpin0..3interrupts 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: addstypec1:label on left-front connector, includest6050-j714s-left-usb4.dtsiandt6050-atc1-dp-tunnel.dtsi, gates standaloneapciec1_dartwithT6050_ATC1_USB4_ROUTER, and updates&pinctrl_aopgpio-reserved-ranges = <0 79>, <80 1>, <82 3>(freeing GPIO 79 foracio1LSTX while keeping GPIO 81 free foracio2LSTX).arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi: dropsinterrupt-names = "port0"onapple,t6050-pciec(disallowed by binding; driver indexes interrupt), clearing adtbs_checkwarning on J714s as well as K114s/K114c.- K114s boot rows (
2026-11-28&2026-11-29):acio1binds (thunderbolt-apple-acio),pcie-tunnel-1present, left-front DP-alt dock runs1920x1080@180+ USB enumerates, 0 new kernel warnings.
Evidence
- Head:
64ef1fc2156c(MERGEABLEonmain,+83/-49, 8 files). - CI at review time:
dt-checksandhost-testsPASS;pr-textandreadinessqueued/pending. - Note: hands-on TB5 enclosure PCIe/DP tunnel verification on the left-front port remains tracked under
Not yet.
|
code-owner ping <@422957901716652033> / @DjDeveloperr: merge train at |
|
Merging under the 6-point rule (Ryan 09:29, permanent), at |
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) andpcie-tunnel-1is 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-apciec1andatc1-dpin0..3equal the J714sAP ADT's, phandles aside, including the host DROM and LSTX pin, and so doatc-phy1's CIO RX_TOP tunables. So the K114 boards includet6050-j714s-left-usb4.dtsi, as they already include the shared ATC2 router, defineT6050_ATC1_USB4_ROUTER(the inventory's standaloneapciec1_dartgives way to the tunnel's, as on J714s/J716c) and expose LSTX pin 79. The K116s'satc-phy1RX_TOP tunables differ (0x0 vs 0x200), so the 16-inch boards are left alone.Evidence
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, hpm1port@3to acio1, AOP reserved ranges.apciec1 interrupt-names port0warning on K114s and K114c, from the shared file; the second commit drops that name, which also clears it on the J714s.