]> 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)
commit6c9eab508c9273045d310307d4ef5597eb2aed86
tree3ac4406c61c7748aae44f66fd53015435d65bf5b
parent459d943e8520a57dcc5f13eb39ea2deedcb0e5fb
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