Sophgo SG2042 SoC Pinctrl driver

modulename: pinctrl-sg2042.ko

configname: CONFIG_PINCTRL_SOPHGO_SG2042

Linux Kernel Configuration
└─>Device Drivers
└─>Pin controllers
└─>Device Tree and Open Firmware support
└─>Sophgo SG2042 SoC Pinctrl driver
In linux kernel since version 6.6.86 (release Date: 2025-04-07)  
Say Y to select the pinctrl driver for SG2042 SoC.
This pin controller allows selecting the mux function for
each pin. This driver can also be built as a module called
pinctrl-sg2042.

source code: