Kconfig (01b944fe1cd4e21a2a9ed51adbdbafe2d5e905ba) Kconfig (616043d58a89c0966e479a83f64ba8c0ab3e657e)
1#
2# Broadcom pinctrl drivers
3#
4
5config PINCTRL_BCM281XX
6 bool "Broadcom BCM281xx pinctrl driver"
7 depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
8 select PINMUX

--- 6 unchanged lines hidden (view full) ---

15 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
16 framework. GPIO is provided by a separate GPIO driver.
17
18config PINCTRL_BCM2835
19 bool
20 select PINMUX
21 select PINCONF
22
1#
2# Broadcom pinctrl drivers
3#
4
5config PINCTRL_BCM281XX
6 bool "Broadcom BCM281xx pinctrl driver"
7 depends on OF && (ARCH_BCM_MOBILE || COMPILE_TEST)
8 select PINMUX

--- 6 unchanged lines hidden (view full) ---

15 BCM28145, and BCM28155 SoCs. This driver requires the pinctrl
16 framework. GPIO is provided by a separate GPIO driver.
17
18config PINCTRL_BCM2835
19 bool
20 select PINMUX
21 select PINCONF
22
23config PINCTRL_CYGNUS_GPIO
24 bool "Broadcom Cygnus GPIO (with PINCONF) driver"
25 depends on OF_GPIO && ARCH_BCM_CYGNUS
23config PINCTRL_IPROC_GPIO
24 bool "Broadcom iProc GPIO (with PINCONF) driver"
25 depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST)
26 select GPIOLIB_IRQCHIP
27 select PINCONF
28 select GENERIC_PINCONF
26 select GPIOLIB_IRQCHIP
27 select PINCONF
28 select GENERIC_PINCONF
29 default ARCH_BCM_CYGNUS
29 default ARCH_BCM_IPROC
30 help
30 help
31 Say yes here to enable the Broadcom Cygnus GPIO driver.
31 Say yes here to enable the Broadcom iProc GPIO driver.
32
32
33 The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use
34 same GPIO Controller IP hence this driver could be used for all.
35
33 The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
34 GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
35 the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are
36 supported by this driver.
37
36 The Broadcom Cygnus SoC has 3 GPIO controllers including the ASIU
37 GPIO controller (ASIU), the chipCommonG GPIO controller (CCM), and
38 the always-ON GPIO controller (CRMU/AON). All 3 GPIO controllers are
39 supported by this driver.
40
38 All 3 Cygnus GPIO controllers support basic PINCONF functions such
41 The Broadcom NSP has two GPIO controllers including the ChipcommonA
42 GPIO, the ChipcommonB GPIO. Later controller is supported by this
43 driver.
44
45 The Broadcom NS2 has two GPIO controller including the CRMU GPIO,
46 the ChipcommonG GPIO. Both controllers are supported by this driver.
47
48 The Broadcom Stingray GPIO controllers are supported by this driver.
49
50 All above SoCs GPIO controllers support basic PINCONF functions such
39 as bias pull up, pull down, and drive strength configurations, when
40 these pins are muxed to GPIO.
41
51 as bias pull up, pull down, and drive strength configurations, when
52 these pins are muxed to GPIO.
53
42 Pins from the ASIU GPIO can be individually muxed to GPIO function,
43 through interaction with the Cygnus IOMUX controller.
54 It provides the framework where pins from the individual GPIO can be
55 individually muxed to GPIO function, through interaction with the
56 SoCs IOMUX controller. This features could be used only on SoCs which
57 support individual pin muxing.
44
45config PINCTRL_CYGNUS_MUX
46 bool "Broadcom Cygnus IOMUX driver"
47 depends on (ARCH_BCM_CYGNUS || COMPILE_TEST)
48 select PINMUX
49 select GENERIC_PINCONF
50 default ARCH_BCM_CYGNUS
51 help
52 Say yes here to enable the Broadcom Cygnus IOMUX driver.
53
54 The Broadcom Cygnus IOMUX driver supports group based IOMUX
55 configuration, with the exception that certain individual pins
56 can be overrided to GPIO function
58
59config PINCTRL_CYGNUS_MUX
60 bool "Broadcom Cygnus IOMUX driver"
61 depends on (ARCH_BCM_CYGNUS || COMPILE_TEST)
62 select PINMUX
63 select GENERIC_PINCONF
64 default ARCH_BCM_CYGNUS
65 help
66 Say yes here to enable the Broadcom Cygnus IOMUX driver.
67
68 The Broadcom Cygnus IOMUX driver supports group based IOMUX
69 configuration, with the exception that certain individual pins
70 can be overrided to GPIO function