summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2024-05-30 20:17:31 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-06-03 10:22:33 +0200
commite7ba9d11e9fd97fbfb4ebbade04d09c23f90e3d2 (patch)
tree00bb5eb4bce45deb12fe475ec1d6cce98765ca80 /drivers/gpio
parentgpiolib: cdev: Cleanup kfifo_out() error handling (diff)
downloadlinux-e7ba9d11e9fd97fbfb4ebbade04d09c23f90e3d2.tar.xz
linux-e7ba9d11e9fd97fbfb4ebbade04d09c23f90e3d2.zip
gpio: brcmstb: Allow building driver for ARCH_BCM2835
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> Link: https://lore.kernel.org/r/20240530181737.1261450-1-pbrobinson@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 3dbddec07028..dfb8dc850f3c 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