Skip to content

Commit

Permalink
pinctrl: add AMD GPIO driver support.
Browse files Browse the repository at this point in the history
KERNCZ GPIO is a new IP from AMD. it can be implemented in both x86 and ARM.
Current driver patch only support GPIO in x86.

Signed-off-by: Ken Xue <Ken.Xue@amd.com>
[Moved back to <linux/gpio.h> header]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
firstbread authored and linusw committed Mar 18, 2015
1 parent f5efed8 commit dbad75d
Show file tree
Hide file tree
Showing 4 changed files with 1,147 additions and 0 deletions.
15 changes: 15 additions & 0 deletions drivers/pinctrl/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,21 @@ config PINCTRL_AT91
help
Say Y here to enable the at91 pinctrl driver

config PINCTRL_AMD
bool "AMD GPIO pin control"
depends on GPIOLIB
select GPIOLIB_IRQCHIP
select PINCONF
select GENERIC_PINCONF
help
driver for memory mapped GPIO functionality on AMD platforms
(x86 or arm).Most pins are usually muxed to some other
functionality by firmware,so only a small amount is available
for gpio use.

Requires ACPI/FDT device enumeration code to set up a platform
device.

config PINCTRL_LANTIQ
bool
depends on LANTIQ
Expand Down
1 change: 1 addition & 0 deletions drivers/pinctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o
obj-$(CONFIG_PINCTRL_BF54x) += pinctrl-adi2-bf54x.o
obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o
obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd.o
obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
obj-$(CONFIG_PINCTRL_MESON) += meson/
obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
Expand Down
Loading

0 comments on commit dbad75d

Please sign in to comment.