bcm27xx: add kernel 5.10 support
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.10 / 950-0455-ARM-bcm-Select-BRCMSTB_L2_IRQ-for-bcm2835.patch
1 From c6d5aeba7fd60727436c04bfa4cae8b29d48e0de Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Mon, 11 Jan 2021 15:22:55 +0100
4 Subject: [PATCH] ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835
5
6 The BCM2711 has a number of instances of interrupt controllers handled
7 by the driver behind the BRCMSTB_L2_IRQ Kconfig option (irq-brcmstb-l2).
8
9 Let's select that driver as part of the ARCH_BCM2835 Kconfig option.
10
11 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
12 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
13 ---
14 arch/arm/mach-bcm/Kconfig | 1 +
15 arch/arm64/Kconfig.platforms | 1 +
16 2 files changed, 2 insertions(+)
17
18 --- a/arch/arm/mach-bcm/Kconfig
19 +++ b/arch/arm/mach-bcm/Kconfig
20 @@ -161,6 +161,7 @@ config ARCH_BCM2835
21 select ARM_TIMER_SP804
22 select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
23 select BCM2835_TIMER
24 + select BRCMSTB_L2_IRQ
25 select FIQ
26 select PINCTRL
27 select PINCTRL_BCM2835
28 --- a/arch/arm64/Kconfig.platforms
29 +++ b/arch/arm64/Kconfig.platforms
30 @@ -39,6 +39,7 @@ config ARCH_BCM2835
31 select ARM_AMBA
32 select ARM_GIC
33 select ARM_TIMER_SP804
34 + select BRCMSTB_L2_IRQ
35 help
36 This enables support for the Broadcom BCM2837 and BCM2711 SoC.
37 These SoCs are used in the Raspberry Pi 3 and 4 devices.