]> nv-tegra.nvidia Code Review - linux-4.9.git/commit
memory: tegra: wait correct DLL state for dll update
authorKen Chang <kenc@nvidia.com>
Tue, 2 Oct 2018 05:34:51 +0000 (13:34 +0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 19 Oct 2018 10:53:41 +0000 (03:53 -0700)
commitcc75beeeaaefb23d02a2b8165b5a0809b9735b76
tree008adeebaab64d99975f846dc990dd24b34ec4d3
parent97e45307d8d7c2416f45c6552558be6b5e542578
memory: tegra: wait correct DLL state for dll update

At the end of the DLL disable/enable sequence, it needs to wait on
update of bit CFG_DLL_EN of the EMC_CFG_DIG_DLL shadowed register.
Currently the enable seqneuce also waits on DISABLED state, this is
causing long time elapsed in wait_for_update() and eventually bails
out due to timeout.
This patch fix the above issue.

Bug 2378628
Bug 2403305

Change-Id: Ied2e8be1babd62f703495682b0d17b422ab17cb6
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1917223
(cherry picked from commit dd1c10f635df58419edf5183c512cfc5d7714605)
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1928629
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/memory/tegra/tegra210-emc.c