diff options
author | Dong Aisheng <b29396@freescale.com> | 2011-07-19 23:41:41 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-23 02:56:13 -0400 |
commit | cf66ea8e14b753f1c4d38322d3e52f8838528091 (patch) | |
tree | 57b2a9377eefba158baf48afcd56c50f55d1fd57 /arch/arm/mach-mxs/clock-mx28.c | |
parent | 322a8b034003c0d46d39af85bf24fee27b902f48 (diff) |
ARM: mxs: add saif clock
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>
Diffstat (limited to 'arch/arm/mach-mxs/clock-mx28.c')
-rw-r--r-- | arch/arm/mach-mxs/clock-mx28.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index 5dcc59d5b9ec..7b3657b240c8 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c | |||
@@ -640,6 +640,8 @@ static struct clk_lookup lookups[] = { | |||
640 | _REGISTER_CLOCK(NULL, "lradc", lradc_clk) | 640 | _REGISTER_CLOCK(NULL, "lradc", lradc_clk) |
641 | _REGISTER_CLOCK(NULL, "spdif", spdif_clk) | 641 | _REGISTER_CLOCK(NULL, "spdif", spdif_clk) |
642 | _REGISTER_CLOCK("imx28-fb", NULL, lcdif_clk) | 642 | _REGISTER_CLOCK("imx28-fb", NULL, lcdif_clk) |
643 | _REGISTER_CLOCK("mxs-saif.0", NULL, saif0_clk) | ||
644 | _REGISTER_CLOCK("mxs-saif.1", NULL, saif1_clk) | ||
643 | }; | 645 | }; |
644 | 646 | ||
645 | static int clk_misc_init(void) | 647 | static int clk_misc_init(void) |
@@ -774,6 +776,8 @@ int __init mx28_clocks_init(void) | |||
774 | clk_enable(&uart_clk); | 776 | clk_enable(&uart_clk); |
775 | 777 | ||
776 | clk_set_parent(&lcdif_clk, &ref_pix_clk); | 778 | clk_set_parent(&lcdif_clk, &ref_pix_clk); |
779 | clk_set_parent(&saif0_clk, &pll0_clk); | ||
780 | clk_set_parent(&saif1_clk, &pll0_clk); | ||
777 | 781 | ||
778 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); | 782 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); |
779 | 783 | ||