Bug 26813 - [devel-6.6] pinctrl: Zhaoxin: Add KH-50000 support
Summary: [devel-6.6] pinctrl: Zhaoxin: Add KH-50000 support
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-29 15:56 UTC by LeoLiu-oc
Modified: 2025-10-29 15:58 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-10-29 15:56:01 UTC
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.
Comment 1 小龙 admin 2025-10-29 15:58:01 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5932