[PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
Dinh Nguyen
dinguyen at kernel.org
Sat Jan 31 09:26:11 PST 2026
From: Khairul Anuar Romli <khairul.anuar.romli at altera.com>
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 <khairul.anuar.romli at altera.com>
Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen at kernel.org>
---
Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml b/Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml
index 73dc69cee4d8..367257a227b1 100644
--- a/Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml
+++ b/Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml
@@ -40,6 +40,8 @@ properties:
dmas:
maxItems: 1
+ dma-coherent: true
+
iommus:
maxItems: 1
--
2.42.0.411.g813d9a9188
More information about the linux-mtd
mailing list