]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dmaengine: mediatek: mtk-uart-apdma: Add support for Dimensity 6300
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 13 Nov 2025 12:22:28 +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 6300 MT6835 SoC; this supports
extended addressing with up to 34 bits.

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

index 3829c05a12fd0707c48d31751096be32712f7fa3..8ca850356ef16d2a369f9f8472618d891e34256c 100644 (file)
@@ -470,6 +470,7 @@ static void mtk_uart_apdma_free(struct mtk_uart_apdmadev *mtkd)
 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 },
        { /* sentinel */ },
 };
 MODULE_DEVICE_TABLE(of, mtk_uart_apdma_match);