]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: Add config for Microchip SoC platforms
authorRobert Marko <robert.marko@sartura.hr>
Wed, 13 Aug 2025 17:44:37 +0000 (19:44 +0200)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 4 Sep 2025 13:15:34 +0000 (15:15 +0200)
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>
Acked-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
arch/arm64/Kconfig.platforms

index a88f5ad9328c2ee13a0822782af6c83899273f14..bfea380100a6161b506408fbd42ada1ce475cfce 100644 (file)
@@ -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