From: AngeloGioacchino Del Regno Date: Thu, 13 Nov 2025 12:22:29 +0000 (+0100) Subject: dmaengine: mediatek: mtk-uart-apdma: Add support for Dimensity 9200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3587b2b6bf7681835c7c366c6083e2cd9e4b519d;p=thirdparty%2Flinux.git dmaengine: mediatek: mtk-uart-apdma: Add support for Dimensity 9200 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 Link: https://patch.msgid.link/20251113122229.23998-9-angelogioacchino.delregno@collabora.com Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/mediatek/mtk-uart-apdma.c b/drivers/dma/mediatek/mtk-uart-apdma.c index 8ca850356ef1..3b9761f4e8a1 100644 --- a/drivers/dma/mediatek/mtk-uart-apdma.c +++ b/drivers/dma/mediatek/mtk-uart-apdma.c @@ -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);