2021-01-11 14:26:43

by Maxime Ripard

[permalink] [raw]
Subject: [PATCH v2 01/15] ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835

The BCM2711 has a number of instances of interrupt controllers handled
by the driver behind the BRCMSTB_L2_IRQ Kconfig option (irq-brcmstb-l2).

Let's select that driver as part of the ARCH_BCM2835 Kconfig option.

Signed-off-by: Maxime Ripard <[email protected]>
---
arch/arm/mach-bcm/Kconfig | 1 +
arch/arm64/Kconfig.platforms | 1 +
2 files changed, 2 insertions(+)

diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index ae790908fc74..c9b24ecb56c6 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -161,6 +161,7 @@ config ARCH_BCM2835
select ARM_TIMER_SP804
select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
select BCM2835_TIMER
+ select BRCMSTB_L2_IRQ
select PINCTRL
select PINCTRL_BCM2835
select MFD_CORE
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 5c4ac1c9f4e0..2c5620822895 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -39,6 +39,7 @@ config ARCH_BCM2835
select ARM_AMBA
select ARM_GIC
select ARM_TIMER_SP804
+ select BRCMSTB_L2_IRQ
help
This enables support for the Broadcom BCM2837 and BCM2711 SoC.
These SoCs are used in the Raspberry Pi 3 and 4 devices.
--
2.29.2


2021-01-11 16:58:02

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH v2 01/15] ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835



On 1/11/2021 6:22 AM, Maxime Ripard wrote:
> The BCM2711 has a number of instances of interrupt controllers handled
> by the driver behind the BRCMSTB_L2_IRQ Kconfig option (irq-brcmstb-l2).
>
> Let's select that driver as part of the ARCH_BCM2835 Kconfig option.
>
> Signed-off-by: Maxime Ripard <[email protected]>

Acked-by: Florian Fainelli <[email protected]>

Nicolas, I suppose you will be taking patches 1 and 14, 15 through the
SoC pull request, right?
--
Florian

2021-01-11 17:16:18

by Nicolas Saenz Julienne

[permalink] [raw]
Subject: Re: [PATCH v2 01/15] ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835

@Maxime it seems you forgot to CC me on the series :)

On Mon, 2021-01-11 at 08:54 -0800, Florian Fainelli wrote:
>
> On 1/11/2021 6:22 AM, Maxime Ripard wrote:
> > The BCM2711 has a number of instances of interrupt controllers handled
> > by the driver behind the BRCMSTB_L2_IRQ Kconfig option (irq-brcmstb-l2).
> >
> > Let's select that driver as part of the ARCH_BCM2835 Kconfig option.
> >
> > Signed-off-by: Maxime Ripard <[email protected]>
>
> Acked-by: Florian Fainelli <[email protected]>
>
> Nicolas, I suppose you will be taking patches 1 and 14, 15 through the
> SoC pull request, right?

Yes, that's about right. But I think it'd be nice to wait a bit to see if RobH
has something to say.

Regards,
Nicolas


Attachments:
signature.asc (499.00 B)
This is a digitally signed message part