diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-08-23 07:42:56 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:01:32 -0400 |
commit | afead586889f67b111ae23e78f9edf8b32c01f7e (patch) | |
tree | 086d8f24c6afbd773c3165429ecfaf64f8233356 /arch | |
parent | b34d7e9229f04a02592cf1424820ba8aef5a5f5c (diff) |
ENGR00276567-3 ARM: imx6q: Set pll4 as ssi's parent
PLL4 is a flexible pll that can be set to a value as we need,
so we set it to an value that can easily derive 44.1K and 48K
and then put ssi baud clock as its child clock.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index e9f068c646a1..66aa00405b03 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c | |||
@@ -507,6 +507,14 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | |||
507 | if (ret) | 507 | if (ret) |
508 | pr_warn("failed to set up CLKO: %d\n", ret); | 508 | pr_warn("failed to set up CLKO: %d\n", ret); |
509 | 509 | ||
510 | /* Audio clocks */ | ||
511 | clk_set_parent(clk[ssi1_sel], clk[pll4_audio_div]); | ||
512 | clk_set_parent(clk[ssi2_sel], clk[pll4_audio_div]); | ||
513 | clk_set_parent(clk[ssi3_sel], clk[pll4_audio_div]); | ||
514 | |||
515 | /* Set pll4_audio to a value that can derive 5K-88.2KHz and 8K-96KHz */ | ||
516 | clk_set_rate(clk[pll4_audio_div], 541900800); | ||
517 | |||
510 | /* Set initial power mode */ | 518 | /* Set initial power mode */ |
511 | imx6_set_lpm(WAIT_CLOCKED); | 519 | imx6_set_lpm(WAIT_CLOCKED); |
512 | 520 | ||