]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
authorKhairul Anuar Romli <khairul.anuar.romli@altera.com>
Sat, 31 Jan 2026 17:26:11 +0000 (11:26 -0600)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 3 Feb 2026 16:14:50 +0000 (17:14 +0100)
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@altera.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml

index 73dc69cee4d8faf7c7d32daa3858be743a3abc39..367257a227b10214731531f1af981b3078b3ba96 100644 (file)
@@ -40,6 +40,8 @@ properties:
   dmas:
     maxItems: 1
 
+  dma-coherent: true
+
   iommus:
     maxItems: 1