mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC
This adds the initial support of the Broadcom NS2 pinmux driver Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
df408e9cd0
commit
b5aa1006e4
@ -86,3 +86,16 @@ config PINCTRL_NSP_GPIO
|
|||||||
The ChipcommonA GPIO controller support basic PINCONF functions such
|
The ChipcommonA GPIO controller support basic PINCONF functions such
|
||||||
as bias pull up, pull down, and drive strength configurations, when
|
as bias pull up, pull down, and drive strength configurations, when
|
||||||
these pins are muxed to GPIO.
|
these pins are muxed to GPIO.
|
||||||
|
|
||||||
|
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.
|
||||||
|
@ -5,3 +5,4 @@ obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o
|
|||||||
obj-$(CONFIG_PINCTRL_IPROC_GPIO) += pinctrl-iproc-gpio.o
|
obj-$(CONFIG_PINCTRL_IPROC_GPIO) += pinctrl-iproc-gpio.o
|
||||||
obj-$(CONFIG_PINCTRL_CYGNUS_MUX) += pinctrl-cygnus-mux.o
|
obj-$(CONFIG_PINCTRL_CYGNUS_MUX) += pinctrl-cygnus-mux.o
|
||||||
obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
|
obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
|
||||||
|
obj-$(CONFIG_PINCTRL_NS2_MUX) += pinctrl-ns2-mux.o
|
||||||
|
1117
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
Normal file
1117
drivers/pinctrl/bcm/pinctrl-ns2-mux.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user