Skip to content

Commit e3a9ccd

Browse files
nxpfranklivinodkoul
authored andcommitted
dt-bindings: dma: fsl-mxs-dma: allow interrupt-names for fsl,imx23-dma-apbx
Allow interrupt-names for fsl,imx23-dma-apbx and keep the same restriction for others. Signed-off-by: Frank Li <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent e569820 commit e3a9ccd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,35 @@ allOf:
2323
properties:
2424
power-domains: false
2525

26+
- if:
27+
properties:
28+
compatible:
29+
contains:
30+
const: fsl,imx23-dma-apbx
31+
then:
32+
properties:
33+
interrupt-names:
34+
items:
35+
- const: audio-adc
36+
- const: audio-dac
37+
- const: spdif-tx
38+
- const: i2c
39+
- const: saif0
40+
- const: empty0
41+
- const: auart0-rx
42+
- const: auart0-tx
43+
- const: auart1-rx
44+
- const: auart1-tx
45+
- const: saif1
46+
- const: empty1
47+
- const: empty2
48+
- const: empty3
49+
- const: empty4
50+
- const: empty5
51+
else:
52+
properties:
53+
interrupt-names: false
54+
2655
properties:
2756
compatible:
2857
oneOf:
@@ -54,6 +83,10 @@ properties:
5483
minItems: 4
5584
maxItems: 16
5685

86+
interrupt-names:
87+
minItems: 4
88+
maxItems: 16
89+
5790
"#dma-cells":
5891
const: 1
5992

0 commit comments

Comments
 (0)