rockchip: rk3399: improve the m0 enable flow
This patch do following things:
1. Request hresetn_cm0s_pmu_req first then request
   poresetn_cm0s_pmu_req during M0 enable.
2. Do not diable M0 clock for ddr dvfs.
3. Correct the clk_pmum0_gating_dis bit, it is BIT0 not BIT1
4. do not set/clear hclk_noc_pmu_en in M0 code, it does not relate
   to the M0 clock.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
1 parent a82ec81 commit ca9286c68a8fe408912fc1cd1b1e1789339ce135
@Lin Huang Lin Huang authored on 12 Dec 2016
Xing Zheng committed on 24 Feb 2017
Showing 4 changed files
View
plat/rockchip/rk3399/drivers/dram/dfs.c
View
plat/rockchip/rk3399/drivers/pmu/m0_ctl.c
View
plat/rockchip/rk3399/drivers/pmu/m0_ctl.h
View
plat/rockchip/rk3399/drivers/pmu/pmu.c