]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: add struct clk_ratio and fixed ratio clock macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 27 Mar 2013 07:55:41 +0000 (00:55 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 2 Apr 2013 02:02:16 +0000 (11:02 +0900)
commit99ec778f9e0dfbc3256ec1b45b93e3eea53f01ee
treef3eaa01107d9b320f5bd15a245f014092e5c181c
parent6ffc07d9e85816214908970b180a9dd0bf35a45c
ARM: shmobile: add struct clk_ratio and fixed ratio clock macro

Renesas chip has many clocks inside,
and some of them are using fixed ratio via parent clock.
Current shmobile clock code is using own divX_recalc function
and divX_clk_ops.
This patch can reduce these code

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/clock.h [new file with mode: 0644]