diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-11-19 04:04:20 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 02:52:20 -0500 |
commit | 31ac8e47e9060a9b27ac955d387264b3b6b76bec (patch) | |
tree | f33e74b31b81edc543d28d230bc323869fe29c41 | |
parent | 8476cee684a68564d315043953fe090b36e9cfd2 (diff) |
ARM: shmobile: r8a7790: care EXTAL divider settings
EXTAL clock frequency needs 1/2 when
(MD14, MD13, MD19) = (1, x, x).
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm/mach-shmobile/clock-r8a7790.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7790.c b/arch/arm/mach-shmobile/clock-r8a7790.c index 33e80b109c62..ecec746d520e 100644 --- a/arch/arm/mach-shmobile/clock-r8a7790.c +++ b/arch/arm/mach-shmobile/clock-r8a7790.c | |||
@@ -329,10 +329,10 @@ void __init r8a7790_clock_init(void) | |||
329 | R8A7790_CLOCK_ROOT(20, &extal_clk, 130, 156, 80, 66); | 329 | R8A7790_CLOCK_ROOT(20, &extal_clk, 130, 156, 80, 66); |
330 | break; | 330 | break; |
331 | case MD(14): | 331 | case MD(14): |
332 | R8A7790_CLOCK_ROOT(26, &extal_div2_clk, 200, 240, 122, 102); | 332 | R8A7790_CLOCK_ROOT(26 / 2, &extal_div2_clk, 200, 240, 122, 102); |
333 | break; | 333 | break; |
334 | case MD(13) | MD(14): | 334 | case MD(13) | MD(14): |
335 | R8A7790_CLOCK_ROOT(30, &extal_div2_clk, 172, 208, 106, 88); | 335 | R8A7790_CLOCK_ROOT(30 / 2, &extal_div2_clk, 172, 208, 106, 88); |
336 | break; | 336 | break; |
337 | } | 337 | } |
338 | 338 | ||