2019-05-19 15:07:45 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-03-05 03:35:49 +03:00
|
|
|
#
|
|
|
|
# Broadcom pinctrl drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
config PINCTRL_BCM281XX
|
|
|
|
bool "Broadcom BCM281xx pinctrl driver"
|
|
|
|
depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
|
|
|
|
select PINMUX
|
|
|
|
select PINCONF
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
select REGMAP_MMIO
|
2015-12-02 04:41:30 +03:00
|
|
|
default ARCH_BCM_MOBILE
|
2015-03-05 03:35:49 +03:00
|
|
|
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 PINCTRL_BCM2835
|
2019-05-09 23:59:54 +03:00
|
|
|
bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
|
2019-05-28 12:13:04 +03:00
|
|
|
depends on OF && (ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST)
|
2015-03-05 03:35:49 +03:00
|
|
|
select PINMUX
|
|
|
|
select PINCONF
|
2018-05-01 03:42:13 +03:00
|
|
|
select GENERIC_PINCONF
|
2020-09-14 17:40:26 +03:00
|
|
|
select GPIOLIB
|
2016-11-14 20:48:19 +03:00
|
|
|
select GPIOLIB_IRQCHIP
|
2019-05-09 23:59:54 +03:00
|
|
|
default ARCH_BCM2835 || ARCH_BRCMSTB
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM2835 GPIO driver.
|
2015-03-05 03:35:51 +03:00
|
|
|
|
2021-03-24 11:19:05 +03:00
|
|
|
config PINCTRL_BCM63XX
|
|
|
|
bool
|
2021-03-31 15:45:05 +03:00
|
|
|
select PINMUX
|
|
|
|
select PINCONF
|
2021-03-24 11:19:05 +03:00
|
|
|
select GENERIC_PINCONF
|
2021-03-31 15:45:05 +03:00
|
|
|
select GPIOLIB
|
2022-01-17 09:25:57 +03:00
|
|
|
select REGMAP
|
2021-03-24 11:19:05 +03:00
|
|
|
select GPIO_REGMAP
|
|
|
|
|
2021-03-24 11:19:23 +03:00
|
|
|
config PINCTRL_BCM6318
|
|
|
|
bool "Broadcom BCM6318 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:23 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM6318 GPIO driver.
|
|
|
|
|
2021-03-24 11:19:08 +03:00
|
|
|
config PINCTRL_BCM6328
|
|
|
|
bool "Broadcom BCM6328 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:08 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM6328 GPIO driver.
|
|
|
|
|
2021-03-24 11:19:11 +03:00
|
|
|
config PINCTRL_BCM6358
|
|
|
|
bool "Broadcom BCM6358 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:11 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM6358 GPIO driver.
|
|
|
|
|
2021-03-24 11:19:14 +03:00
|
|
|
config PINCTRL_BCM6362
|
|
|
|
bool "Broadcom BCM6362 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:14 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM6362 GPIO driver.
|
|
|
|
|
2021-03-24 11:19:17 +03:00
|
|
|
config PINCTRL_BCM6368
|
|
|
|
bool "Broadcom BCM6368 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:17 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM6368 GPIO driver.
|
|
|
|
|
2021-03-24 11:19:20 +03:00
|
|
|
config PINCTRL_BCM63268
|
|
|
|
bool "Broadcom BCM63268 GPIO driver"
|
|
|
|
depends on (BMIPS_GENERIC || COMPILE_TEST)
|
2021-04-01 20:47:03 +03:00
|
|
|
depends on OF
|
2021-03-24 11:19:20 +03:00
|
|
|
select PINCTRL_BCM63XX
|
|
|
|
default BMIPS_GENERIC
|
|
|
|
help
|
|
|
|
Say Y here to enable the Broadcom BCM63268 GPIO driver.
|
|
|
|
|
2015-11-19 06:52:19 +03:00
|
|
|
config PINCTRL_IPROC_GPIO
|
|
|
|
bool "Broadcom iProc GPIO (with PINCONF) driver"
|
|
|
|
depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST)
|
2015-03-09 23:45:00 +03:00
|
|
|
select GPIOLIB_IRQCHIP
|
|
|
|
select PINCONF
|
|
|
|
select GENERIC_PINCONF
|
2015-11-19 06:52:19 +03:00
|
|
|
default ARCH_BCM_IPROC
|
2015-03-09 23:45:00 +03:00
|
|
|
help
|
2015-11-19 06:52:19 +03:00
|
|
|
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.
|
2015-03-09 23:45:00 +03:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2015-11-19 06:52:19 +03:00
|
|
|
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 PINCONF functions such
|
2015-03-09 23:45:00 +03:00
|
|
|
as bias pull up, pull down, and drive strength configurations, when
|
|
|
|
these pins are muxed to GPIO.
|
|
|
|
|
2015-11-19 06:52:19 +03:00
|
|
|
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.
|
2015-03-09 23:45:00 +03:00
|
|
|
|
2015-03-05 03:35:51 +03:00
|
|
|
config PINCTRL_CYGNUS_MUX
|
|
|
|
bool "Broadcom Cygnus IOMUX driver"
|
|
|
|
depends on (ARCH_BCM_CYGNUS || COMPILE_TEST)
|
2016-07-15 23:29:54 +03:00
|
|
|
depends on OF
|
2015-03-05 03:35:51 +03:00
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
default ARCH_BCM_CYGNUS
|
|
|
|
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
|
2017-02-28 01:29:28 +03:00
|
|
|
can be overridden to GPIO function
|
2015-12-04 20:11:42 +03:00
|
|
|
|
2018-09-26 22:31:03 +03:00
|
|
|
config PINCTRL_NS
|
|
|
|
bool "Broadcom Northstar pins driver"
|
|
|
|
depends on OF && (ARCH_BCM_5301X || COMPILE_TEST)
|
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
default ARCH_BCM_5301X
|
|
|
|
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. SPI, I2C, UART) as well
|
|
|
|
as GPIOs.
|
|
|
|
|
2015-12-04 20:11:42 +03:00
|
|
|
config PINCTRL_NSP_GPIO
|
|
|
|
bool "Broadcom NSP GPIO (with PINCONF) driver"
|
|
|
|
depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST)
|
|
|
|
select GPIOLIB_IRQCHIP
|
|
|
|
select PINCONF
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
default ARCH_BCM_NSP
|
|
|
|
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 PINCONF functions such
|
|
|
|
as bias pull up, pull down, and drive strength configurations, when
|
|
|
|
these pins are muxed to GPIO.
|
2016-04-29 15:51:38 +03:00
|
|
|
|
|
|
|
config PINCTRL_NS2_MUX
|
|
|
|
bool "Broadcom Northstar2 pinmux driver"
|
|
|
|
depends on OF
|
|
|
|
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
default ARM64 && ARCH_BCM_IPROC
|
|
|
|
help
|
|
|
|
Say yes here to enable the Broadcom NS2 MUX driver.
|
|
|
|
|
|
|
|
The Broadcom Northstar2 IOMUX driver supports group based IOMUX
|
|
|
|
configuration.
|
2016-06-23 20:35:07 +03:00
|
|
|
|
|
|
|
config PINCTRL_NSP_MUX
|
|
|
|
bool "Broadcom NSP IOMUX driver"
|
|
|
|
depends on (ARCH_BCM_NSP || COMPILE_TEST)
|
2016-07-15 23:29:54 +03:00
|
|
|
depends on OF
|
2016-06-23 20:35:07 +03:00
|
|
|
select PINMUX
|
|
|
|
select GENERIC_PINCONF
|
|
|
|
default ARCH_BCM_NSP
|
|
|
|
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.
|