summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/board2.c
diff options
context:
space:
mode:
authorJC Kuo <jckuo@nvidia.com>2020-03-26 16:10:09 -0700
committerTom Warren <twarren@nvidia.com>2020-04-02 14:30:01 -0700
commitd491dc09e4cfb7e513d3d6f448d811f1297753d9 (patch)
treedf53d53d39048ade69bc6e351ee8c78b9aff5fc7 /arch/arm/mach-tegra/board2.c
parent9eb15cbe5c94fca24519b5d89d934eeb34a68e5d (diff)
downloadu-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.tar.gz
u-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.tar.xz
u-boot-d491dc09e4cfb7e513d3d6f448d811f1297753d9.zip
t210: do not enable PLLE and UPHY PLL HW PWRSEQ
This commit removes the programming sequence that enables PLLE and UPHY PLL hardware power sequencers. Per TRM, boot software should enable PLLE and UPHY PLLs in software controlled power-on state and should power down PLL before jumping into kernel or the next stage boot software. Adds call to board_cleanup_before_linux to facilitate this. Signed-off-by: JC Kuo <jckuo@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board2.c')
-rw-r--r--arch/arm/mach-tegra/board2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board2.c b/arch/arm/mach-tegra/board2.c
index d3497a2673..787ff97420 100644
--- a/arch/arm/mach-tegra/board2.c
+++ b/arch/arm/mach-tegra/board2.c
@@ -181,6 +181,12 @@ int board_init(void)
return nvidia_board_init();
}
+void board_cleanup_before_linux(void)
+{
+ /* power down UPHY PLL */
+ tegra_xusb_padctl_exit();
+}
+
#ifdef CONFIG_BOARD_EARLY_INIT_F
static void __gpio_early_init(void)
{