soc: renesas: Kconfig: Introduce ARCH_RZG2L config option
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thu, 24 Feb 2022 09:21:14 +0000 (09:21 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 24 Feb 2022 12:53:25 +0000 (13:53 +0100)
commit088659ad2a830124407edc38da278010c95bcc96
tree4c17f7dfe722f3a6c20de055cbcd95c656d80af7
parentb89acaf8cad188d9a1387d3049ae036a10d9a1f3
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: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju 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: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/soc/renesas/Kconfig