Skip to contentSkip to conversation

irqchip/irq-bcm2712-mip: Add ARCH_BCM2835 arch option

PATCH Applied Peter Robinson 3 participants 3 messages Apr 16, 2025 – May 1, 2025 irqchip drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip/irq-bcm2712-mip: Add ARCH_BCM2835 arch option

The ARCH_BCM2835 is used widely for platforms enabling the Raspberry Pi and some drivers that make use of this driver are enabled using this or the BRCMSTB option so add this too so the users that want RPi5 without all the other STB devices end up with the driver as well.

Fixes 32c6c054661a ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller")
---
 drivers/irqchip/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/Kconfig +2 -2
index cec05e443083..08bb3b031f23 100644
@@ -114,8 +114,8 @@ config I8259
 
 config BCM2712_MIP
 	tristate "Broadcom BCM2712 MSI-X Interrupt Peripheral support"
-	depends on ARCH_BRCMSTB || COMPILE_TEST
-	default m if ARCH_BRCMSTB
+	depends on ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
+	default m if ARCH_BRCMSTB || ARCH_BCM2835
 	depends on ARM_GIC
 	select GENERIC_IRQ_CHIP
 	select IRQ_DOMAIN_HIERARCHY
Signature · 1 line
2.49.0
merge bot Applied
#1 lore raw

[tip: irq/urgent] irqchip/irq-bcm2712-mip: Enable driver when ARCH_BCM2835 is enabled

The following commit has been merged into the irq/urgent branch of tip:

The following commit has been merged into the irq/urgent branch of tip:

Commit-ID:     9b3ae50cb902322a2b5922b9fcf8132d9b4c2a24
Gitweb:        https://git.kernel.org/tip/9b3ae50cb902322a2b5922b9fcf8132d9b4c2a24
Author:        Peter Robinson <[email protected]>
AuthorDate:    Wed, 16 Apr 2025 09:25:17 +01:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 16 Apr 2025 14:39:25 +02:00

irqchip/irq-bcm2712-mip: Enable driver when ARCH_BCM2835 is enabled

The BCM2712 MIP driver is required for Raspberry PI5, but it's not automatically enabled when ARCH_BCM2835 is enabled and depends on ARCH_BRCMSTB.

ARCH_BCM2835 shares drivers with ARCH_BRCMSTB platforms, but Raspberry PI5 does not require the BRCMSTB specific drivers, which are selected via ARCH_BRCMSTB.

Enable the interrupt controller for both ARCH_BRCMSTB and ARCH_BCM2835.

[ tglx: Massage changelog ]

Fixes 32c6c054661a ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller")
---
 drivers/irqchip/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/irqchip/Kconfig +2 -2
index cec05e4..08bb3b0 100644
@@ -114,8 +114,8 @@ config I8259
 
 config BCM2712_MIP
 	tristate "Broadcom BCM2712 MSI-X Interrupt Peripheral support"
-	depends on ARCH_BRCMSTB || COMPILE_TEST
-	default m if ARCH_BRCMSTB
+	depends on ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
+	default m if ARCH_BRCMSTB || ARCH_BCM2835
 	depends on ARM_GIC
 	select GENERIC_IRQ_CHIP
 	select IRQ_DOMAIN_HIERARCHY
Reviewed-by on v1 1/1
#2 lore raw
In reply to Peter Robinson

Hi Peter,

Quoted 11 lines · Peter Robinson

The ARCH_BCM2835 is used widely for platforms enabling the Raspberry Pi and some drivers that make use of this driver are enabled using this or the BRCMSTB option so add this too so the users that want RPi5 without all the other STB devices end up with the driver as well.

Fixes 32c6c054661a ("irqchip: Add Broadcom BCM2712 MSI-X interrupt controller")
---
 drivers/irqchip/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 16 lines
drivers/irqchip/Kconfig +2 -2
index cec05e443083..08bb3b031f23 100644
@@ -114,8 +114,8 @@ config I8259
 
 config BCM2712_MIP
 	tristate "Broadcom BCM2712 MSI-X Interrupt Peripheral support"
-	depends on ARCH_BRCMSTB || COMPILE_TEST
-	default m if ARCH_BRCMSTB
+	depends on ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
+	default m if ARCH_BRCMSTB || ARCH_BCM2835
 	depends on ARM_GIC
 	select GENERIC_IRQ_CHIP
 	select IRQ_DOMAIN_HIERARCHY