devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support
@ 2016-10-05 20:50 Sergei Shtylyov
  2016-10-05 20:54 ` [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros Sergei Shtylyov
  2016-10-07 20:35 ` [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov
  0 siblings, 2 replies; 6+ messages in thread
From: Sergei Shtylyov @ 2016-10-05 20:50 UTC (permalink / raw)
  To: mturquette-rdvid1DuHRBWk0Htik3J/w,
	linux-clk-u79uwXL29TY76Z2rM5mHXA, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA

Hello.

   Here's the set of 3 patches against the 'clk-next' branch of CLK group's
'linux.git' repo. The R8A7743 SoC support will be posted separately later --
this series depend on the Kconfig variable introduced there, however, the DTs
in that series will depend on the patch #2 of this series...

[1/3] clk: renesas: cpg-mssr: add common R-Car Gen2 support
[2/3] ARM: shmobile: r8a7743: add CPG clock index macros
[3/3] clk: renesas: cpg-mssr: add R8A7743 support

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros
  2016-10-05 20:50 [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov
@ 2016-10-05 20:54 ` Sergei Shtylyov
  2016-10-07 19:06   ` Sergei Shtylyov
  2016-10-07 19:06   ` Sergei Shtylyov
  2016-10-07 20:35 ` [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov
  1 sibling, 2 replies; 6+ messages in thread
From: Sergei Shtylyov @ 2016-10-05 20:54 UTC (permalink / raw)
  To: mturquette, sboyd, robh+dt, mark.rutland, devicetree,
	linux-renesas-soc
  Cc: linux-clk

Add macros usable by the device tree sources to reference the R8A7743 CPG
clocks  by index.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 include/dt-bindings/clock/r8a7743-cpg-mssr.h |   43 +++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Index: renesas/include/dt-bindings/clock/r8a7743-cpg-mssr.h
===================================================================
--- /dev/null
+++ renesas/include/dt-bindings/clock/r8a7743-cpg-mssr.h
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2016 Cogent Embedded Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+#ifndef __DT_BINDINGS_CLOCK_R8A7743_CPG_MSSR_H__
+#define __DT_BINDINGS_CLOCK_R8A7743_CPG_MSSR_H__
+
+#include <dt-bindings/clock/renesas-cpg-mssr.h>
+
+/* r8a7743 CPG Core Clocks */
+#define R8A7743_CLK_Z			0
+#define R8A7743_CLK_ZG			1
+#define R8A7743_CLK_ZTR			2
+#define R8A7743_CLK_ZTRD2		3
+#define R8A7743_CLK_ZT			4
+#define R8A7743_CLK_ZX			5
+#define R8A7743_CLK_ZS			6
+#define R8A7743_CLK_HP			7
+#define R8A7743_CLK_B			8
+#define R8A7743_CLK_LB			9
+#define R8A7743_CLK_P			10
+#define R8A7743_CLK_CL			11
+#define R8A7743_CLK_M2			12
+#define R8A7743_CLK_ZB3			13
+#define R8A7743_CLK_ZB3D2		14
+#define R8A7743_CLK_DDR			15
+#define R8A7743_CLK_SDH			16
+#define R8A7743_CLK_SD0			17
+#define R8A7743_CLK_SD2			18
+#define R8A7743_CLK_SD3			19
+#define R8A7743_CLK_MMC0		20
+#define R8A7743_CLK_MP			21
+#define R8A7743_CLK_QSPI		22
+#define R8A7743_CLK_CP			23
+#define R8A7743_CLK_RCAN		24
+#define R8A7743_CLK_R			25
+#define R8A7743_CLK_OSC			26
+
+#endif /* __DT_BINDINGS_CLOCK_R8A7743_CPG_MSSR_H__ */

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros
  2016-10-05 20:54 ` [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros Sergei Shtylyov
@ 2016-10-07 19:06   ` Sergei Shtylyov
  2016-10-07 19:06   ` Sergei Shtylyov
  1 sibling, 0 replies; 6+ messages in thread
From: Sergei Shtylyov @ 2016-10-07 19:06 UTC (permalink / raw)
  To: mturquette, sboyd, robh+dt, mark.rutland, devicetree,
	linux-renesas-soc, Simon Horman
  Cc: linux-clk

Hello.

On 10/05/2016 11:54 PM, Sergei Shtylyov wrote:

> Add macros usable by the device tree sources to reference the R8A7743 CPG
> clocks  by index.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

    Probably makes ense to merge this patch to both the clk and renesas trees 
in order to satisfy the dependencies both ways... what do you think, Simon?

MBR, Sergei


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros
  2016-10-05 20:54 ` [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros Sergei Shtylyov
  2016-10-07 19:06   ` Sergei Shtylyov
@ 2016-10-07 19:06   ` Sergei Shtylyov
  2016-10-07 19:35     ` Geert Uytterhoeven
  1 sibling, 1 reply; 6+ messages in thread
From: Sergei Shtylyov @ 2016-10-07 19:06 UTC (permalink / raw)
  To: mturquette, sboyd, robh+dt, mark.rutland, devicetree,
	linux-renesas-soc, Simon Horman
  Cc: linux-clk

Hello.

On 10/05/2016 11:54 PM, Sergei Shtylyov wrote:

> Add macros usable by the device tree sources to reference the R8A7743 CPG
> clocks  by index.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

    Probably makes sense to merge this patch to both the clk and renesas trees 
in order to satisfy the dependencies both ways... what do you think, Simon?

MBR, Sergei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros
  2016-10-07 19:06   ` Sergei Shtylyov
@ 2016-10-07 19:35     ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2016-10-07 19:35 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Michael Turquette, Stephen Boyd, Rob Herring, Mark Rutland,
	devicetree@vger.kernel.org, Linux-Renesas, Simon Horman,
	linux-clk

Hi Sergei,

On Fri, Oct 7, 2016 at 9:06 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> On 10/05/2016 11:54 PM, Sergei Shtylyov wrote:
>> Add macros usable by the device tree sources to reference the R8A7743 CPG
>> clocks  by index.
>>
>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
>    Probably makes sense to merge this patch to both the clk and renesas
> trees in order to satisfy the dependencies both ways... what do you think,
> Simon?

Yes, this is another case where both the clock maintainers and Simon
should merge my clk-renesas-for-v4.10 tree, when It has received (a future
version of) this series.

But that's to be handled after v4.9-rc1...

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support
  2016-10-05 20:50 [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov
  2016-10-05 20:54 ` [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros Sergei Shtylyov
@ 2016-10-07 20:35 ` Sergei Shtylyov
  1 sibling, 0 replies; 6+ messages in thread
From: Sergei Shtylyov @ 2016-10-07 20:35 UTC (permalink / raw)
  To: mturquette, linux-clk, sboyd, robh+dt, mark.rutland, devicetree
  Cc: linux-renesas-soc

Hello.

On 10/05/2016 11:50 PM, Sergei Shtylyov wrote:

>    Here's the set of 3 patches against the 'clk-next' branch of CLK group's
> 'linux.git' repo. The R8A7743 SoC support will be posted separately later --
> this series depend on the Kconfig variable introduced there, however, the DTs
> in that series will depend on the patch #2 of this series...
>
> [1/3] clk: renesas: cpg-mssr: add common R-Car Gen2 support

    This will probably have to be fixed up to handle the absence of the PLL0CR 
register oin the low end SoC (like RZ/G1E)...

> [2/3] ARM: shmobile: r8a7743: add CPG clock index macros
> [3/3] clk: renesas: cpg-mssr: add R8A7743 support

    I'm splitting the above 2 patches into a new series and will repost it RSN.

MBR, Sergei

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-07 20:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 20:50 [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov
2016-10-05 20:54 ` [PATCH 2/3] ARM: shmobile: r8a7743: add CPG clock index macros Sergei Shtylyov
2016-10-07 19:06   ` Sergei Shtylyov
2016-10-07 19:06   ` Sergei Shtylyov
2016-10-07 19:35     ` Geert Uytterhoeven
2016-10-07 20:35 ` [PATCH 0/3] Renesas R8A7743 CPG/MSSR clock support Sergei Shtylyov

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).