Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'renesas-drivers-for-v6.18-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into soc/drivers

Renesas driver updates for v6.18 (take two)

- Identify the Renesas R-Car X5H (R8A78000) SoC.

* tag 'renesas-drivers-for-v6.18-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
soc: renesas: Identify R-Car X5H

Link: https://lore.kernel.org/r/cover.1757669914.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+24
+12
drivers/soc/renesas/Kconfig
··· 39 39 bool 40 40 select ARCH_RCAR_GEN3 41 41 42 + config ARCH_RCAR_GEN5 43 + bool 44 + select ARCH_RCAR_GEN4 45 + 42 46 config ARCH_RMOBILE 43 47 bool 44 48 select PM ··· 351 347 select SYSC_R8A779H0 352 348 help 353 349 This enables support for the Renesas R-Car V4M SoC. 350 + 351 + config ARCH_R8A78000 352 + bool "ARM64 Platform support for R8A78000 (R-Car X5H)" 353 + default y if ARCH_RENESAS 354 + default ARCH_RENESAS 355 + select ARCH_RCAR_GEN5 356 + help 357 + This enables support for the Renesas R-Car X5H SoC. 354 358 355 359 config ARCH_R9A07G043 356 360 bool "ARM64 Platform support for R9A07G043U (RZ/G2UL)"
+12
drivers/soc/renesas/renesas-soc.c
··· 36 36 .name = "R-Car Gen4", 37 37 }; 38 38 39 + static const struct renesas_family fam_rcar_gen5 __initconst __maybe_unused = { 40 + .name = "R-Car Gen5", 41 + }; 42 + 39 43 static const struct renesas_family fam_rmobile __initconst __maybe_unused = { 40 44 .name = "R-Mobile", 41 45 .reg = 0xe600101c, /* CCCR (Common Chip Code Register) */ ··· 270 266 .id = 0x5d, 271 267 }; 272 268 269 + static const struct renesas_soc soc_rcar_x5h __initconst __maybe_unused = { 270 + .family = &fam_rcar_gen5, 271 + .id = 0x60, 272 + }; 273 + 273 274 static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = { 274 275 .family = &fam_shmobile, 275 276 .id = 0x37, ··· 386 377 #endif 387 378 #ifdef CONFIG_ARCH_R8A779H0 388 379 { .compatible = "renesas,r8a779h0", .data = &soc_rcar_v4m }, 380 + #endif 381 + #ifdef CONFIG_ARCH_R8A78000 382 + { .compatible = "renesas,r8a78000", .data = &soc_rcar_x5h }, 389 383 #endif 390 384 #ifdef CONFIG_ARCH_R9A07G043 391 385 #ifdef CONFIG_RISCV