# SPDX-License-Identifier: GPL-2.0-only
#
# Broadcom pinctrl drivers
#
config [31mCONFIG_PINCTRL_BCM281XX[0m
bool "Broadcom BCM281xx pinctrl driver"
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_BCM_MOBILE[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_PINCONF[0m
select [31mCONFIG_GENERIC_PINCONF[0m
select [31mCONFIG_REGMAP_MMIO[0m
default [31mCONFIG_ARCH_BCM_MOBILE[0m
help
Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
framework. GPIO is provided by a separate GPIO driver.
config [31mCONFIG_PINCTRL_BCM2835[0m
bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_BCM2835[0m || [31mCONFIG_ARCH_BRCMSTB[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_PINCONF[0m
select [31mCONFIG_GENERIC_PINCONF[0m
select [31mCONFIG_GPIOLIB_IRQCHIP[0m
default [31mCONFIG_ARCH_BCM2835[0m || [31mCONFIG_ARCH_BRCMSTB[0m
help
Say Y here to enable the Broadcom BCM2835 GPIO driver.
config [31mCONFIG_PINCTRL_IPROC_GPIO[0m
bool "Broadcom iProc GPIO (with PINCONF) driver"
depends on [31mCONFIG_OF_GPIO[0m && ([31mCONFIG_ARCH_BCM_IPROC[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_GPIOLIB_IRQCHIP[0m
select [31mCONFIG_PINCONF[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARCH_BCM_IPROC[0m
help
Say yes here to enable the Broadcom iProc GPIO driver.
The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use
same GPIO Controller IP hence this driver could be used for all.
The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are
supported by this driver.
The Broadcom NSP has two GPIO controllers including the ChipcommonA
GPIO, the ChipcommonB GPIO. Later controller is supported by this
driver.
The Broadcom NS2 has two GPIO controller including the CRMU GPIO,
the ChipcommonG GPIO. Both controllers are supported by this driver.
The Broadcom Stingray GPIO controllers are supported by this driver.
All above SoCs GPIO controllers support basic [31mCONFIG_PINCONF[0m functions such
as bias pull up, pull down, and drive strength configurations, when
these pins are muxed to GPIO.
It provides the framework where pins from the individual GPIO can be
individually muxed to GPIO function, through interaction with the
SoCs IOMUX controller. This features could be used only on SoCs which
support individual pin muxing.
config [31mCONFIG_PINCTRL_CYGNUS_MUX[0m
bool "Broadcom Cygnus IOMUX driver"
depends on ([31mCONFIG_ARCH_BCM_CYGNUS[0m || [31mCONFIG_COMPILE_TEST[0m)
depends on [31mCONFIG_OF[0m
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARCH_BCM_CYGNUS[0m
help
Say yes here to enable the Broadcom Cygnus IOMUX driver.
The Broadcom Cygnus IOMUX driver supports group based IOMUX
configuration, with the exception that certain individual pins
can be overridden to GPIO function
config [31mCONFIG_PINCTRL_NS[0m
bool "Broadcom Northstar pins driver"
depends on [31mCONFIG_OF[0m && ([31mCONFIG_ARCH_BCM_5301X[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARCH_BCM_5301X[0m
help
Say yes here to enable the Broadcom NS SoC pins driver.
The Broadcom Northstar pins driver supports muxing multi-purpose pins
that can be used for various functions (e.g. [31mCONFIG_SPI[0m, [31mCONFIG_I2C[0m, UART) as well
as GPIOs.
config [31mCONFIG_PINCTRL_NSP_GPIO[0m
bool "Broadcom NSP GPIO (with PINCONF) driver"
depends on [31mCONFIG_OF_GPIO[0m && ([31mCONFIG_ARCH_BCM_NSP[0m || [31mCONFIG_COMPILE_TEST[0m)
select [31mCONFIG_GPIOLIB_IRQCHIP[0m
select [31mCONFIG_PINCONF[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARCH_BCM_NSP[0m
help
Say yes here to enable the Broadcom NSP GPIO driver.
The Broadcom Northstar Plus SoC ChipcommonA GPIO controller is
supported by this driver.
The ChipcommonA GPIO controller support basic [31mCONFIG_PINCONF[0m functions such
as bias pull up, pull down, and drive strength configurations, when
these pins are muxed to GPIO.
config [31mCONFIG_PINCTRL_NS2_MUX[0m
bool "Broadcom Northstar2 pinmux driver"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_ARCH_BCM_IPROC[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARM64[0m && [31mCONFIG_ARCH_BCM_IPROC[0m
help
Say yes here to enable the Broadcom NS2 MUX driver.
The Broadcom Northstar2 IOMUX driver supports group based IOMUX
configuration.
config [31mCONFIG_PINCTRL_NSP_MUX[0m
bool "Broadcom NSP IOMUX driver"
depends on ([31mCONFIG_ARCH_BCM_NSP[0m || [31mCONFIG_COMPILE_TEST[0m)
depends on [31mCONFIG_OF[0m
select [31mCONFIG_PINMUX[0m
select [31mCONFIG_GENERIC_PINCONF[0m
default [31mCONFIG_ARCH_BCM_NSP[0m
help
Say yes here to enable the Broadcom NSP SOC IOMUX driver.
The Broadcom Northstar Plus IOMUX driver supports pin based IOMUX
configuration, with certain individual pins can be overridden
to GPIO function.