* [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area
@ 2013-04-03 7:20 Kuninori Morimoto
2013-04-03 8:22 ` Magnus Damm
2013-04-04 6:24 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2013-04-03 7:20 UTC (permalink / raw)
To: linux-sh
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mach-shmobile/clock-r8a7779.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/mach-shmobile/clock-r8a7779.c b/arch/arm/mach-shmobile/clock-r8a7779.c
index 7d86bfb..5436b51 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)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area
2013-04-03 7:20 [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area Kuninori Morimoto
@ 2013-04-03 8:22 ` Magnus Damm
2013-04-04 6:24 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2013-04-03 8:22 UTC (permalink / raw)
To: linux-sh
Hi Morimoto-san, Simon,
I suggest using the following commit message:
Adding comment describing the r8a7779 clock frequencies depending on
MD pin settings.
On Wed, Apr 3, 2013 at 4:20 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
> arch/arm/mach-shmobile/clock-r8a7779.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
Acked-by: Magnus Damm <damm@opensource.se>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area
2013-04-03 7:20 [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area Kuninori Morimoto
2013-04-03 8:22 ` Magnus Damm
@ 2013-04-04 6:24 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-04-04 6:24 UTC (permalink / raw)
To: linux-sh
On Wed, Apr 03, 2013 at 05:22:15PM +0900, Magnus Damm wrote:
> Hi Morimoto-san, Simon,
>
> I suggest using the following commit message:
>
> Adding comment describing the r8a7779 clock frequencies depending on
> MD pin settings.
>
> On Wed, Apr 3, 2013 at 4:20 PM, Kuninori Morimoto
> <kuninori.morimoto.gx@renesas.com> wrote:
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > ---
> > arch/arm/mach-shmobile/clock-r8a7779.c | 19 +++++++++++++++++++
> > 1 file changed, 19 insertions(+)
>
> Acked-by: Magnus Damm <damm@opensource.se>
Morimoto-san,
please repost the patch with the updated changelog and Magnus's ack.
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-04 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 7:20 [PATCH] ARM: shmobile: r8a7779: add each clocks ratio on comment area Kuninori Morimoto
2013-04-03 8:22 ` Magnus Damm
2013-04-04 6:24 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).