AMD GPIO pin control

modulename: pinctrl-amd.ko

configname: CONFIG_PINCTRL_AMD

Linux Kernel Configuration
└─>Device Drivers
└─>Pin controllers
└─>AMD GPIO pin control
In linux kernel since version 3.10 (release Date: 2013-06-30)  
The driver for memory mapped GPIO functionality on AMD platforms
(x86 or arm). Most of the 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.

source code: