Skip to content

Commit

Permalink
pinctrl: SPEAr: Add plgpio driver
Browse files Browse the repository at this point in the history
Most of SPEAr SoCs, which support pinctrl, can configure & use
pads as gpio. This patch adds plgpio driver for configuring
these pads as gpio.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Viresh Kumar authored and Linus Walleij committed Nov 11, 2012
1 parent f23f151 commit 604bb7d
Show file tree
Hide file tree
Showing 3 changed files with 754 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/pinctrl/spear/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@ config PINCTRL_SPEAR1340
depends on MACH_SPEAR1340
select PINCTRL_SPEAR

config PINCTRL_SPEAR_PLGPIO
bool "SPEAr SoC PLGPIO Controller"
depends on GPIOLIB && PINCTRL_SPEAR
help
Say yes here to support PLGPIO controller on ST Microelectronics SPEAr
SoCs.

endif
1 change: 1 addition & 0 deletions drivers/pinctrl/spear/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# SPEAr pinmux support

obj-$(CONFIG_PINCTRL_SPEAR_PLGPIO) += pinctrl-plgpio.o
obj-$(CONFIG_PINCTRL_SPEAR) += pinctrl-spear.o
obj-$(CONFIG_PINCTRL_SPEAR3XX) += pinctrl-spear3xx.o
obj-$(CONFIG_PINCTRL_SPEAR300) += pinctrl-spear300.o
Expand Down
Loading

0 comments on commit 604bb7d

Please sign in to comment.