soc: renesas: Identify more R-Car Gen3e SoCs
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 12 Aug 2021 11:23:52 +0000 (13:23 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 Sep 2021 08:56:29 +0000 (10:56 +0200)
Add support for identifying the remaining R-Car Gen3e SoCs: R-Car H3e
(R8A779M0), M3e (R8A779M2), M3Ne (R8A779M4), M3Ne-2G (R8A779M5), E3e
(R8A779M6), D3e (R8A779M7), and H3Ne (R8A779M8).

As these are different gradings of the already supported R-Car Gen3
SoCs, support for them is enabled through the existing ARCH_R8A779*
configuration symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/ccf2206b24147b3d977e4119bbdefaedceb28644.1628766192.git.geert+renesas@glider.be
drivers/soc/renesas/Kconfig
drivers/soc/renesas/renesas-soc.c

index 07e0ecd64319da63c5047ef9060bffc149785fff..ce16ef5c939c4a49b0da64cfee3cf05f0c43f397 100644 (file)
@@ -186,6 +186,7 @@ config ARCH_R8A77995
        select SYSC_R8A77995
        help
          This enables support for the Renesas R-Car D3 SoC.
+         This includes different gradings like R-Car D3e.
 
 config ARCH_R8A77990
        bool "ARM64 Platform support for R-Car E3"
@@ -193,6 +194,7 @@ config ARCH_R8A77990
        select SYSC_R8A77990
        help
          This enables support for the Renesas R-Car E3 SoC.
+         This includes different gradings like R-Car E3e.
 
 config ARCH_R8A77950
        bool "ARM64 Platform support for R-Car H3 ES1.x"
@@ -208,7 +210,7 @@ config ARCH_R8A77951
        help
          This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
          later).
-         This includes different gradings like R-Car H3e-2G.
+         This includes different gradings like R-Car H3e, H3e-2G, and H3Ne.
 
 config ARCH_R8A77965
        bool "ARM64 Platform support for R-Car M3-N"
@@ -216,6 +218,7 @@ config ARCH_R8A77965
        select SYSC_R8A77965
        help
          This enables support for the Renesas R-Car M3-N SoC.
+         This includes different gradings like R-Car M3Ne and M3Ne-2G.
 
 config ARCH_R8A77960
        bool "ARM64 Platform support for R-Car M3-W"
@@ -230,7 +233,7 @@ config ARCH_R8A77961
        select SYSC_R8A77961
        help
          This enables support for the Renesas R-Car M3-W+ SoC.
-         This includes different gradings like R-Car M3e-2G.
+         This includes different gradings like R-Car M3e and M3e-2G.
 
 config ARCH_R8A77980
        bool "ARM64 Platform support for R-Car V3H"
index dab9f5a0aad00233e4709c7c9fbb80fe73b12404..7961b0be1850922dbb9c5717d146305434e505cf 100644 (file)
@@ -285,17 +285,22 @@ static const struct of_device_id renesas_socs[] __initconst = {
        { .compatible = "renesas,r8a7795",      .data = &soc_rcar_h3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77951
+       { .compatible = "renesas,r8a779m0",     .data = &soc_rcar_h3 },
        { .compatible = "renesas,r8a779m1",     .data = &soc_rcar_h3 },
+       { .compatible = "renesas,r8a779m8",     .data = &soc_rcar_h3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77960
        { .compatible = "renesas,r8a7796",      .data = &soc_rcar_m3_w },
 #endif
 #ifdef CONFIG_ARCH_R8A77961
        { .compatible = "renesas,r8a77961",     .data = &soc_rcar_m3_w },
+       { .compatible = "renesas,r8a779m2",     .data = &soc_rcar_m3_w },
        { .compatible = "renesas,r8a779m3",     .data = &soc_rcar_m3_w },
 #endif
 #ifdef CONFIG_ARCH_R8A77965
        { .compatible = "renesas,r8a77965",     .data = &soc_rcar_m3_n },
+       { .compatible = "renesas,r8a779m4",     .data = &soc_rcar_m3_n },
+       { .compatible = "renesas,r8a779m5",     .data = &soc_rcar_m3_n },
 #endif
 #ifdef CONFIG_ARCH_R8A77970
        { .compatible = "renesas,r8a77970",     .data = &soc_rcar_v3m },
@@ -305,9 +310,11 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #endif
 #ifdef CONFIG_ARCH_R8A77990
        { .compatible = "renesas,r8a77990",     .data = &soc_rcar_e3 },
+       { .compatible = "renesas,r8a779m6",     .data = &soc_rcar_e3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77995
        { .compatible = "renesas,r8a77995",     .data = &soc_rcar_d3 },
+       { .compatible = "renesas,r8a779m7",     .data = &soc_rcar_d3 },
 #endif
 #ifdef CONFIG_ARCH_R8A779A0
        { .compatible = "renesas,r8a779a0",     .data = &soc_rcar_v3u },