]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: tegra: Make vde a child of pll_c3
authorThierry Reding <treding@nvidia.com>
Mon, 11 Jun 2018 08:20:37 +0000 (10:20 +0200)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Jul 2018 00:06:48 +0000 (17:06 -0700)
The current default is to leave the VDE clock's parent at the default,
which is clk_m. However, that is not a configuration that will allow the
VDE to function. Reparent it to pll_c3 instead to make sure the hardware
can actually decode video content.

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

index f5048f82c0b9cd80df8c7c15da1e444f5e6986fc..b6cf28ca2ed291174e7a24576f89afe90638f2d6 100644 (file)
@@ -1267,7 +1267,7 @@ static struct tegra_clk_init_table common_init_table[] __initdata = {
        { TEGRA124_CLK_I2S2, TEGRA124_CLK_PLL_A_OUT0, 11289600, 0 },
        { TEGRA124_CLK_I2S3, TEGRA124_CLK_PLL_A_OUT0, 11289600, 0 },
        { TEGRA124_CLK_I2S4, TEGRA124_CLK_PLL_A_OUT0, 11289600, 0 },
-       { TEGRA124_CLK_VDE, TEGRA124_CLK_CLK_MAX, 600000000, 0 },
+       { TEGRA124_CLK_VDE, TEGRA124_CLK_PLL_C3, 600000000, 0 },
        { TEGRA124_CLK_HOST1X, TEGRA124_CLK_PLL_P, 136000000, 1 },
        { TEGRA124_CLK_DSIALP, TEGRA124_CLK_PLL_P, 68000000, 0 },
        { TEGRA124_CLK_DSIBLP, TEGRA124_CLK_PLL_P, 68000000, 0 },