dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA
authorTan Chun Hau <chunhau.tan@starfivetech.com>
Wed, 27 Mar 2024 02:51:26 +0000 (19:51 -0700)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Apr 2024 11:41:12 +0000 (17:11 +0530)
JH8100 requires reset operation only in device probe.

Signed-off-by: Tan Chun Hau <chunhau.tan@starfivetech.com>
Link: https://lore.kernel.org/r/20240327025126.229475-3-chunhau.tan@starfivetech.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c

index a86a81ff0caa62e7467012a6a273325f5efad5dd..abb3523ba8ab249256918afd6fe624999949c02f 100644 (file)
@@ -1653,6 +1653,9 @@ static const struct of_device_id dw_dma_of_id_table[] = {
        }, {
                .compatible = "starfive,jh7110-axi-dma",
                .data = (void *)(AXI_DMA_FLAG_HAS_RESETS | AXI_DMA_FLAG_USE_CFG2),
+       }, {
+               .compatible = "starfive,jh8100-axi-dma",
+               .data = (void *)AXI_DMA_FLAG_HAS_RESETS,
        },
        {}
 };