]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 24 Apr 2013 08:05:45 +0000 (17:05 +0900)
commitc4b6656f062eaf9718460c92b1326c22d05c0628
treee008dfa6ea6ef0af082e1444c8a0db3489831b39
parent9a127867b4cabde0666ada4d3f04e230c7bee06f
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