From 5739c5c9b8cd9027553295e6e5b32e1903b78e3f Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Fri, 27 Nov 2026 15:05:10 +1100 Subject: [PATCH 1/2] arm64: dts: apple: t6050: K boards: let the loader write the external display routes The K boards describe no DisplayPort route, so no external display engine can drive a USB-C port. Their ADTs describe the routes (dp-switch-* on dcpext0..3 and on each port's direct DP output, with the port's ATC PHY, crossbar and PD controller), and the boot loader writes an engine's routes from them when the engine carries an empty typec-routes container (as on the J775D). Give dcpext0..3 empty typec-routes containers, dropping dcpext0's route through ATC2 from t6050-die0.dtsi, so the loader writes the routes for the ports this tree describes (ATC1 left-front, ATC2 right). Signed-off-by: Ryan Murray --- .../dts/apple/t6050-k114-k116-display.dtsi | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi index 7206ceb2951d..4b11b9857bc5 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi @@ -59,3 +59,53 @@ compatible = "apple,panel"; }; }; + +/* + * The external display engines (dcpext0..3, die 0) on the USB-C ports. Each empty + * typec-routes container asks the boot loader to write the engine's routes from the ADT + * (dp-switch-* on the engine and on each port's direct DP output), for the ports whose PHY, + * crossbar and PD controller this tree describes: ATC1 (left-front) and ATC2 (right). The + * loader hands an engine over with its routes, or leaves it, and what its routes need, + * disabled. dcpext0's route through ATC2 in t6050-die0.dtsi is dropped, with the PHY and + * crossbar it names, so that its routes come from the ADT too (the loader writes no routes for + * an engine that already names PHYs or crossbars). + */ +&dcpext0 { + /delete-property/ apple,typec-dptx-phys; + /delete-property/ apple,typec-mux-indices; + /delete-property/ phys; + /delete-property/ phy-names; + /delete-property/ mux-controls; + /delete-property/ mux-control-names; + + typec-routes { + /delete-node/ route@0; + }; +}; + +&dcpext1 { + apple,connector-type = "USB-C"; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; + }; +}; + +&dcpext2 { + apple,connector-type = "USB-C"; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; + }; +}; + +&dcpext3 { + apple,connector-type = "USB-C"; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; + }; +}; From e4ecee6675f709001724af95cc56e227e5369856 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 28 Nov 2026 14:29:55 +1100 Subject: [PATCH 2/2] arm64: dts: apple: t6050: K boards: drop dcpext0's static DPTX die too dcpext0 keeps apple,dptx-die from t6050-die0.dtsi beside its now empty typec-routes, which the dcp binding does not allow (CHECK_DTBS on the K114s, K114c and K116c: "False schema does not allow 0"). The loader writes apple,dptx-die itself with the routes it adds from the ADT (the same 0 here), so drop it with the other route properties. aura's route writer on the K114s ADT gives the same tree as before. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi index 4b11b9857bc5..9449ea608473 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116-display.dtsi @@ -66,9 +66,10 @@ * (dp-switch-* on the engine and on each port's direct DP output), for the ports whose PHY, * crossbar and PD controller this tree describes: ATC1 (left-front) and ATC2 (right). The * loader hands an engine over with its routes, or leaves it, and what its routes need, - * disabled. dcpext0's route through ATC2 in t6050-die0.dtsi is dropped, with the PHY and - * crossbar it names, so that its routes come from the ADT too (the loader writes no routes for - * an engine that already names PHYs or crossbars). + * disabled. dcpext0's route through ATC2 in t6050-die0.dtsi is dropped, with the PHY, + * crossbar and DPTX die it names, so that its routes come from the ADT too (the loader writes + * no routes for an engine that already names PHYs or crossbars, and writes apple,dptx-die with + * the routes it adds; the binding allows none of them beside an empty typec-routes). */ &dcpext0 { /delete-property/ apple,typec-dptx-phys; @@ -77,6 +78,7 @@ /delete-property/ phy-names; /delete-property/ mux-controls; /delete-property/ mux-control-names; + /delete-property/ apple,dptx-die; typec-routes { /delete-node/ route@0;