Re: [PATCH v9 1/9] arm64: Add config for Microchip SoC platforms

Nicolas Ferre
2025-08-22T13:29:57Z

On 13/08/2025 at 19:44, Robert Marko wrote:
> Currently, Microchip SparX-5 SoC is supported and it has its own symbol.
>
> However, this means that new Microchip platforms that share drivers need
> to constantly keep updating depends on various drivers.
>
> So, to try and reduce this lets add ARCH_MICROCHIP symbol that drivers
> could instead depend on.
>
> LAN969x is being worked on and it will be added under ARCH_MICROCHIP.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>

Ok, according to the compromise that we discussed during v8 that's fine
with me:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Thanks Robert! Regards,
Nicolas

> ---
> Changes in v9:
> * Make ARCH_MICROCHIP hidden symbol that is selected by SparX-5 directly,
> this avoids breaking existing configs with ARCH_SPARX5
>
> arch/arm64/Kconfig.platforms | 36 ++++++++++++++++++++++--------------
> 1 file changed, 22 insertions(+), 14 deletions(-)
>
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index a88f5ad9328c..bfea380100a6 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -131,20 +131,6 @@ config ARCH_EXYNOS
> help
> This enables support for ARMv8 based Samsung Exynos SoC family.
>
> -config ARCH_SPARX5
> - bool "Microchip Sparx5 SoC family"
> - select PINCTRL
> - select DW_APB_TIMER_OF
> - help
> - This enables support for the Microchip Sparx5 ARMv8-based
> - SoC family of TSN-capable gigabit switches.
> -
> - The SparX-5 Ethernet switch family provides a rich set of
> - switching features such as advanced TCAM-based VLAN and QoS
> - processing enabling delivery of differentiated services, and
> - security through TCAM-based frame processing using versatile
> - content aware processor (VCAP).
> -
> config ARCH_K3
> bool "Texas Instruments Inc. K3 multicore SoC architecture"
> select SOC_TI
> @@ -186,6 +172,28 @@ config ARCH_MESON
> This enables support for the arm64 based Amlogic SoCs
> such as the s905, S905X/D, S912, A113X/D or S905X/D2
>
> +menu "Microchip SoC support"
> +
> +config ARCH_MICROCHIP
> + bool
> +
> +config ARCH_SPARX5
> + bool "Microchip Sparx5 SoC family"
> + select PINCTRL
> + select DW_APB_TIMER_OF
> + select ARCH_MICROCHIP
> + help
> + This enables support for the Microchip Sparx5 ARMv8-based
> + SoC family of TSN-capable gigabit switches.
> +
> + The SparX-5 Ethernet switch family provides a rich set of
> + switching features such as advanced TCAM-based VLAN and QoS
> + processing enabling delivery of differentiated services, and
> + security through TCAM-based frame processing using versatile
> + content aware processor (VCAP).
> +
> +endmenu
> +
> config ARCH_MMP
> bool "Marvell MMP SoC Family"
> select PINCTRL
> --
> 2.50.1
>