Skip to content

Commit

Permalink
ARM: mxs: add saif clock
Browse files Browse the repository at this point in the history
Set pll0 as parent.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
  • Loading branch information
Dong Aisheng authored and Sascha Hauer committed Aug 23, 2011
1 parent 322a8b0 commit cf66ea8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/mach-mxs/clock-mx28.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,8 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK(NULL, "lradc", lradc_clk)
_REGISTER_CLOCK(NULL, "spdif", spdif_clk)
_REGISTER_CLOCK("imx28-fb", NULL, lcdif_clk)
_REGISTER_CLOCK("mxs-saif.0", NULL, saif0_clk)
_REGISTER_CLOCK("mxs-saif.1", NULL, saif1_clk)
};

static int clk_misc_init(void)
Expand Down Expand Up @@ -774,6 +776,8 @@ int __init mx28_clocks_init(void)
clk_enable(&uart_clk);

clk_set_parent(&lcdif_clk, &ref_pix_clk);
clk_set_parent(&saif0_clk, &pll0_clk);
clk_set_parent(&saif1_clk, &pll0_clk);

clkdev_add_table(lookups, ARRAY_SIZE(lookups));

Expand Down

0 comments on commit cf66ea8

Please sign in to comment.