]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: x1e80100: Add orientation-switch to all USB+DP QMP PHYs
authorAbel Vesa <abel.vesa@linaro.org>
Thu, 29 Aug 2024 11:44:47 +0000 (14:44 +0300)
committerBjorn Andersson <andersson@kernel.org>
Sat, 31 Aug 2024 02:31:13 +0000 (21:31 -0500)
All three USB SS combo QMP PHYs need to power off, deinit, then init and
power on again on every plug in event. This is done by forwarding the
orientation from the retimer/mux to the PHY. All is needed is the
orientation-switch property in each such PHY devicetree node. So add
them.

Fixes: 4af46b7bd66f ("arm64: dts: qcom: x1e80100: Add USB nodes")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Link: https://lore.kernel.org/r/20240829-x1e80100-combo-qmpphys-add-orientation-switch-v1-1-5c61ea1794da@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi

index 2bdd1e2a86f74fb47d265c76e707bf0cea5b3162..481824182928322fd44c1ac93ff05d18ffab1aef 100644 (file)
                        #clock-cells = <1>;
                        #phy-cells = <1>;
 
+                       orientation-switch;
+
                        status = "disabled";
 
                        ports {
                        #clock-cells = <1>;
                        #phy-cells = <1>;
 
+                       orientation-switch;
+
                        status = "disabled";
 
                        ports {
                        #clock-cells = <1>;
                        #phy-cells = <1>;
 
+                       orientation-switch;
+
                        status = "disabled";
 
                        ports {