X-Powers AXP209 PMIC pinctrl and GPIO Support

modulename: pinctrl-axp209.ko

configname: CONFIG_PINCTRL_AXP209

Linux Kernel Configuration
└─>Device Drivers
└─>Pin controllers
└─>Device Tree and Open Firmware support
└─>X-Powers AXP209 PMIC pinctrl and GPIO Support
In linux kernel since version 4.2 (release Date: 2015-08-30)  
AXP PMICs provides multiple GPIOs that can be muxed for different
functions. This driver bundles a pinctrl driver to select the function
muxing and a GPIO driver to handle the GPIO when the GPIO function is
selected.
Say yes to enable pinctrl and GPIO support for the AXP209 PMIC

source code: