xref: /linux/drivers/pinctrl/bcm/Kconfig (revision b64333ce769cbcc6a4dbd0325d9b1da95c6929ff)
1b17f2f9bSRay Jui#
2b17f2f9bSRay Jui# Broadcom pinctrl drivers
3b17f2f9bSRay Jui#
4b17f2f9bSRay Jui
5b17f2f9bSRay Juiconfig PINCTRL_BCM281XX
6b17f2f9bSRay Jui	bool "Broadcom BCM281xx pinctrl driver"
7b17f2f9bSRay Jui	depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
8b17f2f9bSRay Jui	select PINMUX
9b17f2f9bSRay Jui	select PINCONF
10b17f2f9bSRay Jui	select GENERIC_PINCONF
11b17f2f9bSRay Jui	select REGMAP_MMIO
12b17f2f9bSRay Jui	help
13b17f2f9bSRay Jui	  Say Y here to support Broadcom BCM281xx pinctrl driver, which is used
14b17f2f9bSRay Jui	  for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351,
15b17f2f9bSRay Jui	  BCM28145, and BCM28155 SoCs.  This driver requires the pinctrl
16b17f2f9bSRay Jui	  framework.  GPIO is provided by a separate GPIO driver.
17b17f2f9bSRay Jui
18b17f2f9bSRay Juiconfig PINCTRL_BCM2835
19b17f2f9bSRay Jui	bool
20b17f2f9bSRay Jui	select PINMUX
21b17f2f9bSRay Jui	select PINCONF
22cbd159edSRay Jui
23*b64333ceSRay Juiconfig PINCTRL_CYGNUS_GPIO
24*b64333ceSRay Jui	bool "Broadcom Cygnus GPIO (with PINCONF) driver"
25*b64333ceSRay Jui	depends on OF_GPIO && ARCH_BCM_CYGNUS
26*b64333ceSRay Jui	select GPIOLIB_IRQCHIP
27*b64333ceSRay Jui	select PINCONF
28*b64333ceSRay Jui	select GENERIC_PINCONF
29*b64333ceSRay Jui	default ARCH_BCM_CYGNUS
30*b64333ceSRay Jui	help
31*b64333ceSRay Jui	  Say yes here to enable the Broadcom Cygnus GPIO driver.
32*b64333ceSRay Jui
33*b64333ceSRay Jui	  The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
34*b64333ceSRay Jui	  GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
35*b64333ceSRay Jui	  the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are
36*b64333ceSRay Jui	  supported by this driver.
37*b64333ceSRay Jui
38*b64333ceSRay Jui	  All 3 Cygnus GPIO controllers support basic PINCONF functions such
39*b64333ceSRay Jui	  as bias pull up, pull down, and drive strength configurations, when
40*b64333ceSRay Jui	  these pins are muxed to GPIO.
41*b64333ceSRay Jui
42*b64333ceSRay Jui	  Pins from the ASIU GPIO can be individually muxed to GPIO function,
43*b64333ceSRay Jui	  through interaction with the Cygnus IOMUX controller.
44*b64333ceSRay Jui
45cbd159edSRay Juiconfig PINCTRL_CYGNUS_MUX
46cbd159edSRay Jui	bool "Broadcom Cygnus IOMUX driver"
47cbd159edSRay Jui	depends on (ARCH_BCM_CYGNUS || COMPILE_TEST)
48cbd159edSRay Jui	select PINMUX
49cbd159edSRay Jui	select GENERIC_PINCONF
50cbd159edSRay Jui	default ARCH_BCM_CYGNUS
51cbd159edSRay Jui	help
52cbd159edSRay Jui	  Say yes here to enable the Broadcom Cygnus IOMUX driver.
53cbd159edSRay Jui
54cbd159edSRay Jui	  The Broadcom Cygnus IOMUX driver supports group based IOMUX
55cbd159edSRay Jui	  configuration, with the exception that certain individual pins
56cbd159edSRay Jui	  can be overrided to GPIO function
57