arm64: dts: qcom: msm8996: Use UFS_GDSC for UFS
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 24 May 2018 22:31:22 +0000 (15:31 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 25 May 2018 21:21:04 +0000 (16:21 -0500)
The UFS host controller occationally (20%) fails to enable
gcc_ufs_axi_clk because the UFS GDSC is not enabled. In most cases it's
enabled through the UFS phy driver, but to make sure it's enabled let's
enable it directly from the UFS host controller directly as well.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 380e14591686baeb3fe0888476a551c7cbac7474..8c7f9ca25b5340f51be48abca6e435f5a6293f7e 100644 (file)
                        clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
                                 <&gcc GCC_UFS_CLKREF_CLK>;
                        status = "disabled";
-
-                       power-domains = <&gcc UFS_GDSC>;
                };
 
                ufshc@624000 {
                        vccq-max-microamp = <450000>;
                        vccq2-max-microamp = <450000>;
 
+                       power-domains = <&gcc UFS_GDSC>;
+
                        clock-names =
                                "core_clk_src",
                                "core_clk",