Character device (/dev/gpiochipN) support

modulename: gpiolib-cdev.ko

configname: CONFIG_GPIO_CDEV

Linux Kernel Configuration
└─>Device Drivers
└─>GPIO Support
└─>Character device (/dev/gpiochipN) support
In linux kernel since version 5.1 (release Date: 2019-05-05)  
Say Y here to add the character device /dev/gpiochipN interface
for GPIOs. The character device allows userspace to control GPIOs
using ioctl() operations.

Only say N if you are sure that the GPIO character device is not
required.

If unsure, say Y.

source code:
depends
CONFIG_GPIOLIB