diff mbox series

[v2,06/11] ARM: renesas: Add R8A779H0 V4M Kconfig entry and PRR ID

Message ID 20240128155458.56712-6-marek.vasut+renesas@mailbox.org
State Accepted
Commit e02ec8cf49d0d4f651f74a0f577d05593e22094c
Delegated to: Marek Vasut
Headers show
Series [v2,01/11] dt-bindings: clock: Add R8A779H0 V4M CPG Core Clock Definitions | expand

Commit Message

Marek Vasut Jan. 28, 2024, 3:52 p.m. UTC
From: Hai Pham <hai.pham.ud@renesas.com>

Add Kconfig entry and PRR ID to support R8A779H0 V4M SoC.

Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
---
Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
---
V2: - Move the patch before PRR ID patch to satisfy macro dependency
    - Add RB from Paul
---
 arch/arm/mach-rmobile/Kconfig.rcar4          | 6 ++++++
 arch/arm/mach-rmobile/cpu_info.c             | 1 +
 arch/arm/mach-rmobile/include/mach/rmobile.h | 1 +
 3 files changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mach-rmobile/Kconfig.rcar4 b/arch/arm/mach-rmobile/Kconfig.rcar4
index d4f93c89cac..3c8d683974c 100644
--- a/arch/arm/mach-rmobile/Kconfig.rcar4
+++ b/arch/arm/mach-rmobile/Kconfig.rcar4
@@ -20,6 +20,12 @@  config R8A779G0
 	imply CLK_R8A779G0
 	imply PINCTRL_PFC_R8A779G0
 
+config R8A779H0
+	bool "Renesas SoC R8A779H0"
+	select GICV3
+	imply CLK_R8A779H0
+	imply PINCTRL_PFC_R8A779H0
+
 endmenu
 
 choice
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 895c0f5336b..3d5d5ba79a9 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -78,6 +78,7 @@  static const struct {
 	{ RMOBILE_CPU_TYPE_R8A779A0, "R8A779A0" },
 	{ RMOBILE_CPU_TYPE_R8A779F0, "R8A779F0" },
 	{ RMOBILE_CPU_TYPE_R8A779G0, "R8A779G0" },
+	{ RMOBILE_CPU_TYPE_R8A779H0, "R8A779H0" },
 	{ 0x0, "CPU" },
 };
 
diff --git a/arch/arm/mach-rmobile/include/mach/rmobile.h b/arch/arm/mach-rmobile/include/mach/rmobile.h
index 88b8b78671b..f0216210ba9 100644
--- a/arch/arm/mach-rmobile/include/mach/rmobile.h
+++ b/arch/arm/mach-rmobile/include/mach/rmobile.h
@@ -43,6 +43,7 @@ 
 #define RMOBILE_CPU_TYPE_R8A779A0	0x59
 #define RMOBILE_CPU_TYPE_R8A779F0	0x5A
 #define RMOBILE_CPU_TYPE_R8A779G0	0x5C
+#define RMOBILE_CPU_TYPE_R8A779H0	0x5D
 #define RMOBILE_CPU_TYPE_R9A07G044L	0x9A070440
 
 #ifndef __ASSEMBLY__