]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dmaengine: mediatek: mtk-uart-apdma: Add support for Dimensity 9200
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 13 Nov 2025 12:22:29 +0000 (13:22 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 11:01:24 +0000 (16:31 +0530)
Add a compatible string and match data for the APDMA IP version
found in the MediaTek Dimensity 9200 MT6985 SoC; this supports
extended addressing with up to 35 bits.

Other SoCs with this IP version also include the Dimensity 9400
MT6991 and Kompanio Ultra MT8196 (which don't need a specific
compatible in this driver and can reuse the mt6985 one).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251113122229.23998-9-angelogioacchino.delregno@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-uart-apdma.c

index 8ca850356ef16d2a369f9f8472618d891e34256c..3b9761f4e8a1458173e5216ce613de6e4e1b8e4f 100644 (file)
@@ -471,6 +471,7 @@ static const struct of_device_id mtk_uart_apdma_match[] = {
        { .compatible = "mediatek,mt6577-uart-dma", .data = (void *)32 },
        { .compatible = "mediatek,mt6795-uart-dma", .data = (void *)33 },
        { .compatible = "mediatek,mt6835-uart-dma", .data = (void *)34 },
+       { .compatible = "mediatek,mt6985-uart-dma", .data = (void *)35 },
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, mtk_uart_apdma_match);