Skip to content

Commit 559a669

Browse files
Tan Chun Hauvinodkoul
authored andcommitted
dmaengine: dw-axi-dmac: Add support for StarFive JH8100 DMA
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>
1 parent 9bcf929 commit 559a669

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,9 @@ static const struct of_device_id dw_dma_of_id_table[] = {
16531653
}, {
16541654
.compatible = "starfive,jh7110-axi-dma",
16551655
.data = (void *)(AXI_DMA_FLAG_HAS_RESETS | AXI_DMA_FLAG_USE_CFG2),
1656+
}, {
1657+
.compatible = "starfive,jh8100-axi-dma",
1658+
.data = (void *)AXI_DMA_FLAG_HAS_RESETS,
16561659
},
16571660
{}
16581661
};

0 commit comments

Comments
 (0)