ram: rk3399: Add pctl start support
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 15 Jul 2019 18:28:45 +0000 (23:58 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jul 2019 03:11:09 +0000 (11:11 +0800)
commita0aebe8398415b03c8f3e31a886e4dcbf74b9a6e
tree99057ebc1a6889f4174c375ef18b228e09971121
parentfe42d4a19907d58b67983b0a5a287071fb2c3ed0
ram: rk3399: Add pctl start support

Add support for pctl start for both channel 0, 1 control
and phy registers.

This would also handle pwrup_srefresh_exit init based
on the channel number.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c