Commit 78f7017c authored by Caesar Wang's avatar Caesar Wang
Browse files

rockchip: fix the reset-hold release for rk3399 resume

The pmusgrf reset-hold bits needs to be released, since the
pmusgrf reset-hold bits needs to be held.

Change-Id: Ia1eccc8fba18294f26b4cc07d47bc5e513dd9a1f
parent 545bff0e
...@@ -899,8 +899,6 @@ static int sys_pwr_domain_resume(void) ...@@ -899,8 +899,6 @@ static int sys_pwr_domain_resume(void)
enable_dvfs_plls(); enable_dvfs_plls();
plls_resume_finish(); plls_resume_finish();
pmu_sgrf_rst_hld();
sys_slp_unconfig(); sys_slp_unconfig();
mmio_write_32(SGRF_BASE + SGRF_SOC_CON0_1(1), mmio_write_32(SGRF_BASE + SGRF_SOC_CON0_1(1),
...@@ -937,6 +935,7 @@ static int sys_pwr_domain_resume(void) ...@@ -937,6 +935,7 @@ static int sys_pwr_domain_resume(void)
} }
} }
pmu_sgrf_rst_hld_release();
pmu_scu_b_pwrup(); pmu_scu_b_pwrup();
pmu_power_domains_resume(); pmu_power_domains_resume();
......
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