linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Kconfig.platforms: Re-organized Broadcom menu
@ 2022-07-12 16:42 Florian Fainelli
  2022-07-13  8:25 ` Arnd Bergmann
  2022-09-08 11:04 ` Naresh Kamboju
  0 siblings, 2 replies; 9+ messages in thread
From: Florian Fainelli @ 2022-07-12 16:42 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: soc, bcm-kernel-feedback-list, william.zhang,
	krzysztof.kozlowski, anand.gore, arnd, olof, Florian Fainelli,
	Catalin Marinas, Will Deacon, open list

There are now multiple Broadcom SoCs supported so group them under their
own menu such that the selection is visually more appealing and we can
easily add new platforms there in the future. This allows us to move
ARCH_BRCMSTB back to its siblings.

No functional changes introduced.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---

Note this is based on "arm64: bcmbca: add arch bcmbca machine entry"

 arch/arm64/Kconfig.platforms | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 88ddc2e5b152..c8c15f611d4e 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -33,6 +33,11 @@ config ARCH_APPLE
 	  This enables support for Apple's in-house ARM SoC family, starting
 	  with the Apple M1.
 
+menuconfig ARCH_BCM
+	bool "Broadcom SoC Support"
+
+if ARCH_BCM
+
 config ARCH_BCM2835
 	bool "Broadcom BCM2835 family"
 	select TIMER_OF
@@ -72,6 +77,16 @@ config ARCH_BCMBCA
 	  This enables support for Broadcom BCA ARM-based broadband chipsets,
 	  including the DSL, PON and Wireless family of chips.
 
+config ARCH_BRCMSTB
+	bool "Broadcom Set-Top-Box SoCs"
+	select ARCH_HAS_RESET_CONTROLLER
+	select GENERIC_IRQ_CHIP
+	select PINCTRL
+	help
+	  This enables support for Broadcom's ARMv8 Set Top Box SoCs
+
+endif
+
 config ARCH_BERLIN
 	bool "Marvell Berlin SoC Family"
 	select DW_APB_ICTL
@@ -86,14 +101,6 @@ config ARCH_BITMAIN
 	help
 	  This enables support for the Bitmain SoC Family.
 
-config ARCH_BRCMSTB
-	bool "Broadcom Set-Top-Box SoCs"
-	select ARCH_HAS_RESET_CONTROLLER
-	select GENERIC_IRQ_CHIP
-	select PINCTRL
-	help
-	  This enables support for Broadcom's ARMv8 Set Top Box SoCs
-
 config ARCH_EXYNOS
 	bool "ARMv8 based Samsung Exynos SoC family"
 	select COMMON_CLK_SAMSUNG
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-08 16:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 16:42 [PATCH] arm64: Kconfig.platforms: Re-organized Broadcom menu Florian Fainelli
2022-07-13  8:25 ` Arnd Bergmann
2022-07-13  8:40   ` Krzysztof Kozlowski
2022-07-13  9:17     ` Geert Uytterhoeven
2022-07-13 22:05       ` Florian Fainelli
2022-08-15 17:15         ` Florian Fainelli
2022-08-15 19:52           ` Arnd Bergmann
2022-09-08 11:04 ` Naresh Kamboju
2022-09-08 16:43   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).