diff mbox

[01/11] soc: renesas: identify R-Car V3H

Message ID 1e3dd4b4-4775-ab05-ac66-7b61a881a673@cogentembedded.com (mailing list archive)
State Accepted
Commit 8447756d1e582a401cdae33c9ed5d68fdb6e0410
Delegated to: Simon Horman
Headers show

Commit Message

Sergei Shtylyov Feb. 2, 2018, 6:22 p.m. UTC
Add support for identifying the R-Car V3H (R8A77980) SoC.

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

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

Comments

Simon Horman Feb. 5, 2018, 9:18 a.m. UTC | #1
On Fri, Feb 02, 2018 at 09:22:14PM +0300, Sergei Shtylyov wrote:
> Add support for identifying the R-Car V3H (R8A77980) SoC.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

For the record, this matches my reading of the documentation:

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Geert Uytterhoeven Feb. 5, 2018, 12:32 p.m. UTC | #2
On Fri, Feb 2, 2018 at 7:22 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add support for identifying the R-Car V3H (R8A77980) SoC.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

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
Simon Horman Feb. 6, 2018, 12:44 p.m. UTC | #3
On Mon, Feb 05, 2018 at 01:32:55PM +0100, Geert Uytterhoeven wrote:
> On Fri, Feb 2, 2018 at 7:22 PM, Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
> > Add support for identifying the R-Car V3H (R8A77980) SoC.
> >
> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Thanks, applied.
Sergei Shtylyov Feb. 6, 2018, 4:15 p.m. UTC | #4
On 02/06/2018 03:44 PM, Simon Horman wrote:

>>> Add support for identifying the R-Car V3H (R8A77980) SoC.
>>>
>>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>>
>> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> Thanks, applied.

   Not seeing that when fetching from your repo. Haven't pushed?

MBR, Sergei
Simon Horman Feb. 7, 2018, 9:36 a.m. UTC | #5
On Tue, Feb 06, 2018 at 07:15:34PM +0300, Sergei Shtylyov wrote:
> On 02/06/2018 03:44 PM, Simon Horman wrote:
> 
> >>> Add support for identifying the R-Car V3H (R8A77980) SoC.
> >>>
> >>> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> >>
> >> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > 
> > Thanks, applied.
> 
>    Not seeing that when fetching from your repo. Haven't pushed?

Indeed, sorry about that. They should be there now in
renesas-devel-20180206-v4.15.
diff mbox

Patch

Index: renesas/drivers/soc/renesas/renesas-soc.c
===================================================================
--- renesas.orig/drivers/soc/renesas/renesas-soc.c
+++ renesas/drivers/soc/renesas/renesas-soc.c
@@ -149,6 +149,11 @@  static const struct renesas_soc soc_rcar
 	.id	= 0x54,
 };
 
+static const struct renesas_soc soc_rcar_v3h __initconst __maybe_unused = {
+	.family	= &fam_rcar_gen3,
+	.id	= 0x56,
+};
+
 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
 	.family	= &fam_rcar_gen3,
 	.id	= 0x58,
@@ -212,6 +217,9 @@  static const struct of_device_id renesas
 #ifdef CONFIG_ARCH_R8A77970
 	{ .compatible = "renesas,r8a77970",	.data = &soc_rcar_v3m },
 #endif
+#ifdef CONFIG_ARCH_R8A77980
+	{ .compatible = "renesas,r8a77980",	.data = &soc_rcar_v3h },
+#endif
 #ifdef CONFIG_ARCH_R8A77995
 	{ .compatible = "renesas,r8a77995",	.data = &soc_rcar_d3 },
 #endif