dt-bindings: dma: snps,dw-axi-dmac: Allow devices to be marked as noncoherent
Subsystems (3)
PATCH 1/1 dt-bindings: dma: snps,dw-axi-dmac: Allow devices to be marked as noncoherent
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.
---
Related discussion for this property.
https://lore.kernel.org/all/[email protected]/
--- Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +2 -0
@@ -59,6 +59,8 @@ properties: minimum: 1 maximum: 8 + dma-noncoherent: true + resets: minItems: 1 maxItems: 2
--
2.48.1
Quoted 21 lines · Inochi Amaoto
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 <[email protected]>---
Related discussion for this property.https://lore.kernel.org/all/[email protected]/
--- Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +0
-0
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml properties: · line 62
Quoted 4 lines
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +1
-0@@ -59,6 +59,8 @@ properties: minimum: 1 maximum: 8 + dma-noncoherent: true
I'd probably also add mutual exclusion, but I think that's something for dt-schema and not for individual bindings.
Quoted 7 lines
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml +1
-1+ resets: minItems: 1 maxItems: 2 --2.48.1
Quoted 8 lines · Inochi Amaoto
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.
[...]
Applied, thanks!
[1/1] dt-bindings: dma: snps,dw-axi-dmac: Allow devices to be marked as noncoherent
commit: 6ec29d4086ed8b951fa794ac6c0e7cd7ae3762d9
Best regards,
Signature · 1 line
~Vinod