]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: dma: snps,dw-axi-dmac: Allow devices to be marked as noncoherent
authorInochi Amaoto <inochiama@gmail.com>
Mon, 3 Mar 2025 06:56:48 +0000 (14:56 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Mar 2025 20:51:44 +0000 (02:21 +0530)
A RISC-V platform can have both DMA coherent/noncoherent devices.
Since the RISC-V architecture is marked coherent, devices should
be marked as noncoherent when coherent devices exist.

Add dma-noncoherent property for snps,dw-axi-dmac device. It will
be used on SG2044, and it has other coherent devices.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250303065649.937233-1-inochiama@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml

index 525f5f3932f548b64a7f75a95afef6f24b2c2a7b..935735a59afd4752b21a84edc6e380a8a71f018b 100644 (file)
@@ -59,6 +59,8 @@ properties:
     minimum: 1
     maximum: 8
 
+  dma-noncoherent: true
+
   resets:
     minItems: 1
     maxItems: 2