gpio: driver for AMD Promontory
This patch adds a new GPIO driver for AMD Promontory chip.
This GPIO controller is enumerated by ACPI and the ACPI compliant
hardware ID is AMDF030.
Change history:
v2: 1. fix coding style
2. registers renaming
v3: 1. change include file
2. fix coding style
3. remove module_init/exit, add module_platform_driver
4. remove MODULE_ALIAS
v4: 1. change TOTAL_GPIO_PINS to PT_TOTAL_GPIO
2. remove PCI dependency in Kconfig
3. fix subject line
Signed-off-by: YD Tseng <Yd_Tseng@asmedia.com.tw>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
index 77a07e9..43f4b3c 100644
--- a/drivers/gpio/Makefile
+++ b/drivers/gpio/Makefile
@@ -19,6 +19,7 @@
obj-$(CONFIG_GPIO_ADP5588) += gpio-adp5588.o
obj-$(CONFIG_GPIO_ALTERA) += gpio-altera.o
obj-$(CONFIG_GPIO_AMD8111) += gpio-amd8111.o
+obj-$(CONFIG_GPIO_AMDPT) += gpio-amdpt.o
obj-$(CONFIG_GPIO_ARIZONA) += gpio-arizona.o
obj-$(CONFIG_ATH79) += gpio-ath79.o
obj-$(CONFIG_GPIO_BCM_KONA) += gpio-bcm-kona.o