Re: [PATCH 1/4] soc: renesas: identify R-Car E3

2018-04-12 Thread Simon Horman
On Wed, Apr 11, 2018 at 03:26:49PM +0200, Geert Uytterhoeven wrote:
> On Wed, Apr 11, 2018 at 11:36 AM, Yoshihiro Shimoda
>  wrote:
> > From: Takeshi Kihara 
> >
> > This patch adds support for identifying the R-Car E3 (R8A77990) SoC.
> >
> > Signed-off-by: Takeshi Kihara 
> > Signed-off-by: Yoshihiro Shimoda 
> 
> Reviewed-by: Geert Uytterhoeven 

Thanks, applied.


Re: [PATCH 1/4] soc: renesas: identify R-Car E3

2018-04-11 Thread Geert Uytterhoeven
On Wed, Apr 11, 2018 at 11:36 AM, Yoshihiro Shimoda
 wrote:
> From: Takeshi Kihara 
>
> This patch adds support for identifying the R-Car E3 (R8A77990) SoC.
>
> Signed-off-by: Takeshi Kihara 
> Signed-off-by: Yoshihiro Shimoda 

Reviewed-by: Geert Uytterhoeven 

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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


[PATCH 1/4] soc: renesas: identify R-Car E3

2018-04-11 Thread Yoshihiro Shimoda
From: Takeshi Kihara 

This patch adds support for identifying the R-Car E3 (R8A77990) SoC.

Signed-off-by: Takeshi Kihara 
Signed-off-by: Yoshihiro Shimoda 
---
 drivers/soc/renesas/renesas-soc.c | 8 
 1 file changed, 8 insertions(+)

diff --git a/drivers/soc/renesas/renesas-soc.c 
b/drivers/soc/renesas/renesas-soc.c
index 3912a71..d44d0e6 100644
--- a/drivers/soc/renesas/renesas-soc.c
+++ b/drivers/soc/renesas/renesas-soc.c
@@ -164,6 +164,11 @@ struct renesas_soc {
.id = 0x56,
 };
 
+static const struct renesas_soc soc_rcar_e3 __initconst __maybe_unused = {
+   .family = _rcar_gen3,
+   .id = 0x57,
+};
+
 static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
.family = _rcar_gen3,
.id = 0x58,
@@ -236,6 +241,9 @@ struct renesas_soc {
 #ifdef CONFIG_ARCH_R8A77980
{ .compatible = "renesas,r8a77980", .data = _rcar_v3h },
 #endif
+#ifdef CONFIG_ARCH_R8A77990
+   { .compatible = "renesas,r8a77990", .data = _rcar_e3 },
+#endif
 #ifdef CONFIG_ARCH_R8A77995
{ .compatible = "renesas,r8a77995", .data = _rcar_d3 },
 #endif
-- 
1.9.1