ARM: renesas: Add R8A779F0 S4 Kconfig entry and PRR ID
authorHai Pham <hai.pham.ud@renesas.com>
Tue, 28 Feb 2023 21:34:45 +0000 (22:34 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 7 Apr 2023 15:13:28 +0000 (17:13 +0200)
Add Kconfig entry and PRR ID to support R8A779F0 S4 SoC.

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Update commit message]

arch/arm/mach-rmobile/Kconfig.rcar4
arch/arm/mach-rmobile/cpu_info.c
arch/arm/mach-rmobile/include/mach/rmobile.h

index 104672f..ad9fc3a 100644 (file)
@@ -8,6 +8,12 @@ config R8A779A0
        imply CLK_R8A779A0
        imply PINCTRL_PFC_R8A779A0
 
+config R8A779F0
+       bool "Renesas SoC R8A779F0"
+       select GICV3
+       imply CLK_R8A779F0
+       imply PINCTRL_PFC_R8A779F0
+
 endmenu
 
 choice
index 07f7c22..02477c2 100644 (file)
@@ -76,6 +76,7 @@ static const struct {
        { RMOBILE_CPU_TYPE_R8A77990, "R8A77990" },
        { RMOBILE_CPU_TYPE_R8A77995, "R8A77995" },
        { RMOBILE_CPU_TYPE_R8A779A0, "R8A779A0" },
+       { RMOBILE_CPU_TYPE_R8A779F0, "R8A779F0" },
        { 0x0, "CPU" },
 };
 
index af5db5c..7583844 100644 (file)
@@ -39,6 +39,7 @@
 #define RMOBILE_CPU_TYPE_R8A77990      0x57
 #define RMOBILE_CPU_TYPE_R8A77995      0x58
 #define RMOBILE_CPU_TYPE_R8A779A0      0x59
+#define RMOBILE_CPU_TYPE_R8A779F0      0x5A
 
 #ifndef __ASSEMBLY__
 const u8 *rzg_get_cpu_name(void);