Skip to content

Commit f176168

Browse files
lumagandersson
authored andcommitted
arm64: dts: qcom: sm6115: fix USB PHY configuration
The patch adding Type-C support for sm6115 was misapplied. All the orientation switch configuration ended up at the UFS PHY node instead of the USB PHY node. Move the data bits to the correct place. Fixes: a06a2f1 ("arm64: dts: qcom: qrb4210-rb2: enable USB-C port handling") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240220173104.3052778-1-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent dfc554d commit f176168

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

arch/arm64/boot/dts/qcom/sm6115.dtsi

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -884,10 +884,31 @@
884884
clock-output-names = "usb3_phy_pipe_clk_src";
885885

886886
#phy-cells = <0>;
887+
orientation-switch;
887888

888889
qcom,tcsr-reg = <&tcsr_regs 0xb244>;
889890

890891
status = "disabled";
892+
893+
ports {
894+
#address-cells = <1>;
895+
#size-cells = <0>;
896+
897+
port@0 {
898+
reg = <0>;
899+
900+
usb_qmpphy_out: endpoint {
901+
};
902+
};
903+
904+
port@1 {
905+
reg = <1>;
906+
907+
usb_qmpphy_usb_ss_in: endpoint {
908+
remote-endpoint = <&usb_dwc3_ss>;
909+
};
910+
};
911+
};
891912
};
892913

893914
system_noc: interconnect@1880000 {
@@ -1213,29 +1234,8 @@
12131234
reset-names = "ufsphy";
12141235

12151236
#phy-cells = <0>;
1216-
orientation-switch;
12171237

12181238
status = "disabled";
1219-
1220-
ports {
1221-
#address-cells = <1>;
1222-
#size-cells = <0>;
1223-
1224-
port@0 {
1225-
reg = <0>;
1226-
1227-
usb_qmpphy_out: endpoint {
1228-
};
1229-
};
1230-
1231-
port@1 {
1232-
reg = <1>;
1233-
1234-
usb_qmpphy_usb_ss_in: endpoint {
1235-
remote-endpoint = <&usb_dwc3_ss>;
1236-
};
1237-
};
1238-
};
12391239
};
12401240

12411241
gpi_dma0: dma-controller@4a00000 {

0 commit comments

Comments
 (0)