Commit 088659ad authored by Lad Prabhakar's avatar Lad Prabhakar Committed by Geert Uytterhoeven
Browse files

soc: renesas: Kconfig: Introduce ARCH_RZG2L config option



The Renesas RZ/G2L, RZ/G2LC, RZ/G2UL and RZ/V2L SoCs have identical IP
blocks for which drivers are common.  To avoid updating the Kconfig
files for drivers in common to each SoC, introduce the ARCH_RZG2L config
option.
The ARCH_RZG2L config option will be selected by the above mentioned
SoCs, and the ARCH_RZG2L config option will be used as a dependency for
the drivers in common.

While at it, move PM and PM_GENERIC_DOMAINS under the ARCH_RZG2L config
option instead of keeping it for individual SoCs.

Signed-off-by: default avatarLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220224092114.25737-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent b89acaf8
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -40,6 +40,11 @@ config ARCH_RMOBILE
	select SYS_SUPPORTS_SH_TMU
	select SYSC_RMOBILE

config ARCH_RZG2L
	bool
	select PM
	select PM_GENERIC_DOMAINS

config ARCH_RZN1
	bool
	select ARM_AMBA
@@ -293,15 +298,13 @@ config ARCH_R8A774B1

config ARCH_R9A07G044
	bool "ARM64 Platform support for RZ/G2L"
	select PM
	select PM_GENERIC_DOMAINS
	select ARCH_RZG2L
	help
	  This enables support for the Renesas RZ/G2L SoC variants.

config ARCH_R9A07G054
	bool "ARM64 Platform support for RZ/V2L"
	select PM
	select PM_GENERIC_DOMAINS
	select ARCH_RZG2L
	help
	  This enables support for the Renesas RZ/V2L SoC variants.