Skip to contentSkip to conversation

arm64: Add Broadcom Set Top Box Kconfig entry point

PATCH Applied Markus Mayer 3 participants 4 messages Jun 29, 2016 – Jul 13, 2016 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: Add Broadcom Set Top Box Kconfig entry point

From: Florian Fainelli <[email protected]>

Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning.

---

 arch/arm64/Kconfig.platforms | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm64/Kconfig.platforms +7 -0
index 7ef1d05..22b5c7f 100644
@@ -29,6 +29,13 @@ config ARCH_BERLIN
 	help
 	  This enables support for Marvell Berlin SoC Family
 
+config ARCH_BRCMSTB
+	bool "Broadcom Set-Top-Box SoCs"
+	select BRCMSTB_L2_IRQ
+	select GENERIC_IRQ_CHIP
+	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
Signature · 1 line
2.7.4
#1 lore raw
Quoted 9 lines · Markus Mayer

From: Florian Fainelli <[email protected]>

Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning.

Applied to soc-arm64/next thanks Markus!

Signature · 1 line
Florian
#2 lore raw
In reply to Markus Mayer
Quoted 19 lines · Markus Mayer

From: Florian Fainelli <[email protected]>

Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning.

---

  arch/arm64/Kconfig.platforms | 7 +++++++
  1 file changed, 7 insertions(+)
arch/arm64/Kconfig.platforms +0 -0
index 7ef1d05..22b5c7f 100644

arch/arm64/Kconfig.platforms config ARCH_BERLIN · line 34

Quoted 6 lines
arch/arm64/Kconfig.platforms +3 -0
@@ -29,6 +29,13 @@ config ARCH_BERLIN
  	help
  	  This enables support for Marvell Berlin SoC Family
 
+config ARCH_BRCMSTB
+	bool "Broadcom Set-Top-Box SoCs"
+	select BRCMSTB_L2_IRQ

I see that BRCMSTB_L2_IRQ selects GENERIC_IRQ_CHIP already so the below one is redundant, generally irqchip code should select GENERIC_IRQ_CHIP

Quoted 8 lines
arch/arm64/Kconfig.platforms +4 -0
+	select GENERIC_IRQ_CHIP
+	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
Signature · 2 lines
Regards,
Sudeep
#3 lore raw
Quoted 25 lines · Sudeep Holla
Quoted 22 lines · Markus Mayer

From: Florian Fainelli <[email protected]>

Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning.

---

  arch/arm64/Kconfig.platforms | 7 +++++++
  1 file changed, 7 insertions(+)
arch/arm64/Kconfig.platforms +0 -0
index 7ef1d05..22b5c7f 100644
@@ -29,6 +29,13 @@ config ARCH_BERLIN
      help
        This enables support for Marvell Berlin SoC Family
 
Quoted 6 lines

arch/arm64/Kconfig.platforms config ARCH_BERLIN · line 34

Quoted 3 lines
arch/arm64/Kconfig.platforms +3 -0
+config ARCH_BRCMSTB
+    bool "Broadcom Set-Top-Box SoCs"
+    select BRCMSTB_L2_IRQ

I see that BRCMSTB_L2_IRQ selects GENERIC_IRQ_CHIP already so the below one is redundant, generally irqchip code should select GENERIC_IRQ_CHIP

Thanks, I applied a fix in place which removes the select GENERIC_IRQ_CHIP since it is redundant.

Signature · 1 line
Florian