Re: [PATCH V1 1/2] dt-bindings: dmaengine: Add support for ATCDMAC300 DMA engine

From: Krzysztof Kozlowski

Date: Tue Oct 07 2025 - 10:27:18 EST


On 07/10/2025 21:33, CL Wang wrote:
> Hi Conor,
>
> Thanks for your review.
>
> Yes, the DMA driver supports the Qilai platform. I have updated the DTS binding as shown below.
> Could you please take a look and let me know if anything still needs to be adjusted?
>
> properties:
> compatible:
> - const: andestech,atcdmac300
> + oneOf:
> + - items:
> + - enum:
> + - andestech,qilai-dma
> + - const: andestech,atcdmac300
> + - const: andestech,atcdmac300
> ...
> dma-controller@f0c00000 {
> - compatible = "andestech,atcdmac300";
> + compatible = "andestech,qilai-dma", "andestech,atcdmac300";

What is "atcdmac300" then? Usually the recommendation is to go only with
soc-based compatibles, not IP blocks. See also:

https://elixir.bootlin.com/linux/v6.17.1/source/Documentation/devicetree/bindings/writing-bindings.rst#L42

Best regards,
Krzysztof