Commit 6e66213f authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'renesas-drivers-for-v6.9-tag1' of...

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

Renesas driver updates for v6.9

  - Initial support for the Renesas R-Car V4M (R8A779H0) SoC.

* tag 'renesas-drivers-for-v6.9-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  soc: renesas: rcar-rst: Add support for R-Car V4M
  soc: renesas: Identify R-Car V4M
  soc: renesas: Introduce ARCH_RCAR_GEN4

Link: https://lore.kernel.org/r/cover.1707487830.git.geert+renesas@glider.beSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents d4aece85 14656ed7
...@@ -34,6 +34,10 @@ config ARCH_RCAR_GEN3 ...@@ -34,6 +34,10 @@ config ARCH_RCAR_GEN3
select SYS_SUPPORTS_SH_CMT select SYS_SUPPORTS_SH_CMT
select SYS_SUPPORTS_SH_TMU select SYS_SUPPORTS_SH_TMU
config ARCH_RCAR_GEN4
bool
select ARCH_RCAR_GEN3
config ARCH_RMOBILE config ARCH_RMOBILE
bool bool
select PM select PM
...@@ -240,7 +244,7 @@ config ARCH_R8A77961 ...@@ -240,7 +244,7 @@ config ARCH_R8A77961
config ARCH_R8A779F0 config ARCH_R8A779F0
bool "ARM64 Platform support for R-Car S4-8" bool "ARM64 Platform support for R-Car S4-8"
select ARCH_RCAR_GEN3 select ARCH_RCAR_GEN4
select SYSC_R8A779F0 select SYSC_R8A779F0
help help
This enables support for the Renesas R-Car S4-8 SoC. This enables support for the Renesas R-Car S4-8 SoC.
...@@ -261,18 +265,25 @@ config ARCH_R8A77970 ...@@ -261,18 +265,25 @@ config ARCH_R8A77970
config ARCH_R8A779A0 config ARCH_R8A779A0
bool "ARM64 Platform support for R-Car V3U" bool "ARM64 Platform support for R-Car V3U"
select ARCH_RCAR_GEN3 select ARCH_RCAR_GEN4
select SYSC_R8A779A0 select SYSC_R8A779A0
help help
This enables support for the Renesas R-Car V3U SoC. This enables support for the Renesas R-Car V3U SoC.
config ARCH_R8A779G0 config ARCH_R8A779G0
bool "ARM64 Platform support for R-Car V4H" bool "ARM64 Platform support for R-Car V4H"
select ARCH_RCAR_GEN3 select ARCH_RCAR_GEN4
select SYSC_R8A779G0 select SYSC_R8A779G0
help help
This enables support for the Renesas R-Car V4H SoC. This enables support for the Renesas R-Car V4H SoC.
config ARCH_R8A779H0
bool "ARM64 Platform support for R-Car V4M"
select ARCH_RCAR_GEN4
select SYSC_R8A779H0
help
This enables support for the Renesas R-Car V4M SoC.
config ARCH_R8A774C0 config ARCH_R8A774C0
bool "ARM64 Platform support for RZ/G2E" bool "ARM64 Platform support for RZ/G2E"
select ARCH_RCAR_GEN3 select ARCH_RCAR_GEN3
......
...@@ -117,6 +117,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = { ...@@ -117,6 +117,7 @@ static const struct of_device_id rcar_rst_matches[] __initconst = {
{ .compatible = "renesas,r8a779a0-rst", .data = &rcar_rst_v3u }, { .compatible = "renesas,r8a779a0-rst", .data = &rcar_rst_v3u },
{ .compatible = "renesas,r8a779f0-rst", .data = &rcar_rst_gen4 }, { .compatible = "renesas,r8a779f0-rst", .data = &rcar_rst_gen4 },
{ .compatible = "renesas,r8a779g0-rst", .data = &rcar_rst_gen4 }, { .compatible = "renesas,r8a779g0-rst", .data = &rcar_rst_gen4 },
{ .compatible = "renesas,r8a779h0-rst", .data = &rcar_rst_gen4 },
{ /* sentinel */ } { /* sentinel */ }
}; };
......
...@@ -270,6 +270,11 @@ static const struct renesas_soc soc_rcar_v4h __initconst __maybe_unused = { ...@@ -270,6 +270,11 @@ static const struct renesas_soc soc_rcar_v4h __initconst __maybe_unused = {
.id = 0x5c, .id = 0x5c,
}; };
static const struct renesas_soc soc_rcar_v4m __initconst __maybe_unused = {
.family = &fam_rcar_gen4,
.id = 0x5d,
};
static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = { static const struct renesas_soc soc_shmobile_ag5 __initconst __maybe_unused = {
.family = &fam_shmobile, .family = &fam_shmobile,
.id = 0x37, .id = 0x37,
...@@ -380,6 +385,9 @@ static const struct of_device_id renesas_socs[] __initconst __maybe_unused = { ...@@ -380,6 +385,9 @@ static const struct of_device_id renesas_socs[] __initconst __maybe_unused = {
#ifdef CONFIG_ARCH_R8A779G0 #ifdef CONFIG_ARCH_R8A779G0
{ .compatible = "renesas,r8a779g0", .data = &soc_rcar_v4h }, { .compatible = "renesas,r8a779g0", .data = &soc_rcar_v4h },
#endif #endif
#ifdef CONFIG_ARCH_R8A779H0
{ .compatible = "renesas,r8a779h0", .data = &soc_rcar_v4m },
#endif
#ifdef CONFIG_ARCH_R9A07G043 #ifdef CONFIG_ARCH_R9A07G043
#ifdef CONFIG_RISCV #ifdef CONFIG_RISCV
{ .compatible = "renesas,r9a07g043", .data = &soc_rz_five }, { .compatible = "renesas,r9a07g043", .data = &soc_rz_five },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment