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> |
---|
|
plat/rockchip/rk3399/drivers/dram/dfs.c |
---|
plat/rockchip/rk3399/drivers/dram/dfs.h |
---|
plat/rockchip/rk3399/drivers/dram/suspend.c |
---|
plat/rockchip/rk3399/drivers/pmu/pmu.c |
---|