default or selected kernelversion does not have config value CONFIG_ARCH_REQUIRE_GPIOLIB.
Result is shown for kernelversion 6.5.1

CONFIG_ARCH_REQUIRE_GPIOLIB (not configurable)

configname: CONFIG_ARCH_REQUIRE_GPIOLIB

Linux Kernel Configuration
└─>Device Drivers
└─>ARCH_REQUIRE_GPIOLIB
In linux kernel since version 2.6.27 (release Date: 2008-10-09)  
Platforms select gpiolib if they use this infrastructure
for all their GPIOs, usually starting with ones integrated
into SOC processors.
Selecting this from the architecture code will cause the gpiolib
code to always get built in.