rockchip: rk3399: add support for ddrfreq suspend/resume
This patch sets the frequency configuration of the next DRAM DFS index
to the configuration of the current index. This does not perform a
frequency transition. It just configures registers so the training on
resume for both indices will be correct.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
1 parent 977001a commit 4bd1d3faed7893e8e7d74f82b4b5de7443f434bd
@Derek Basehore Derek Basehore authored on 24 Feb 2017
Xing Zheng committed on 24 Feb 2017
Showing 4 changed files
View
plat/rockchip/rk3399/drivers/dram/dfs.c
View
plat/rockchip/rk3399/drivers/dram/dfs.h
View
plat/rockchip/rk3399/drivers/dram/suspend.c
View
plat/rockchip/rk3399/drivers/pmu/pmu.c