]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ca3a6da7bd8fc9ccd9bd63e6c43bef48dae8009
tree3ac4406c61c7748aae44f66fd53015435d65bf5b
parent00fd06d286a4feb4f3f58cf2b989ba788cb4fd5d
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