drivers/pinctrl/mediatek

MediaTek SoC pin controllers

Pin multiplexing and GPIO configuration logic for MediaTek's system-on-chip processors, spanning Wi-Fi router chips like the Filogic MT7981/MT7988, embedded application processors like the Genio MT8395 and MT8196, and earlier ARM SoCs used in tablets, set-top boxes, Chromebooks, and IoT devices. It tells the SoC which physical pins should act as UART, I2C, SPI, Ethernet, GPIO, and so on.

keep conf=0.93 deploy=high replacement=none subsystem=pinctrl category=platform-vendor
93%

recommendation

It should stay in the kernel because it covers the pin multiplexing and GPIO routing for MediaTek's current SoC lineup, including the MT7988 Filogic router platform and the Genio 1200 embedded family that MediaTek has committed to selling through 2032. Upstream patches were still landing in 2025, and there is no replacement: each new MediaTek SoC adds another file here.

repository signals

71 files
74,964 source lines
157 commits, 5y
+41,637 / −2,715 lines added / removed, 5y
51 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 157 total · active in 47/61 months
2021 2022 2023 2024 2025 2026 2021-04: 3 commits · +2,551 −5 2021-05: 4 commits · +2,059 −14 2021-06: 3 commits · +3 −3 2021-07: 1 commit · +3 −5 2021-08: 0 commits · +0 −0 2021-09: 5 commits · +445 −52 2021-10: 1 commit · +935 −0 2021-11: 3 commits · +9 −3 2021-12: 1 commit · +5 −7 2022-01: 0 commits · +0 −0 2022-02: 7 commits · +3,630 −286 2022-03: 14 commits · +210 −157 2022-04: 2 commits · +2 −1 2022-05: 1 commit · +2,329 −0 2022-06: 6 commits · +173 −143 2022-07: 0 commits · +0 −0 2022-08: 1 commit · +3,945 −0 2022-09: 0 commits · +0 −0 2022-10: 4 commits · +73 −8 2022-11: 8 commits · +175 −33 2022-12: 0 commits · +0 −0 2023-01: 5 commits · +1,058 −7 2023-02: 2 commits · +23 −21 2023-03: 4 commits · +1,336 −36 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −11 2023-08: 3 commits · +34 −34 2023-09: 2 commits · +7 −6 2023-10: 7 commits · +14 −25 2023-11: 1 commit · +16 −18 2023-12: 2 commits · +20 −25 2024-01: 5 commits · +23 −5 2024-02: 0 commits · +0 −0 2024-03: 2 commits · +13 −27 2024-04: 1 commit · +2 −0 2024-05: 4 commits · +119 −151 2024-06: 0 commits · +0 −0 2024-07: 1 commit · +2 −5 2024-08: 1 commit · +29 −26 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +2,987 −1 2024-11: 1 commit · +5 −4 2024-12: 2 commits · +1,627 −11 2025-01: 1 commit · +0 −18 2025-02: 0 commits · +0 −0 2025-03: 3 commits · +264 −135 2025-04: 12 commits · +8,247 −140 2025-05: 1 commit · +16 −19 2025-06: 2 commits · +3 −3 2025-07: 4 commits · +4,174 −12 2025-08: 1 commit · +4 −4 2025-09: 10 commits · +3,802 −76 2025-10: 2 commits · +3 −7 2025-11: 7 commits · +1,234 −1,149 2025-12: 2 commits · +18 −13 2026-01: 2 commits · +4 −6 2026-02: 0 commits · +0 −0 2026-03: 1 commit · +6 −3 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Upstream work is active in 2025 on Mediatek pinctrl code, indicating ongoing maintenance rather than retirement.

  2. genio.mediatek.com

    MediaTek still markets Genio 1200/MT8395-class embedded SoCs with longevity through 2032, showing current/new deployments for this driver family.

  3. mediatek.com

    MediaTek still markets new Filogic router/AP platforms, indicating ongoing new-networking-device deployments within the supported SoC family.

  4. cateee.net

    The in-tree driver directory covers current MT7988 hardware in mainline Linux, tying the directory to present-generation MediaTek SoCs.

codex reasoning notes (technical)

Real driver directory: local tree inspection via shell showed many SoC-specific source files including recent families such as mt7988 and mt8196. lore_file_timeline on drivers/pinctrl/mediatek/pinctrl-mt7981.c returned 2025-2026 patch traffic and the cited lore URL; a removal-focused lore_regex query timed out, and no removal discussion was surfaced within budget. Web search returned the cited MediaTek Genio and Filogic product pages plus LKDDb for CONFIG_PINCTRL_MT7988. Conclusion: this is an actively maintained, SoC-specific pinctrl family for MediaTek chips still shipping into routers, IoT, and embedded products, with no natural replacement driver beyond the per-SoC Mediatek pinctrl implementations.