[PATCH 0/3] Add pinctrl and GPIO support for MediaTek MT8901

Lei Xue
2025-11-25T02:37:01Z

Dear maintainers,

This patch series contains three patches aimed at improving the
Linux kernel support for MediaTek platforms, specifically for
the MT8901 SoC. The details are as follows:

Add GPIO range record in MediaTek pinctrl driver
- This patch introduces GPIO range recording in the MediaTek
pinctrl driver, providing a foundation for proper GPIO
identification and management.

Add ACPI support in MediaTek pinctrl driver
- This patch adds ACPI support to the MediaTek pinctrl driver,
enabling the driver to function correctly in ACPI environments
and enhancing platform compatibility.

Add pinctrl driver for MediaTek MT8901
- This patch adds a new pinctrl driver for the MT8901 SoC,
defining the GPIO functions, register mappings, and multiplexing
relationships to improve pin control capabilities for MT8901.

These patches will help enhance the mainline kernel support for MediaTek MT8901.
Your review and feedback are highly appreciated.

Thank you!

Lei Xue (3):
pinctrl: mediatek: Add gpio-range record in pinctrl driver
pinctrl: mediatek: Add acpi support
pinctrl: mediatek: mt8901: Add pinctrl driver for MT8901

drivers/pinctrl/mediatek/Kconfig | 12 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/mtk-eint.c | 4 +
drivers/pinctrl/mediatek/mtk-eint.h | 1 +
drivers/pinctrl/mediatek/pinctrl-mt8901.c | 1460 +++++++++++
.../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 24 +-
.../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 1 +
drivers/pinctrl/mediatek/pinctrl-mtk-mt8901.h | 2130 +++++++++++++++++
drivers/pinctrl/mediatek/pinctrl-paris.c | 21 +-
9 files changed, 3647 insertions(+), 7 deletions(-)
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8901.c
create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8901.h

--
2.45.2