GPIO Support

modulename: gpio.ko

and/or

gpiolib.ko

and/or

gpiolib-devres.ko

and/or

gpiolib-legacy.ko

and/or

gpiolib-swnode.ko

configname: CONFIG_GPIOLIB

Linux Kernel Configuration
└─>Device Drivers
└─>GPIO Support
In linux kernel since version 2.6.27 (release Date: 2008-10-09)  
This enables GPIO support through the generic GPIO library.
You only need to enable this if you also want to enable
one or more of the GPIO drivers below.

If unsure, say N.

source code: