]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 28 Mar 2013 07:44:46 +0000 (16:44 +0900)
commit88f02989f98d6fd09aba47da56fa48b27f838ebd
tree448596739681c1724dfa9cdf4a48d016098f0999
parent7248e1a44884c436bc7017ce7d27c60fab9bf2b7
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]