On 21/01/2024 17:41, Marek Vasut wrote:
> From: Hai Pham <[email protected]>
> 
> Add Kconfig entry and PRR ID to support R8A779H0 V4M SoC.
> 
> Signed-off-by: Hai Pham <[email protected]>
> ---
> Cc: Paul Barker <[email protected]>
> ---
>  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 --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__

Reviewed-by: Paul Barker <[email protected]>

Attachment: OpenPGP_0x27F4B3459F002257.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to