]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
soc: renesas: Identify R-Car D3
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 20 Jul 2017 12:34:51 +0000 (14:34 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 15:06:24 +0000 (17:06 +0200)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/renesas-soc.c

index ca26f13d399cf4c12bb2a8e92b2ab526cdee049c..90d6b7a4340a6ee3b7226c1c0a562b874efc79ef 100644 (file)
@@ -144,6 +144,11 @@ static const struct renesas_soc soc_rcar_m3_w __initconst __maybe_unused = {
        .id     = 0x52,
 };
 
+static const struct renesas_soc soc_rcar_d3 __initconst __maybe_unused = {
+       .family = &fam_rcar_gen3,
+       .id     = 0x58,
+};
+
 static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
        .family = &fam_shmobile,
        .id     = 0x37,
@@ -199,6 +204,9 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7796
        { .compatible = "renesas,r8a7796",      .data = &soc_rcar_m3_w },
 #endif
+#ifdef CONFIG_ARCH_R8A77995
+       { .compatible = "renesas,r8a77995",     .data = &soc_rcar_d3 },
+#endif
 #ifdef CONFIG_ARCH_SH73A0
        { .compatible = "renesas,sh73a0",       .data = &soc_shmobile_ag5 },
 #endif