drivers/dma/mediatek

MediaTek SoC DMA controllers (APDMA, CQDMA, HSDMA)

On-chip DMA engines built into MediaTek system-on-chip processors, used to move data between memory and peripherals such as UARTs without tying up the CPU. They appear in everything from MT7622 Wi-Fi router SoCs to recent Dimensity-class smartphone and embedded chips like the MT6985 and MT6835.

keep conf=0.80 last_sold=2025 deploy=medium replacement=none subsystem=dma category=bus-other
80%

recommendation

It should stay in the kernel because MediaTek is still shipping new SoCs that rely on these DMA blocks, and the code covers a span of chips from older router platforms through 2023-era flagship mobile parts. Upstream maintenance is clearly ongoing, with fixes still being backported to stable kernels as recently as 2026, and there is no generic replacement that could take over the job.

repository signals

5 files
2,637 source lines
28 commits, 5y
+73 / −90 lines added / removed, 5y
18 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 28 total · active in 17/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 3 commits · +14 −13 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 1 commit · +6 −3 2022-04: 3 commits · +9 −16 2022-05: 1 commit · +1 −1 2022-06: 1 commit · +1 −1 2022-07: 1 commit · +1 −1 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +1 −3 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +0 −1 2023-07: 1 commit · +0 −3 2023-08: 1 commit · +1 −2 2023-09: 3 commits · +6 −12 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 1 commit · +3 −3 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +3 −3 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 2 commits · +2 −4 2025-06: 1 commit · +2 −2 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 5 commits · +18 −17 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 1 commit · +5 −5 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    `mtk-uart-apdma.c` was still being backported into stable trees in March 2026, which is evidence of ongoing upstream maintenance rather than abandonment.

  2. mediatek.com

    MT7622, one of the SoCs supported by this driver family, was positioned for routers, repeaters, whole-home Wi-Fi, and home-automation gateways.

  3. mediatek.com

    MediaTek was still actively marketing current flagship smartphone SoCs in this broader mobile SoC family, supporting the view that related on-SoC DMA IP remains relevant in new hardware.

  4. cpubenchmark.net

    MT6985, which matches a compatible string present in this directory, is identified as a 2023 mobile/embedded SoC and still had fresh benchmark activity in 2026, suggesting ongoing field deployment.

codex reasoning notes (technical)

Local `rg` inspection showed three real platform DMA drivers here (`mtk-hsdma`, `mtk-cqdma`, `mtk-uart-apdma`) with compatibles ranging from older MT7622/MT6765 to newer MT6985/MT6835, so this is an active MediaTek SoC DMA block family with no generic replacement driver. Lore evidence was obtained via `lore_activity` and `lore_file_timeline` on `drivers/dma/mediatek/mtk-uart-apdma.c`; the cited lore URL shows 2026 stable backport activity. Web evidence was obtained via `web.search_query`; the MediaTek URLs support continuing product-family relevance and the MT7622 deployment niche, while the MT6985 benchmark page supports current deployments. No removal discussion surfaced in the limited lore sample, so `keep` is the defensible recommendation.