Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbad75dd authored by Ken Xue's avatar Ken Xue Committed by Linus Walleij
Browse files

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: default avatarKen Xue <Ken.Xue@amd.com>
[Moved back to <linux/gpio.h> header]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f5efed80
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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
+870 −0

File added.

Preview size limit exceeded, changes collapsed.

+261 −0

File added.

Preview size limit exceeded, changes collapsed.