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 <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Doug Berger 2019-05-09 13:59:54 -07:00 committed by Linus Walleij
parent f3fbedabb7
commit ee11f864f1
1 changed files with 5 additions and 1 deletions

View File

@ -17,11 +17,15 @@ config PINCTRL_BCM281XX
framework. GPIO is provided by a separate GPIO driver. framework. GPIO is provided by a separate GPIO driver.
config PINCTRL_BCM2835 config PINCTRL_BCM2835
bool bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
depends on ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST
select PINMUX select PINMUX
select PINCONF select PINCONF
select GENERIC_PINCONF select GENERIC_PINCONF
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
default ARCH_BCM2835 || ARCH_BRCMSTB
help
Say Y here to enable the Broadcom BCM2835 GPIO driver.
config PINCTRL_IPROC_GPIO config PINCTRL_IPROC_GPIO
bool "Broadcom iProc GPIO (with PINCONF) driver" bool "Broadcom iProc GPIO (with PINCONF) driver"