[PATCH v2 0/3] Add dma-coherent property

Khairul Anuar Romli posted 3 patches 2 weeks, 2 days ago
There is a newer version of this series
Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++
Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml      | 2 ++
arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi              | 3 +++
3 files changed, 7 insertions(+)
[PATCH v2 0/3] Add dma-coherent property
Posted by Khairul Anuar Romli 2 weeks, 2 days ago
This patch series adds dma-coherent property for the Agilex5 platform by:

- Updating the device tree bindings for:
  - Cadence HP NAND controller (`cdns,hp-nfc`)
  - Synopsys DesignWare AXI DMA controller (`snps,dw-axi-dmac`)
  to accept the `dma-coherent` property.

- Adding the dma-coherent property to the Agilex5 device tree and wiring up
  the property to the supported peripherals:
  - NAND controller
  - DMA controller

This dma-coherent addition aligns the Agilex5 platform with ARM’s
architectural requirements for coherent interconnects.

---
Notes:
This patch series is applied and validated on socfpga dts maintainer's
branch
https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/log/?h=socfpga_dts_for_v6.19

This changes is validated on:
	- intel/socfpga_agilex5_socdk.dtb
	- snps,dw-axi-dmac.yaml
	- snps,dw-axi-dmac.yaml intel/socfpga_agilex5_socdk.dtb 
	- cdns,hp-nfc.yaml 
	- cdns,hp-nfc.yaml intel/socfpga_agilex5_socdk.dtb

Changes in v2:
	- Rephrase git commit message to describe why the property is
	  needed now.
	- Remove redundant statement in the git commit message.
	- Correct the version in patch series title to v2. 
---
Khairul Anuar Romli (3):
  dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
  dt-bindings: dma: snps,dw-axi-dmac: add dma-coherent property
  arm64: dts: socfpga: agilex5: Add dma-coherent property

 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++
 Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml      | 2 ++
 arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi              | 3 +++
 3 files changed, 7 insertions(+)

-- 
2.43.7

Re: [PATCH v2 0/3] Add dma-coherent property
Posted by Dinh Nguyen 1 week, 3 days ago

On 12/2/25 17:47, Khairul Anuar Romli wrote:
> This patch series adds dma-coherent property for the Agilex5 platform by:
> 
> - Updating the device tree bindings for:
>    - Cadence HP NAND controller (`cdns,hp-nfc`)
>    - Synopsys DesignWare AXI DMA controller (`snps,dw-axi-dmac`)
>    to accept the `dma-coherent` property.
> 
> - Adding the dma-coherent property to the Agilex5 device tree and wiring up
>    the property to the supported peripherals:
>    - NAND controller
>    - DMA controller
> 
> This dma-coherent addition aligns the Agilex5 platform with ARM’s
> architectural requirements for coherent interconnects.
> 
> ---
> Notes:
> This patch series is applied and validated on socfpga dts maintainer's
> branch
> https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/log/?h=socfpga_dts_for_v6.19
> 
> This changes is validated on:
> 	- intel/socfpga_agilex5_socdk.dtb
> 	- snps,dw-axi-dmac.yaml
> 	- snps,dw-axi-dmac.yaml intel/socfpga_agilex5_socdk.dtb
> 	- cdns,hp-nfc.yaml
> 	- cdns,hp-nfc.yaml intel/socfpga_agilex5_socdk.dtb
> 
> Changes in v2:
> 	- Rephrase git commit message to describe why the property is
> 	  needed now.
> 	- Remove redundant statement in the git commit message.
> 	- Correct the version in patch series title to v2.
> ---
> Khairul Anuar Romli (3):
>    dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
>    dt-bindings: dma: snps,dw-axi-dmac: add dma-coherent property
>    arm64: dts: socfpga: agilex5: Add dma-coherent property
> 
>   Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++
>   Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml      | 2 ++
>   arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi              | 3 +++
>   3 files changed, 7 insertions(+)
> 

Applied!

Thanks,
Dinh

Re: [PATCH v2 0/3] Add dma-coherent property
Posted by Miquel Raynal 3 days, 12 hours ago
>> Khairul Anuar Romli (3):
>>    dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
>>    dt-bindings: dma: snps,dw-axi-dmac: add dma-coherent property
>>    arm64: dts: socfpga: agilex5: Add dma-coherent property
>>   Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++
>>   Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml      | 2 ++
>>   arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi              | 3 +++
>>   3 files changed, 7 insertions(+)
>> 
>
> Applied!

Have you applied all 3 patches? If yes, where? It happened during the
merge window but I see nothing in v6.19-rc1. I was about to take the mtd
binding patch, but if you took it already that's fine, I'll mark this
series as already applied.

Thanks,
Miquèl
Re: [PATCH v2 0/3] Add dma-coherent property
Posted by Dinh Nguyen 2 days, 17 hours ago
Hi Miquel

On 12/16/25 02:12, Miquel Raynal wrote:
> 
>>> Khairul Anuar Romli (3):
>>>     dt-bindings: mtd: cdns,hp-nfc: Add dma-coherent property
>>>     dt-bindings: dma: snps,dw-axi-dmac: add dma-coherent property
>>>     arm64: dts: socfpga: agilex5: Add dma-coherent property
>>>    Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 2 ++
>>>    Documentation/devicetree/bindings/mtd/cdns,hp-nfc.yaml      | 2 ++
>>>    arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi              | 3 +++
>>>    3 files changed, 7 insertions(+)
>>>
>>
>> Applied!
> 
> Have you applied all 3 patches? If yes, where? It happened during the
> merge window but I see nothing in v6.19-rc1. I was about to take the mtd
> binding patch, but if you took it already that's fine, I'll mark this
> series as already applied.
> 

Yes, I took all 3 and staging it in my tree for v6.20.

Thanks,
Dinh
Re: [PATCH v2 0/3] Add dma-coherent property
Posted by Miquel Raynal 2 days, 11 hours ago
Hello Dinh,

>>> Applied!
>> Have you applied all 3 patches? If yes, where? It happened during the
>> merge window but I see nothing in v6.19-rc1. I was about to take the mtd
>> binding patch, but if you took it already that's fine, I'll mark this
>> series as already applied.
>> 
>
> Yes, I took all 3 and staging it in my tree for v6.20.

Noted. If you happen to rebase your own tree you can add my

Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>

on the mtd binding patch. Otherwise, well, too late.

Thanks!
Miquèl
Re: [PATCH v2 0/3] Add dma-coherent property
Posted by Dinh Nguyen 2 days, 10 hours ago

On 12/17/25 03:05, Miquel Raynal wrote:
> Hello Dinh,
> 
>>>> Applied!
>>> Have you applied all 3 patches? If yes, where? It happened during the
>>> merge window but I see nothing in v6.19-rc1. I was about to take the mtd
>>> binding patch, but if you took it already that's fine, I'll mark this
>>> series as already applied.
>>>
>>
>> Yes, I took all 3 and staging it in my tree for v6.20.
> 
> Noted. If you happen to rebase your own tree you can add my
> 
> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
> 

I'll do that.

Thanks,
Dinh