arm64: dts: qcom: sm8350-sagami: Wire up USB regulators and fix USB3
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 14 Nov 2022 14:36:42 +0000 (15:36 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 15 Nov 2022 17:45:51 +0000 (11:45 -0600)
Wire up necessary supplies to USB PHYs to enable USB3 on Sagami and
remove all the limit-to-USB2 properties.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221114143642.44839-2-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi

index f7eb30b..3365903 100644 (file)
 &ufs_mem_hc { status = "disabled"; };
 &ufs_mem_phy { status = "disabled"; };
 
-/* TODO: Make USB3 work (perhaps needs regulators for higher-current operation?) */
 &usb_1 {
        status = "okay";
-
-       qcom,select-utmi-as-pipe-clk;
 };
 
 &usb_1_dwc3 {
        dr_mode = "peripheral";
-
-       maximum-speed = "high-speed";
-       phys = <&usb_1_hsphy>;
-       phy-names = "usb2-phy";
 };
 
 &usb_1_hsphy {
        status = "okay";
+
+       vdda-pll-supply = <&pm8350_l5>;
+       vdda18-supply = <&pm8350c_l1>;
+       vdda33-supply = <&pm8350_l2>;
 };
 
 &usb_1_qmpphy {
        status = "okay";
+
+       vdda-phy-supply = <&pm8350_l6>;
+       vdda-pll-supply = <&pm8350_l1>;
 };