diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2013-04-04 09:07:14 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-04-04 09:57:41 +0200 |
commit | f0ff5a0a82b0c1be8e14584aa66a7890e08361d9 (patch) | |
tree | b79bb3e101717e7556d9678e771b16acbb57cf42 /arch/arm/mach-shmobile/clock-r8a7779.c | |
parent | ARM: shmobile: r8a7790 SoC 64-bit DT support (diff) | |
download | linux-f0ff5a0a82b0c1be8e14584aa66a7890e08361d9.tar.xz linux-f0ff5a0a82b0c1be8e14584aa66a7890e08361d9.zip |
ARM: shmobile: r8a7779: add each clocks ratio on comment area
Adding comment describing the r8a7779 clock frequencies depending on
MD pin settings.
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-r8a7779.c')
-rw-r--r-- | arch/arm/mach-shmobile/clock-r8a7779.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-r8a7779.c b/arch/arm/mach-shmobile/clock-r8a7779.c index 7d86bfbb5b06..5436b512da7a 100644 --- a/arch/arm/mach-shmobile/clock-r8a7779.c +++ b/arch/arm/mach-shmobile/clock-r8a7779.c @@ -26,6 +26,25 @@ #include <mach/clock.h> #include <mach/common.h> +/* + * MD1 = 1 MD1 = 0 + * (PLLA = 1500) (PLLA = 1600) + * (MHz) (MHz) + *------------------------------------------------+-------------------- + * clkz 1000 (2/3) 800 (1/2) + * clkzs 250 (1/6) 200 (1/8) + * clki 750 (1/2) 800 (1/2) + * clks 250 (1/6) 200 (1/8) + * clks1 125 (1/12) 100 (1/16) + * clks3 187.5 (1/8) 200 (1/8) + * clks4 93.7 (1/16) 100 (1/16) + * clkp 62.5 (1/24) 50 (1/32) + * clkg 62.5 (1/24) 66.6 (1/24) + * clkb, CLKOUT + * (MD2 = 0) 62.5 (1/24) 66.6 (1/24) + * (MD2 = 1) 41.6 (1/36) 50 (1/32) +*/ + #define MD(nr) BIT(nr) #define FRQMR IOMEM(0xffc80014) |