summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorKen Xue <Ken.Xue@amd.com>2015-03-10 07:02:19 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2015-03-18 01:02:21 (GMT)
commitdbad75dd1f25e0107c643d42774a7f9a8ba85e9b (patch)
tree78bd660db39ff2e623e659cdb7571ca089d23188 /drivers/pinctrl/Kconfig
parentf5efed8090aaafda22cd9b0cf81e0cdf41e03976 (diff)
downloadlinux-dbad75dd1f25e0107c643d42774a7f9a8ba85e9b.tar.xz
pinctrl: add AMD GPIO driver support.
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>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 3d44b6c..c6f299b 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -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