Skip to content

Commit 6fe38aa

Browse files
Sowjanya Komatinenithierryreding
authored andcommitted
clk: tegra: Fix Tegra PMC clock out parents
Tegra PMC clocks clk_out_1, clk_out_2, and clk_out_3 supported parents are osc, osc_div2, osc_div4 and extern clock. Clock driver is using incorrect parents clk_m, clk_m_div2, clk_m_div4 for PMC clocks. This patch fixes this. Tested-by: Dmitry Osipenko <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Signed-off-by: Sowjanya Komatineni <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 2b50e49 commit 6fe38aa

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/clk/tegra/clk-tegra-pmc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ struct pmc_clk_init_data {
4949

5050
static DEFINE_SPINLOCK(clk_out_lock);
5151

52-
static const char *clk_out1_parents[] = { "clk_m", "clk_m_div2",
53-
"clk_m_div4", "extern1",
52+
static const char *clk_out1_parents[] = { "osc", "osc_div2",
53+
"osc_div4", "extern1",
5454
};
5555

56-
static const char *clk_out2_parents[] = { "clk_m", "clk_m_div2",
57-
"clk_m_div4", "extern2",
56+
static const char *clk_out2_parents[] = { "osc", "osc_div2",
57+
"osc_div4", "extern2",
5858
};
5959

60-
static const char *clk_out3_parents[] = { "clk_m", "clk_m_div2",
61-
"clk_m_div4", "extern3",
60+
static const char *clk_out3_parents[] = { "osc", "osc_div2",
61+
"osc_div4", "extern3",
6262
};
6363

6464
static struct pmc_clk_init_data pmc_clks[] = {

0 commit comments

Comments
 (0)