Commit 3a2b37b0 authored by Evan Green's avatar Evan Green Committed by Andy Gross

arm64: dts: msm8996: Add UFS PHY reset controller

Add the reset controller for the UFS controller, and wire it up
so that the UFS PHY can initialize itself without relying on
implicit sequencing between the two drivers.
Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
Signed-off-by: default avatarEvan Green <evgreen@chromium.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@kernel.org>
parent a188339c
...@@ -854,10 +854,11 @@ ufsphy: phy@627000 { ...@@ -854,10 +854,11 @@ ufsphy: phy@627000 {
clock-names = "ref_clk_src", "ref_clk"; clock-names = "ref_clk_src", "ref_clk";
clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
<&gcc GCC_UFS_CLKREF_CLK>; <&gcc GCC_UFS_CLKREF_CLK>;
resets = <&ufshc 0>;
status = "disabled"; status = "disabled";
}; };
ufshc@624000 { ufshc: ufshc@624000 {
compatible = "qcom,ufshc"; compatible = "qcom,ufshc";
reg = <0x624000 0x2500>; reg = <0x624000 0x2500>;
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
...@@ -913,6 +914,7 @@ ufshc@624000 { ...@@ -913,6 +914,7 @@ ufshc@624000 {
<0 0>; <0 0>;
lanes-per-direction = <1>; lanes-per-direction = <1>;
#reset-cells = <1>;
status = "disabled"; status = "disabled";
ufs_variant { ufs_variant {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment