This patch adds GPIO and pinctrl driver support for the Zhaoxin KH-50000 chipset. It includes: A new driver file `pinctrl-kh50000.c` which defines the pin configuration and GPIO functionality for the KH-50000 platform, covering a wide range of pins from general-purpose GPIOs to specialized functions like USB, SMBus, and LPC. Updates to `Kconfig` to introduce the `PINCTRL_KH50000` configuration option, enabling build support for the new driver. Modifications to `Makefile` to compile the new `pinctrl-kh50000.o` module when `CONFIG_PINCTRL_KH50000` is enabled. Enhancements to `pinctrl-zhaoxin.h` to introduce new macros, data structures, and enumerations necessary for supporting the KH-50000's specific pin configurations and GPIO types. Refinements in `pinctrl-zhaoxin.c` to improve the generic Zhaoxin pinctrl/GPIO driver, including updates to interrupt handling and probe functions to accommodate the new hardware. Improvements to `pinctrl-kx7000.c` to enhance code quality and maintainability. This change enables full GPIO functionality support for the Zhaoxin KH-50000 platform.
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5932