]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: tegra: Make vic03 a child of pll_c3
authorThierry Reding <treding@nvidia.com>
Mon, 11 Jun 2018 08:18:53 +0000 (10:18 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Jul 2018 00:03:59 +0000 (17:03 -0700)
By default, the vic03 clock is a child of pll_m but that runs at 924 MHz
which is too fast for VIC. Make vic03 a child of pll_c3 by default so it
will run at a supported frequency.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-tegra124.c

index 0c69c797095040b19fef2eeeacef6be4da5f0d3b..f5048f82c0b9cd80df8c7c15da1e444f5e6986fc 100644 (file)
@@ -1290,6 +1290,7 @@ static struct tegra_clk_init_table common_init_table[] __initdata = {
        { TEGRA124_CLK_MSELECT, TEGRA124_CLK_CLK_MAX, 0, 1 },
        { TEGRA124_CLK_CSITE, TEGRA124_CLK_CLK_MAX, 0, 1 },
        { TEGRA124_CLK_TSENSOR, TEGRA124_CLK_CLK_M, 400000, 0 },
+       { TEGRA124_CLK_VIC03, TEGRA124_CLK_PLL_C3, 0, 0 },
        /* must be the last entry */
        { TEGRA124_CLK_CLK_MAX, TEGRA124_CLK_CLK_MAX, 0, 0 },
 };