Mediatek MT6797 pin control

modulename: pinctrl-mt6797.ko

configname: CONFIG_PINCTRL_MT6797

Linux Kernel Configuration
└─>Device Drivers
└─>Pin controllers
└─>MediaTek pinctrl drivers
└─>Device Tree and Open Firmware support
└─>Mediatek MT6797 pin control
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
source code:

depends
CONFIG_OF
CONFIG_PINCTRL
CONFIG_ARCH_MEDIATEK or CONFIG_COMPILE_TEST
CONFIG_ARM64 or CONFIG_COMPILE_TEST or CONFIG_RALINK