diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2018-01-25 16:00:12 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-08 19:18:08 +0100 |
commit | e403d00573431e1e3de1710a91c6090c60ec16af (patch) | |
tree | 5f6822fecb0e38b045b2fcf1a2848920cace7542 /drivers/clk/tegra/clk-tegra20.c | |
parent | cbfc8d0a85aa72ad66227c69b08904143dc73bbb (diff) | |
download | linux-e403d00573431e1e3de1710a91c6090c60ec16af.tar.gz linux-e403d00573431e1e3de1710a91c6090c60ec16af.tar.bz2 linux-e403d00573431e1e3de1710a91c6090c60ec16af.zip |
clk: tegra: MBIST work around for Tegra210
Tegra210 has a hw bug which can cause IP blocks to lock up when ungating a
domain. The reason is that the logic responsible for resetting the memory
built-in self test mode can come up in an undefined state because its
clock is gated by a second level clock gate (SLCG). Work around this by
making sure the logic will get some clock edges by ensuring the relevant
clock is enabled and temporarily override the relevant SLCGs.
Unfortunately for some IP blocks, the control bits for overriding the
SLCGs are not in CAR, but in the IP block itself. This means we need to
map a few extra register banks in the clock code.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Hector Martin <marcan@marcan.st>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
fixup mbist
Diffstat (limited to 'drivers/clk/tegra/clk-tegra20.c')
0 files changed, 0 insertions, 0 deletions