Skip to content

Commit ee11f86

Browse files
Doug Bergerlinusw
authored andcommitted
pinctrl: bcm: Allow PINCTRL_BCM2835 for ARCH_BRCMSTB
ARCH_BRCMSTB needs to use the BCM2835 pin controller for chips like BCM7211 which adopted that pin controller for GPIO. This commit makes the option menu configurable with default enabled for ARCH_BRCMSTB and ARCH_BCM2835. Signed-off-by: Doug Berger <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent f3fbeda commit ee11f86

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/pinctrl/bcm/Kconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ config PINCTRL_BCM281XX
1717
framework. GPIO is provided by a separate GPIO driver.
1818

1919
config PINCTRL_BCM2835
20-
bool
20+
bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
21+
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
2122
select PINMUX
2223
select PINCONF
2324
select GENERIC_PINCONF
2425
select GPIOLIB_IRQCHIP
26+
default ARCH_BCM2835 || ARCH_BRCMSTB
27+
help
28+
Say Y here to enable the Broadcom BCM2835 GPIO driver.
2529

2630
config PINCTRL_IPROC_GPIO
2731
bool "Broadcom iProc GPIO (with PINCONF) driver"

0 commit comments

Comments
 (0)