]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8250: describe HS signals properly
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 11 May 2024 22:04:09 +0000 (01:04 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 16:44:30 +0000 (11:44 -0500)
The OF graph should describe physical signals. There is no 'role switch'
signal between Type-C connector and the DWC3 USB controller. Rename
endpoints to mention USB HS signal instead (this follows the example
lead by other plaforms, including QRB2210 RB1, QRB4210 RB2 and all PMIC
GLINK platforms).

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240512-typec-fix-sm8250-v4-3-ad153c747a97@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 70036a95cace3216e1eb1e9708d764f485c674b5..c52357214de5e1444391190c1378d2c071c48473 100644 (file)
        usb-role-switch;
 };
 
-&usb_1_role_switch_out {
-       remote-endpoint = <&pm8150b_role_switch_in>;
+&usb_1_dwc3_hs_out {
+       remote-endpoint = <&pm8150b_hs_in>;
 };
 
 &usb_1_hsphy {
 
                        port@0 {
                                reg = <0>;
-                               pm8150b_role_switch_in: endpoint {
-                                       remote-endpoint = <&usb_1_role_switch_out>;
+                               pm8150b_hs_in: endpoint {
+                                       remote-endpoint = <&usb_1_dwc3_hs_out>;
                                };
                        };
 
index 41f117474872898aaeaab698ace0749f06f8743c..3596dd328c31d6f0430fed343c7e2307147d21f3 100644 (file)
                        port@0 {
                                reg = <0>;
 
-                               pm8150b_role_switch_in: endpoint {
-                                       remote-endpoint = <&usb_1_role_switch_out>;
+                               pm8150b_hs_in: endpoint {
+                                       remote-endpoint = <&usb_1_dwc3_hs_out>;
                                };
                        };
                };
        status = "okay";
 };
 
-&usb_1_role_switch_out {
-       remote-endpoint = <&pm8150b_role_switch_in>;
+&usb_1_dwc3_hs_out {
+       remote-endpoint = <&pm8150b_hs_in>;
 };
 
 &ufs_mem_hc {
index 759e0822b3acfd76b9a5543ba91756cc7e7cf904..4ec9541ce1047c21aed8db891c04b7b3e8bd57d1 100644 (file)
                                phy-names = "usb2-phy", "usb3-phy";
 
                                port {
-                                       usb_1_role_switch_out: endpoint {};
+                                       usb_1_dwc3_hs_out: endpoint {};
                                };
                        };
                };