diff mbox series

gpio: brcmstb: Allow building driver for ARCH_BCM2835

Message ID 20240530181737.1261450-1-pbrobinson@gmail.com
State New
Headers show
Series gpio: brcmstb: Allow building driver for ARCH_BCM2835 | expand

Commit Message

Peter Robinson May 30, 2024, 6:17 p.m. UTC
The GPIO_BRCMSTB hardware IP is also included in the bcm2712
SoC so enable the driver to also be built for ARCH_BCM2835.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij May 30, 2024, 8:36 p.m. UTC | #1
On Thu, May 30, 2024 at 8:17 PM Peter Robinson <pbrobinson@gmail.com> wrote:

> The GPIO_BRCMSTB hardware IP is also included in the bcm2712
> SoC so enable the driver to also be built for ARCH_BCM2835.
>
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Bartosz Golaszewski June 3, 2024, 8:22 a.m. UTC | #2
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 30 May 2024 19:17:31 +0100, Peter Robinson wrote:
> The GPIO_BRCMSTB hardware IP is also included in the bcm2712
> SoC so enable the driver to also be built for ARCH_BCM2835.
> 
> 

Applied, thanks!

[1/1] gpio: brcmstb: Allow building driver for ARCH_BCM2835
      commit: e7ba9d11e9fd97fbfb4ebbade04d09c23f90e3d2

Best regards,
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 3dbddec070281..dfb8dc850f3c8 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -219,7 +219,7 @@  config GPIO_BCM_XGS_IPROC
 config GPIO_BRCMSTB
 	tristate "BRCMSTB GPIO support"
 	default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
-	depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
+	depends on OF_GPIO && (ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST)
 	select GPIO_GENERIC
 	select IRQ_DOMAIN
 	help