Skip to content

Commit

Permalink
pinctrl: nsp: add gpio-a driver support for Broadcom NSP SoC
Browse files Browse the repository at this point in the history
This adds the initial support of the Broadcom NSP gpio-a driver.

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Yendapally Reddy Dhananjaya Reddy authored and Linus Walleij committed Dec 10, 2015
1 parent bb37bae commit 8bfcbbb
Show file tree
Hide file tree
Showing 3 changed files with 767 additions and 0 deletions.
17 changes: 17 additions & 0 deletions drivers/pinctrl/bcm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,20 @@ config PINCTRL_CYGNUS_MUX
The Broadcom Cygnus IOMUX driver supports group based IOMUX
configuration, with the exception that certain individual pins
can be overrided to GPIO function

config PINCTRL_NSP_GPIO
bool "Broadcom NSP GPIO (with PINCONF) driver"
depends on OF_GPIO && (ARCH_BCM_NSP || COMPILE_TEST)
select GPIOLIB_IRQCHIP
select PINCONF
select GENERIC_PINCONF
default ARCH_BCM_NSP
help
Say yes here to enable the Broadcom NSP GPIO driver.

The Broadcom Northstar Plus SoC ChipcommonA GPIO controller is
supported by this driver.

The ChipcommonA GPIO controller support basic PINCONF functions such
as bias pull up, pull down, and drive strength configurations, when
these pins are muxed to GPIO.
1 change: 1 addition & 0 deletions drivers/pinctrl/bcm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o
obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o
obj-$(CONFIG_PINCTRL_CYGNUS_GPIO) += pinctrl-cygnus-gpio.o
obj-$(CONFIG_PINCTRL_CYGNUS_MUX) += pinctrl-cygnus-mux.o
obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
Loading

0 comments on commit 8bfcbbb

Please sign in to comment.