]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: mmp_pdma: Add clock support
authorGuodong Xu <guodong@riscstar.com>
Fri, 22 Aug 2025 03:06:28 +0000 (11:06 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 2 Sep 2025 07:07:41 +0000 (12:37 +0530)
commite73a9a13c99c5a55abfdb8c273651509be1eb5bb
tree629dd674637756200ac69e95b80af0e69c94f7cc
parent39ce725e621b256188550492b4b53fb02bfc872e
dmaengine: mmp_pdma: Add clock support

Add support for retrieving and enabling an optional clock during
mmp_pdma_probe(). It is optional because in Marvell devices
such as "marvell,pdma-1.0" the clocks property is not a required
property. But in SpacemiT K1 PDMA, "spacemit,k1-pdma" as the dt
binding schema file stated, clocks is required.

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