Skip to content

Commit

Permalink
dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma…
Browse files Browse the repository at this point in the history
…-apbh"

Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains
compared with "fsl,imx28-dma-apbh".

Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need
it.

Keep the same restriction about 'power-domains' for other compatible
strings.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240801214601.2620843-1-Frank.Li@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Frank Li authored and Vinod Koul committed Aug 28, 2024
1 parent 0204485 commit 63556df
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ maintainers:

allOf:
- $ref: dma-controller.yaml#
- if:
properties:
compatible:
contains:
const: fsl,imx8qxp-dma-apbh
then:
required:
- power-domains
else:
properties:
power-domains: false

properties:
compatible:
Expand All @@ -20,6 +31,7 @@ properties:
- fsl,imx6q-dma-apbh
- fsl,imx6sx-dma-apbh
- fsl,imx7d-dma-apbh
- fsl,imx8qxp-dma-apbh
- const: fsl,imx28-dma-apbh
- enum:
- fsl,imx23-dma-apbh
Expand All @@ -42,6 +54,9 @@ properties:
dma-channels:
enum: [4, 8, 16]

power-domains:
maxItems: 1

required:
- compatible
- reg
Expand Down

0 comments on commit 63556df

Please sign in to comment.