arm64: dts: qcom: talos: Add graph port placeholders for USB Type-C muxing
PATCH v2 1/2 arm64: dts: qcom: talos: Add graph port placeholders for USB Type-C muxing
Add empty port/endpoint nodes on the primary USB QMP PHY (usb_qmpphy) and the usb_1/usb_2 dwc3 controllers, along with orientation-switch on the PHY. These placeholders let board files wire up a USB-C PD controller's HS/SS endpoints directly via
&label { remote-endpoint = <...>; }; instead of redeclaring the port/ports structure on the shared nodes.
--- arch/arm64/boot/dts/qcom/talos.dtsi | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+)
arch/arm64/boot/dts/qcom/talos.dtsi +35 -0
@@ -5078,7 +5078,21 @@ usb_qmpphy: phy@88e6000 { #phy-cells = <0>; + orientation-switch; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_qmpphy_out: endpoint { + }; + }; + }; }; usb_qmpphy_2: phy@88e8000 {
@@ -5163,7 +5177,21 @@ usb_1: usb@a600000 { wakeup-source; dma-coherent; + usb-role-switch; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + usb_1_dwc3_hs: endpoint { + }; + }; + }; }; usb_2: usb@a800000 {
@@ -5220,7 +5248,14 @@ usb_2: usb@a800000 { wakeup-source; dma-coherent; + usb-role-switch; + status = "disabled"; + + port { + usb_2_dwc3_hs: endpoint { + }; + }; }; tsens0: thermal-sensor@c263000 {
Signature · 1 line
2.43.0
Quoted 8 lines · Akash Kumar
Add empty port/endpoint nodes on the primary USB QMP PHY (
usb_qmpphy) and the usb_1/usb_2 dwc3 controllers, along with orientation-switch on the PHY. These placeholders let board files wire up a USB-C PD controller's HS/SS endpoints directly via
&label { remote-endpoint = <...>; }; instead of redeclaring the port/ports structure on the shared nodes.Signed-off-by Akash Kumar <[email protected]>
Why isn't this part of proper patchset using it? Why Talos Lyra has 5 independent patches, all built on top of each other or cross-depending while nothing is merged?
Best regards,
Krzysztof