2024-03-12 16:18:05

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 13/15] dt-bindings: dma: Added bcm2711-dma

On 12/03/2024 10:12, Andrea della Porta wrote:
> Add BCM2711 dma engine compatible.
>
> Signed-off-by: Andrea della Porta <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> index c9b9a5490826..4271a6fedf54 100644
> --- a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> +++ b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> @@ -20,7 +20,9 @@ allOf:
>
> properties:
> compatible:
> - const: brcm,bcm2835-dma
> + enum:
> + - brcm,bcm2835-dma
> + - brcm,bcm2711-dma

Please keep the entries alphabetically sorted. Probably same comment
applies to your driver device ID table.

With sorting fixed:

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof



2024-03-13 15:17:12

by Andrea della Porta

[permalink] [raw]
Subject: Re: [PATCH v2 13/15] dt-bindings: dma: Added bcm2711-dma

On 17:17 Tue 12 Mar , Krzysztof Kozlowski wrote:
> On 12/03/2024 10:12, Andrea della Porta wrote:
> > Add BCM2711 dma engine compatible.
> >
> > Signed-off-by: Andrea della Porta <[email protected]>
> > ---
> > Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> > index c9b9a5490826..4271a6fedf54 100644
> > --- a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> > +++ b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.yaml
> > @@ -20,7 +20,9 @@ allOf:
> >
> > properties:
> > compatible:
> > - const: brcm,bcm2835-dma
> > + enum:
> > + - brcm,bcm2835-dma
> > + - brcm,bcm2711-dma
>
> Please keep the entries alphabetically sorted. Probably same comment
> applies to your driver device ID table.
>
> With sorting fixed:
>
> Acked-by: Krzysztof Kozlowski <[email protected]>
>

Sure, I'll fix the order in the next version, after collecting guidelines for dma_map_resource()
issue. Please ignore the patchset sent today since it still contains the dt binding in
the incorrect order: thge patchset has been sent as is just to reach all teh parties since it
was splitted due to a problem with my imap server.

> Best regards,
> Krzysztof
>