* [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64
@ 2025-03-27 9:03 Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 1/2] soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option Prabhakar
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Prabhakar @ 2025-03-27 9:03 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro,
Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi All,
This an attempt to fix adding each SoCs to ARM64 defconfig file
by introducing ARCH_RENESAS_ARM64.
As an attempt I have just added it for ARM64 if we are OK we can
proceed with ARM32 too.
Cheers,
Prabhakar
Lad Prabhakar (2):
soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option
arm64: defconfig: Use ARCH_RENESAS_ARM64 to enable all Renesas ARM64
SoCs
arch/arm64/configs/defconfig | 24 +-----------------------
drivers/soc/renesas/Kconfig | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 23 deletions(-)
--
2.49.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH RFC INTERNAL 1/2] soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option
2025-03-27 9:03 [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Prabhakar
@ 2025-03-27 9:03 ` Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 2/2] arm64: defconfig: Use ARCH_RENESAS_ARM64 to enable all Renesas ARM64 SoCs Prabhakar
2025-03-27 17:02 ` [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Wolfram Sang
2 siblings, 0 replies; 5+ messages in thread
From: Prabhakar @ 2025-03-27 9:03 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro,
Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Introduce a new `ARCH_RENESAS_ARM64` Kconfig option to simplify the
selection of all ARM64-based Renesas SoCs. This allows for easier
configuration when building kernels for multiple Renesas ARM64 platforms
by selecting a single option instead of enabling each SoC individually.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
drivers/soc/renesas/Kconfig | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 49648cf28bd2..8a6c429965b7 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -195,6 +195,32 @@ endif # ARM
if ARM64
+config ARCH_RENESAS_ARM64
+ bool "Select all ARM64 Renesas SoCs"
+ select ARCH_R8A77995
+ select ARCH_R8A77990
+ select ARCH_R8A77951
+ select ARCH_R8A77965
+ select ARCH_R8A77960
+ select ARCH_R8A77961
+ select ARCH_R8A779F0
+ select ARCH_R8A77980
+ select ARCH_R8A77970
+ select ARCH_R8A779A0
+ select ARCH_R8A779G0
+ select ARCH_R8A779H0
+ select ARCH_R8A774C0
+ select ARCH_R8A774E1
+ select ARCH_R8A774A1
+ select ARCH_R8A774B1
+ select ARCH_R9A07G043
+ select ARCH_R9A07G044
+ select ARCH_R9A07G054
+ select ARCH_R9A08G045
+ select ARCH_R9A09G011
+ select ARCH_R9A09G047
+ select ARCH_R9A09G057
+
config ARCH_R8A77995
bool "ARM64 Platform support for R-Car D3"
select ARCH_RCAR_GEN3
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH RFC INTERNAL 2/2] arm64: defconfig: Use ARCH_RENESAS_ARM64 to enable all Renesas ARM64 SoCs
2025-03-27 9:03 [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 1/2] soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option Prabhakar
@ 2025-03-27 9:03 ` Prabhakar
2025-03-27 17:02 ` [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Wolfram Sang
2 siblings, 0 replies; 5+ messages in thread
From: Prabhakar @ 2025-03-27 9:03 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro,
Lad Prabhakar
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Replace individual SoC-specific `CONFIG_ARCH_*` entries for Renesas ARM64
platforms with the newly introduced `CONFIG_ARCH_RENESAS_ARM64` option.
This change simplifies the defconfig by enabling all Renesas ARM64 SoCs
with a single configuration option, improving maintainability and reducing
the risk of missing SoCs when updating the defconfig.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/configs/defconfig | 24 +-----------------------
1 file changed, 1 insertion(+), 23 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 5bb8f09422a2..d3cb258f0baa 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1474,29 +1474,7 @@ CONFIG_QCOM_WCNSS_CTRL=m
CONFIG_QCOM_APR=m
CONFIG_QCOM_ICC_BWMON=m
CONFIG_QCOM_PBS=m
-CONFIG_ARCH_R8A77995=y
-CONFIG_ARCH_R8A77990=y
-CONFIG_ARCH_R8A77951=y
-CONFIG_ARCH_R8A77965=y
-CONFIG_ARCH_R8A77960=y
-CONFIG_ARCH_R8A77961=y
-CONFIG_ARCH_R8A779F0=y
-CONFIG_ARCH_R8A77980=y
-CONFIG_ARCH_R8A77970=y
-CONFIG_ARCH_R8A779A0=y
-CONFIG_ARCH_R8A779G0=y
-CONFIG_ARCH_R8A779H0=y
-CONFIG_ARCH_R8A774C0=y
-CONFIG_ARCH_R8A774E1=y
-CONFIG_ARCH_R8A774A1=y
-CONFIG_ARCH_R8A774B1=y
-CONFIG_ARCH_R9A07G043=y
-CONFIG_ARCH_R9A07G044=y
-CONFIG_ARCH_R9A07G054=y
-CONFIG_ARCH_R9A08G045=y
-CONFIG_ARCH_R9A09G011=y
-CONFIG_ARCH_R9A09G047=y
-CONFIG_ARCH_R9A09G057=y
+CONFIG_ARCH_RENESAS_ARM64=y
CONFIG_ROCKCHIP_IODOMAIN=y
CONFIG_ARCH_TEGRA_132_SOC=y
CONFIG_ARCH_TEGRA_210_SOC=y
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64
2025-03-27 9:03 [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 1/2] soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 2/2] arm64: defconfig: Use ARCH_RENESAS_ARM64 to enable all Renesas ARM64 SoCs Prabhakar
@ 2025-03-27 17:02 ` Wolfram Sang
2025-03-27 18:36 ` Lad, Prabhakar
2 siblings, 1 reply; 5+ messages in thread
From: Wolfram Sang @ 2025-03-27 17:02 UTC (permalink / raw)
To: Prabhakar
Cc: Geert Uytterhoeven, linux-renesas-soc, Biju Das, Fabrizio Castro,
Lad Prabhakar
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
> This an attempt to fix adding each SoCs to ARM64 defconfig file
> by introducing ARCH_RENESAS_ARM64.
Why not use 'default y if ARCH_RENESAS' as suggested here:
https://lore.kernel.org/all/6323eb7a-03e9-4678-ac4f-f90052d0aace@kernel.org/
?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64
2025-03-27 17:02 ` [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Wolfram Sang
@ 2025-03-27 18:36 ` Lad, Prabhakar
0 siblings, 0 replies; 5+ messages in thread
From: Lad, Prabhakar @ 2025-03-27 18:36 UTC (permalink / raw)
To: Wolfram Sang, Prabhakar, Geert Uytterhoeven, linux-renesas-soc,
Biju Das, Fabrizio Castro, Lad Prabhakar
Hi Wolfram,
On Thu, Mar 27, 2025 at 5:02 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
>
>
> > This an attempt to fix adding each SoCs to ARM64 defconfig file
> > by introducing ARCH_RENESAS_ARM64.
>
> Why not use 'default y if ARCH_RENESAS' as suggested here:
>
Agreed, let me test that out and send a v2.
> https://lore.kernel.org/all/6323eb7a-03e9-4678-ac4f-f90052d0aace@kernel.org/
>
Cheers,
Prabhakar
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-03-27 18:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 9:03 [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 1/2] soc: renesas: Add ARCH_RENESAS_ARM64 Kconfig option Prabhakar
2025-03-27 9:03 ` [PATCH RFC INTERNAL 2/2] arm64: defconfig: Use ARCH_RENESAS_ARM64 to enable all Renesas ARM64 SoCs Prabhakar
2025-03-27 17:02 ` [PATCH RFC INTERNAL 0/2] soc: renesas: Introduce ARCH_RENESAS_ARM64 Wolfram Sang
2025-03-27 18:36 ` Lad, Prabhakar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.