]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
clk: tegra: Fix clock sources for Tegra210 EMC
authorJon Hunter <jonathanh@nvidia.com>
Fri, 18 Dec 2015 13:45:28 +0000 (13:45 +0000)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Thu, 12 May 2016 07:59:56 +0000 (10:59 +0300)
commitfaf9cb90a4e844c816e85ca62100ae7041b8972a
tree9b405ec33b0bc36be7545ca7eb7782b27bf2c201
parent6cbbbec3009c3d011b613a4f497810f18451a2c0
clk: tegra: Fix clock sources for Tegra210 EMC

The EMC clock sources for Tegra210 currently incorrectly include pll_c2
and pll_c3. However, both of these should have been pll_mb as shown in
the TRM. If Tegra210 happens to be configured such that the pll_mb is the
default clock for the EMC, as configured by the bootloader, then this will
cause a system hang on boot. This is because the kernel will disable the
pll_mb when disabling unused clock as it appears to be unused when it is
not.

Also add the additional pll_p clock source for the EMC.

Change-Id: Iac0619f55f61a95305e1f162e1b9eb20d592a5e5
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra210.c