ram: rk3399: Configure phy IO in ds odt
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 16 Jul 2019 11:57:07 +0000 (17:27 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
commitba607fafd12e44735b6f3bc352b686101efc9155
tree11d8bbd1f3e29f82651c77758ac7417eb08aed15
parenta735550bb8471a170247fad5376d0086b15ddedd
ram: rk3399: Configure phy IO in ds odt

Some dramtypes like lpddr4 initialization would required to
configure phy IO even after pctl_cfg and after set_ds_odt.

For those cases the set_ds_odt would be an initial call to
setup the phy.

To satisfy all the cases, trigger phy IO from set_ds_odt.

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