Skip to content

Commit bfe6b55

Browse files
committed
soc: renesas: Identify R-Car H3e-2G and M3e-2G
Add support for identifying the R-Car H3e-2G (R8A779M1) and R-Car M3e-2G (R8A779M3) SoCs. As these are different gradings of the already supported R-Car H3 ES3.0 (R8A77951) and M3-W+ (R8A77961) SoCs, support for them is enabled through the existing ARCH_R8A77951 and ARCH_R8A77961 configuration symbols. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/42b4578ab4739cb48ec3aed0a447fc40c34de1e5.1626708063.git.geert+renesas@glider.be
1 parent e73f0f0 commit bfe6b55

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/soc/renesas/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ config ARCH_R8A77951
208208
help
209209
This enables support for the Renesas R-Car H3 SoC (revisions 2.0 and
210210
later).
211+
This includes different gradings like R-Car H3e-2G.
211212

212213
config ARCH_R8A77965
213214
bool "ARM64 Platform support for R-Car M3-N"
@@ -229,6 +230,7 @@ config ARCH_R8A77961
229230
select SYSC_R8A77961
230231
help
231232
This enables support for the Renesas R-Car M3-W+ SoC.
233+
This includes different gradings like R-Car M3e-2G.
232234

233235
config ARCH_R8A77980
234236
bool "ARM64 Platform support for R-Car V3H"

drivers/soc/renesas/renesas-soc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,15 @@ static const struct of_device_id renesas_socs[] __initconst = {
284284
#if defined(CONFIG_ARCH_R8A77950) || defined(CONFIG_ARCH_R8A77951)
285285
{ .compatible = "renesas,r8a7795", .data = &soc_rcar_h3 },
286286
#endif
287+
#ifdef CONFIG_ARCH_R8A77951
288+
{ .compatible = "renesas,r8a779m1", .data = &soc_rcar_h3 },
289+
#endif
287290
#ifdef CONFIG_ARCH_R8A77960
288291
{ .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w },
289292
#endif
290293
#ifdef CONFIG_ARCH_R8A77961
291294
{ .compatible = "renesas,r8a77961", .data = &soc_rcar_m3_w },
295+
{ .compatible = "renesas,r8a779m3", .data = &soc_rcar_m3_w },
292296
#endif
293297
#ifdef CONFIG_ARCH_R8A77965
294298
{ .compatible = "renesas,r8a77965", .data = &soc_rcar_m3_n },

0 commit comments

Comments
 (0)