[PATCH 0/2] pinctrl: mediatek: Add MT6895 support

From: Alexander Letuchiy

Date: Sun Nov 08 2026 - 13:28:38 EST


This series adds the pin controller of the MediaTek Dimensity 8000/8100
(MT6895) SoC: the binding and a driver on top of the common Paris code.

The pinmux macro header and the pio node will be sent with the next
version of the MT6895 / Xiaomi Poco X4 GT initial support series.

The tables come from the MediaTek driver in the Xiaomi kernel source
release [1]. They were checked field by field against that driver and
against register dumps from the device running the vendor kernel.

Tested on a Xiaomi Poco X4 GT (xaga) on top of next-20261102: pinmux,
pin configuration, GPIO and EINT.

[1] https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/56ec519f6
(branch xaga-s-oss)

Assisted-by: Claude:claude-opus-5-5
---
Alexander Letuchiy (2):
dt-bindings: pinctrl: mediatek: Document MT6895 pin controller
pinctrl: mediatek: Add support for MT6895 pinctrl

.../bindings/pinctrl/mediatek,mt6895-pinctrl.yaml | 228 ++
drivers/pinctrl/mediatek/Kconfig | 10 +
drivers/pinctrl/mediatek/Makefile | 1 +
drivers/pinctrl/mediatek/pinctrl-mt6895.c | 1617 ++++++++++++
drivers/pinctrl/mediatek/pinctrl-mtk-mt6895.h | 2717 ++++++++++++++++++++
5 files changed, 4573 insertions(+)
---
base-commit: 2637bdec0535a2044cd830eba9a79363651d9043
change-id: 20261108-pinctrl-mt6895-84822207f4ac

Best regards,
--
Alexander Letuchiy <asalde.le1@xxxxxxxxx>