forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/pinctrl/bcm/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Broadcom pinctrl drivers
34 #
....@@ -17,12 +18,16 @@
1718 framework. GPIO is provided by a separate GPIO driver.
1819
1920 config PINCTRL_BCM2835
20
- bool
21
+ bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
22
+ depends on OF && (ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST)
2123 select PINMUX
2224 select PINCONF
2325 select GENERIC_PINCONF
2426 select GPIOLIB
2527 select GPIOLIB_IRQCHIP
28
+ default ARCH_BCM2835 || ARCH_BRCMSTB
29
+ help
30
+ Say Y here to enable the Broadcom BCM2835 GPIO driver.
2631
2732 config PINCTRL_IPROC_GPIO
2833 bool "Broadcom iProc GPIO (with PINCONF) driver"
....@@ -74,6 +79,19 @@
7479 configuration, with the exception that certain individual pins
7580 can be overridden to GPIO function
7681
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
+
7795 config PINCTRL_NSP_GPIO
7896 bool "Broadcom NSP GPIO (with PINCONF) driver"
7997 depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST)