]> Gentwo Git Trees - linux/.git/commit
dmaengine: mmp_pdma: Add reset controller support
authorGuodong Xu <guodong@riscstar.com>
Fri, 22 Aug 2025 03:06:29 +0000 (11:06 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Sep 2025 07:07:42 +0000 (12:37 +0530)
commitfc72462bc6107b8babda05cad5bf8f7daf8bec20
tree89518c2281efe87c8ab48ca71c7de7f940930fbf
parente73a9a13c99c5a55abfdb8c273651509be1eb5bb
dmaengine: mmp_pdma: Add reset controller support

Add support to acquire and deassert an optional hardware reset controller
during mmp_pdma_probe(). It is optional because in Marvell devices
such as "marvell,pdma-1.0" the resets property is not a required
property. But in SpacemiT K1 PDMA, "spacemit,k1-pdma" as the dt
binding schema file stated, resets is required.

Signed-off-by: Guodong Xu <guodong@riscstar.com>
Link: https://lore.kernel.org/r/20250822-working_dma_0701_v2-v5-3-f5c0eda734cc@riscstar.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mmp_pdma.c