aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-ecovec24/setup.c
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2010-02-22 00:18:10 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-22 05:14:18 -0500
commit16afc9fb0298a66da25ee015eb3c8a8f55e3744a (patch)
tree5e8eb1bda9c3ce75906f93903b06265ec2f2adbf /arch/sh/boards/mach-ecovec24/setup.c
parent6f26d19fce5907cdd0fd953ac1a1d0b1e6e5982c (diff)
sh: sh7724: Update FSI/SPU2 clock
When FSI and Network (= NFS file system) were used at the same time, the I/O of FSI was unstable. This patch updates the SPU2 clock (which is used for FSI) to solve this issue. Special thanks to Jeremy. Signed-off-by: Jeremy Baker <Jeremy.Baker@renesas.com> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-ecovec24/setup.c')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index a17dbb3ac73f..6f2e8a78b461 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -1105,6 +1105,11 @@ static int __init arch_setup(void)
1105 gpio_request(GPIO_FN_FSIOBLRCK, NULL); 1105 gpio_request(GPIO_FN_FSIOBLRCK, NULL);
1106 gpio_request(GPIO_FN_CLKAUDIOBO, NULL); 1106 gpio_request(GPIO_FN_CLKAUDIOBO, NULL);
1107 1107
1108 /* set SPU2 clock to 83.4 MHz */
1109 clk = clk_get(NULL, "spu_clk");
1110 clk_set_rate(clk, clk_round_rate(clk, 83333333));
1111 clk_put(clk);
1112
1108 /* change parent of FSI B */ 1113 /* change parent of FSI B */
1109 clk = clk_get(NULL, "fsib_clk"); 1114 clk = clk_get(NULL, "fsib_clk");
1110 clk_register(&fsimckb_clk); 1115 clk_register(&fsimckb_clk);