devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/11] soc: renesas: identify R-Car V3M
@ 2017-09-12 20:37 Sergei Shtylyov
  2017-09-13  7:59 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2017-09-12 20:37 UTC (permalink / raw)
  To: Rob Herring, Simon Horman, linux-renesas-soc, Catalin Marinas,
	Will Deacon, devicetree
  Cc: Mark Rutland, Magnus Damm, Sergei Shtylyov, linux-arm-kernel

[-- Attachment #1: soc-renesas-identify-R-Car-V3M.patch --]
[-- Type: text/plain, Size: 1115 bytes --]

Add support for identifying the R-Car V3M (R8A77970) SoC.

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

---
 drivers/soc/renesas/renesas-soc.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: renesas/drivers/soc/renesas/renesas-soc.c
===================================================================
--- renesas.orig/drivers/soc/renesas/renesas-soc.c
+++ renesas/drivers/soc/renesas/renesas-soc.c
@@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar
 	.id	= 0x52,
 };
 
+static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = {
+	.family	= &fam_rcar_gen3,
+	.id	= 0x54,
+};
+
 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
 	.family	= &fam_rcar_gen3,
 	.id	= 0x58,
@@ -204,6 +209,9 @@ static const struct of_device_id renesas
 #ifdef CONFIG_ARCH_R8A7796
 	{ .compatible = "renesas,r8a7796",	.data = &soc_rcar_m3_w },
 #endif
+#ifdef CONFIG_ARCH_R8A77970
+	{ .compatible = "renesas,r8a77970",	.data = &soc_rcar_v3m },
+#endif
 #ifdef CONFIG_ARCH_R8A77995
 	{ .compatible = "renesas,r8a77995",	.data = &soc_rcar_d3 },
 #endif

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

* [PATCH 01/11] soc: renesas: identify R-Car V3M
@ 2017-09-12 20:37 Sergei Shtylyov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2017-09-12 20:37 UTC (permalink / raw)
  To: Rob Herring, Simon Horman, linux-renesas-soc, Catalin Marinas,
	Will Deacon, devicetree
  Cc: Mark Rutland, Magnus Damm, linux-arm-kernel, Sergei Shtylyov

[-- Attachment #1: soc-renesas-identify-R-Car-V3M.patch --]
[-- Type: text/plain, Size: 1115 bytes --]

Add support for identifying the R-Car V3M (R8A77970) SoC.

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

---
 drivers/soc/renesas/renesas-soc.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Index: renesas/drivers/soc/renesas/renesas-soc.c
===================================================================
--- renesas.orig/drivers/soc/renesas/renesas-soc.c
+++ renesas/drivers/soc/renesas/renesas-soc.c
@@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar
 	.id	= 0x52,
 };
 
+static const struct renesas_soc soc_rcar_v3m __initconst __maybe_unused = {
+	.family	= &fam_rcar_gen3,
+	.id	= 0x54,
+};
+
 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
 	.family	= &fam_rcar_gen3,
 	.id	= 0x58,
@@ -204,6 +209,9 @@ static const struct of_device_id renesas
 #ifdef CONFIG_ARCH_R8A7796
 	{ .compatible = "renesas,r8a7796",	.data = &soc_rcar_m3_w },
 #endif
+#ifdef CONFIG_ARCH_R8A77970
+	{ .compatible = "renesas,r8a77970",	.data = &soc_rcar_v3m },
+#endif
 #ifdef CONFIG_ARCH_R8A77995
 	{ .compatible = "renesas,r8a77995",	.data = &soc_rcar_d3 },
 #endif

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

* Re: [PATCH 01/11] soc: renesas: identify R-Car V3M
  2017-09-12 20:37 [PATCH 01/11] soc: renesas: identify R-Car V3M Sergei Shtylyov
@ 2017-09-13  7:59 ` Geert Uytterhoeven
       [not found]   ` <CAMuHMdWy=dFSt=3rpy8XTQisUBS=0FTAx1s1twAJD7pPV2zZYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2017-09-13  7:59 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Rob Herring, Simon Horman, Linux-Renesas, Catalin Marinas,
	Will Deacon, devicetree@vger.kernel.org, Mark Rutland,
	Magnus Damm, linux-arm-kernel@lists.infradead.org

On Tue, Sep 12, 2017 at 10:37 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add support for identifying the R-Car V3M (R8A77970) SoC.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

(identical to what I wrote for topic/r8a77970-integration, which is no
surprise ;-)

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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] 4+ messages in thread

* Re: [PATCH 01/11] soc: renesas: identify R-Car V3M
       [not found]   ` <CAMuHMdWy=dFSt=3rpy8XTQisUBS=0FTAx1s1twAJD7pPV2zZYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-09-13  8:12     ` Simon Horman
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-09-13  8:12 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Sergei Shtylyov, Rob Herring, Linux-Renesas, Catalin Marinas,
	Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Mark Rutland, Magnus Damm,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org

On Wed, Sep 13, 2017 at 09:59:42AM +0200, Geert Uytterhoeven wrote:
> On Tue, Sep 12, 2017 at 10:37 PM, Sergei Shtylyov
> <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
> > Add support for identifying the R-Car V3M (R8A77970) SoC.
> >
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
> 
> (identical to what I wrote for topic/r8a77970-integration, which is no
> surprise ;-)
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>

Thanks, applied.
--
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] 4+ messages in thread

end of thread, other threads:[~2017-09-13  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 20:37 [PATCH 01/11] soc: renesas: identify R-Car V3M Sergei Shtylyov
2017-09-13  7:59 ` Geert Uytterhoeven
     [not found]   ` <CAMuHMdWy=dFSt=3rpy8XTQisUBS=0FTAx1s1twAJD7pPV2zZYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-09-13  8:12     ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2017-09-12 20:37 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).