dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
PATCH 1/1 dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
From: Khairul Anuar Romli <[email protected]>
The Cadence HP NAND Flash Controller on supports DMA transactions through a coherent interconnect. In previous generations SoC (Stratix10 and Agilex) the interconnect was non-coherent, hence there is no need for dma-coherent property to be presence. In Agilex 5, the architecture has changed. It introduced a coherent interconnect that supports cache-coherent DMA.
--- Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml +2 -0
@@ -40,6 +40,8 @@ properties: dmas: maxItems: 1 + dma-coherent: true + iommus: maxItems: 1
Signature · 1 line
2.42.0.411.g813d9a9188
Quoted 10 lines · Dinh Nguyen
From: Khairul Anuar Romli <[email protected]>
The Cadence HP NAND Flash Controller on supports DMA transactions through a coherent interconnect. In previous generations SoC (Stratix10 and Agilex) the interconnect was non-coherent, hence there is no need for dma-coherent property to be presence. In Agilex 5, the architecture has changed. It introduced a coherent interconnect that supports cache-coherent DMA.
Signed-off-by Khairul Anuar Romli <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>
Why does this v1 have an ack?
Quoted 22 lines
Signed-off-by Dinh Nguyen <[email protected]>--- Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml | 2 ++ 1 file changed, 2 insertions(+)Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml +2
-0@@ -40,6 +40,8 @@ properties: dmas: maxItems: 1 + dma-coherent: true + iommus: maxItems: 1Signature · 1 line
2.42.0.411.g813d9a9188
Quoted 9 lines · Conor Dooley
Quoted 8 lines · Dinh Nguyen
From: Khairul Anuar Romli <[email protected]>
The Cadence HP NAND Flash Controller on supports DMA transactions through a coherent interconnect. In previous generations SoC (Stratix10 and Agilex) the interconnect was non-coherent, hence there is no need for dma-coherent property to be presence. In Agilex 5, the architecture has changed. It introduced a coherent interconnect that supports cache-coherent DMA.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Khairul Anuar Romli <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>Why does this v1 have an ack?
I respun this patch based on the mtd tree so that the mtd maintainers can take it. I had originally applied it to my tree, but avoid merge conflicts, I'm going to submit it through mtd. This patch is the same as this[1].
Sorry for any confusion.
Dinh
[1] https://lore.kernel.org/linux-devicetree/[email protected]/
Quoted 8 lines · Dinh Nguyen
The Cadence HP NAND Flash Controller on supports DMA transactions through a coherent interconnect. In previous generations SoC (Stratix10 and Agilex) the interconnect was non-coherent, hence there is no need for dma-coherent property to be presence. In Agilex 5, the architecture has changed. It introduced a coherent interconnect that supports cache-coherent DMA.
[...]
Applied to mtd/next, thanks!
[1/1] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
commit: 875382759298650c96192bf2c12e2d1e4575de92
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl