* [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
@ 2026-01-31 17:26 Dinh Nguyen
2026-01-31 20:26 ` Conor Dooley
2026-02-03 16:15 ` Miquel Raynal
0 siblings, 2 replies; 4+ messages in thread
From: Dinh Nguyen @ 2026-01-31 17:26 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr
Cc: dinguyen, linux-mtd, devicetree, linux-kernel,
Khairul Anuar Romli, Rob Herring
From: Khairul Anuar Romli <khairul.anuar.romli@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@altera.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Dinh Nguyen <dinguyen@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
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
2026-01-31 17:26 [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property Dinh Nguyen
@ 2026-01-31 20:26 ` Conor Dooley
2026-02-01 19:25 ` Dinh Nguyen
2026-02-03 16:15 ` Miquel Raynal
1 sibling, 1 reply; 4+ messages in thread
From: Conor Dooley @ 2026-01-31 20:26 UTC (permalink / raw)
To: Dinh Nguyen
Cc: miquel.raynal, richard, vigneshr, linux-mtd, devicetree,
linux-kernel, Khairul Anuar Romli, Rob Herring
[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]
On Sat, Jan 31, 2026 at 11:26:11AM -0600, Dinh Nguyen wrote:
> From: Khairul Anuar Romli <khairul.anuar.romli@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@altera.com>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Why does this v1 have an ack?
> Signed-off-by: Dinh Nguyen <dinguyen@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
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
2026-01-31 20:26 ` Conor Dooley
@ 2026-02-01 19:25 ` Dinh Nguyen
0 siblings, 0 replies; 4+ messages in thread
From: Dinh Nguyen @ 2026-02-01 19:25 UTC (permalink / raw)
To: Conor Dooley
Cc: miquel.raynal, richard, vigneshr, linux-mtd, devicetree,
linux-kernel, Khairul Anuar Romli, Rob Herring
On 1/31/26 14:26, Conor Dooley wrote:
> On Sat, Jan 31, 2026 at 11:26:11AM -0600, Dinh Nguyen wrote:
>> From: Khairul Anuar Romli <khairul.anuar.romli@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@altera.com>
>> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
>
> 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/176488419217.2206248.9983976146883123306.robh@kernel.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
2026-01-31 17:26 [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property Dinh Nguyen
2026-01-31 20:26 ` Conor Dooley
@ 2026-02-03 16:15 ` Miquel Raynal
1 sibling, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2026-02-03 16:15 UTC (permalink / raw)
To: richard, vigneshr, Dinh Nguyen
Cc: linux-mtd, devicetree, linux-kernel, Khairul Anuar Romli,
Rob Herring
On Sat, 31 Jan 2026 11:26:11 -0600, Dinh Nguyen wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-03 16:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-31 17:26 [PATCH] dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property Dinh Nguyen
2026-01-31 20:26 ` Conor Dooley
2026-02-01 19:25 ` Dinh Nguyen
2026-02-03 16:15 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox