.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | # |
---|
2 | 3 | # Broadcom pinctrl drivers |
---|
3 | 4 | # |
---|
.. | .. |
---|
17 | 18 | framework. GPIO is provided by a separate GPIO driver. |
---|
18 | 19 | |
---|
19 | 20 | config PINCTRL_BCM2835 |
---|
20 | | - bool |
---|
| 21 | + bool "Broadcom BCM2835 GPIO (with PINCONF) driver" |
---|
| 22 | + depends on OF && (ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST) |
---|
21 | 23 | select PINMUX |
---|
22 | 24 | select PINCONF |
---|
23 | 25 | select GENERIC_PINCONF |
---|
24 | 26 | select GPIOLIB |
---|
25 | 27 | select GPIOLIB_IRQCHIP |
---|
| 28 | + default ARCH_BCM2835 || ARCH_BRCMSTB |
---|
| 29 | + help |
---|
| 30 | + Say Y here to enable the Broadcom BCM2835 GPIO driver. |
---|
26 | 31 | |
---|
27 | 32 | config PINCTRL_IPROC_GPIO |
---|
28 | 33 | bool "Broadcom iProc GPIO (with PINCONF) driver" |
---|
.. | .. |
---|
74 | 79 | configuration, with the exception that certain individual pins |
---|
75 | 80 | can be overridden to GPIO function |
---|
76 | 81 | |
---|
| 82 | +config PINCTRL_NS |
---|
| 83 | + bool "Broadcom Northstar pins driver" |
---|
| 84 | + depends on OF && (ARCH_BCM_5301X || COMPILE_TEST) |
---|
| 85 | + select PINMUX |
---|
| 86 | + select GENERIC_PINCONF |
---|
| 87 | + default ARCH_BCM_5301X |
---|
| 88 | + help |
---|
| 89 | + Say yes here to enable the Broadcom NS SoC pins driver. |
---|
| 90 | + |
---|
| 91 | + The Broadcom Northstar pins driver supports muxing multi-purpose pins |
---|
| 92 | + that can be used for various functions (e.g. SPI, I2C, UART) as well |
---|
| 93 | + as GPIOs. |
---|
| 94 | + |
---|
77 | 95 | config PINCTRL_NSP_GPIO |
---|
78 | 96 | bool "Broadcom NSP GPIO (with PINCONF) driver" |
---|
79 | 97 | depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST) |
---|