ARM: shmobile: r8a7778: use fixed ratio clock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 12 Apr 2013 08:13:14 +0000 (01:13 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 7 Jun 2013 05:24:47 +0000 (14:24 +0900)
commit08b93ec126ffc0b810ac615729e14c4a3571b9c8
tree3ac4406c61c7748aae44f66fd53015435d65bf5b
parent0f704e1285100452ad8b02a1658fe723bc93aeee
ARM: shmobile: r8a7778: use fixed ratio clock

R-Car M1 has many clocks, and it is possible to
read/use clock ratio of these clocks from FRQMRx.
But, these ratio are fixed value and
these are decided by MD pin status.

This patch reads MD pin status,
and used fixed ratio clock for other clocks.
It was tesed on bock-w board.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a7778.c