* [linux][PATCH v2 09/20] dt-bindings: dma: sifive pdma: Add PIC64GX to compatibles
[not found] <20240930095449.1813195-1-pierre-henry.moussay@microchip.com>
@ 2024-09-30 9:54 ` pierre-henry.moussay
2024-09-30 13:48 ` Conor Dooley
0 siblings, 1 reply; 2+ messages in thread
From: pierre-henry.moussay @ 2024-09-30 9:54 UTC (permalink / raw)
To: Linux4Microchip, Vinod Koul, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Paul Walmsley, Samuel Holland, Green Wan,
Palmer Debbelt
Cc: Pierre-Henry Moussay, dmaengine, devicetree, linux-riscv,
linux-kernel
From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
PIC64GX is compatible as out of order DMA capable, just like the MPFS
version, therefore we add it with microchip,mpfs-pdma as a fallback
Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
---
.../bindings/dma/sifive,fu540-c000-pdma.yaml | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
index 3b22183a1a37..609e38901434 100644
--- a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
+++ b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
@@ -27,11 +27,16 @@ allOf:
properties:
compatible:
- items:
- - enum:
- - microchip,mpfs-pdma
- - sifive,fu540-c000-pdma
- - const: sifive,pdma0
+ oneOf:
+ - items:
+ - const: microchip,pic64gx-pdma
+ - const: microchip,mpfs-pdma
+ - const: sifive,pdma0
+ - items:
+ - enum:
+ - microchip,mpfs-pdma
+ - sifive,fu540-c000-pdma
+ - const: sifive,pdma0
description:
Should be "sifive,<chip>-pdma" and "sifive,pdma<version>".
Supported compatible strings are -
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [linux][PATCH v2 09/20] dt-bindings: dma: sifive pdma: Add PIC64GX to compatibles
2024-09-30 9:54 ` [linux][PATCH v2 09/20] dt-bindings: dma: sifive pdma: Add PIC64GX to compatibles pierre-henry.moussay
@ 2024-09-30 13:48 ` Conor Dooley
0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2024-09-30 13:48 UTC (permalink / raw)
To: pierre-henry.moussay
Cc: Linux4Microchip, Vinod Koul, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Paul Walmsley, Samuel Holland, Green Wan,
Palmer Debbelt, dmaengine, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1603 bytes --]
On Mon, Sep 30, 2024 at 10:54:38AM +0100, pierre-henry.moussay@microchip.com wrote:
> From: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
>
> PIC64GX is compatible as out of order DMA capable, just like the MPFS
> version, therefore we add it with microchip,mpfs-pdma as a fallback
>
> Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@microchip.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> .../bindings/dma/sifive,fu540-c000-pdma.yaml | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
> index 3b22183a1a37..609e38901434 100644
> --- a/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
> +++ b/Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml
> @@ -27,11 +27,16 @@ allOf:
>
> properties:
> compatible:
> - items:
> - - enum:
> - - microchip,mpfs-pdma
> - - sifive,fu540-c000-pdma
> - - const: sifive,pdma0
> + oneOf:
> + - items:
> + - const: microchip,pic64gx-pdma
> + - const: microchip,mpfs-pdma
> + - const: sifive,pdma0
> + - items:
> + - enum:
> + - microchip,mpfs-pdma
> + - sifive,fu540-c000-pdma
> + - const: sifive,pdma0
> description:
> Should be "sifive,<chip>-pdma" and "sifive,pdma<version>".
> Supported compatible strings are -
> --
> 2.30.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-30 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240930095449.1813195-1-pierre-henry.moussay@microchip.com>
2024-09-30 9:54 ` [linux][PATCH v2 09/20] dt-bindings: dma: sifive pdma: Add PIC64GX to compatibles pierre-henry.moussay
2024-09-30 13:48 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox