summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-03-22 09:45:36 -0600
committerTom Warren <twarren@nvidia.com>2016-03-29 09:57:57 -0700
commit8f83759fac57cb25e23f6f75c001fe23aea47ee1 (patch)
tree67e875a91022af1f4e6895bf474603a874bd33a2 /arch/arm/mach-tegra
parentf3c2cab87878d2ecd5bd796ee940dff814aa3255 (diff)
downloadu-boot-imx-8f83759fac57cb25e23f6f75c001fe23aea47ee1.zip
u-boot-imx-8f83759fac57cb25e23f6f75c001fe23aea47ee1.tar.gz
u-boot-imx-8f83759fac57cb25e23f6f75c001fe23aea47ee1.tar.bz2
ARM: tegra210: set PLLE_PTS bit when enabling PLLE
This bit needs to be set for system suspend/resume to work. This setting will be documented in an updated TRM at some time in the future. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/tegra210/clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra210/clock.c b/arch/arm/mach-tegra/tegra210/clock.c
index df92bdc..f0052e7 100644
--- a/arch/arm/mach-tegra/tegra210/clock.c
+++ b/arch/arm/mach-tegra/tegra210/clock.c
@@ -1104,6 +1104,7 @@ static int tegra_pllref_enable(void)
#define PLLE_MISC_IDDQ_SWCTL (1 << 14)
#define PLLE_MISC_IDDQ_OVERRIDE_VALUE (1 << 13)
#define PLLE_MISC_LOCK (1 << 11)
+#define PLLE_PTS (1 << 8)
#define PLLE_MISC_KCP(x) (((x) & 0x3) << 6)
#define PLLE_MISC_VREG_CTRL(x) (((x) & 0x3) << 2)
#define PLLE_MISC_KVCO (1 << 0)
@@ -1157,6 +1158,7 @@ int tegra_plle_enable(void)
writel(value, NV_PA_CLK_RST_BASE + PLLE_BASE);
value = readl(NV_PA_CLK_RST_BASE + PLLE_MISC);
+ value |= PLLE_PTS;
value &= ~PLLE_MISC_KCP(3);
value &= ~PLLE_MISC_VREG_CTRL(3);
value &= ~PLLE_MISC_KVCO;