Skip to content

Commit 63556df

Browse files
nxpfranklivinodkoul
authored andcommitted
dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-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) <[email protected]> Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 0204485 commit 63556df

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ maintainers:
1111

1212
allOf:
1313
- $ref: dma-controller.yaml#
14+
- if:
15+
properties:
16+
compatible:
17+
contains:
18+
const: fsl,imx8qxp-dma-apbh
19+
then:
20+
required:
21+
- power-domains
22+
else:
23+
properties:
24+
power-domains: false
1425

1526
properties:
1627
compatible:
@@ -20,6 +31,7 @@ properties:
2031
- fsl,imx6q-dma-apbh
2132
- fsl,imx6sx-dma-apbh
2233
- fsl,imx7d-dma-apbh
34+
- fsl,imx8qxp-dma-apbh
2335
- const: fsl,imx28-dma-apbh
2436
- enum:
2537
- fsl,imx23-dma-apbh
@@ -42,6 +54,9 @@ properties:
4254
dma-channels:
4355
enum: [4, 8, 16]
4456

57+
power-domains:
58+
maxItems: 1
59+
4560
required:
4661
- compatible
4762
- reg

0 commit comments

Comments
 (0)