@@ -67,46 +67,72 @@ properties:
6767 $ref : audio-graph-port.yaml#
6868 unevaluatedProperties : false
6969
70- if :
71- properties :
72- compatible :
73- contains :
74- const : nvidia,tegra210-admaif
75-
76- then :
77- properties :
78- dmas :
79- description :
80- DMA channel specifiers, equally divided for Tx and Rx.
81- minItems : 1
82- maxItems : 20
83- dma-names :
84- items :
85- pattern : " ^[rt]x(10|[1-9])$"
86- description :
87- Should be "rx1", "rx2" ... "rx10" for DMA Rx channel
88- Should be "tx1", "tx2" ... "tx10" for DMA Tx channel
89- minItems : 1
90- maxItems : 20
91- interconnects : false
92- interconnect-names : false
93- iommus : false
94-
95- else :
96- properties :
97- dmas :
98- description :
99- DMA channel specifiers, equally divided for Tx and Rx.
100- minItems : 1
101- maxItems : 40
102- dma-names :
103- items :
104- pattern : " ^[rt]x(1[0-9]|[1-9]|20)$"
105- description :
106- Should be "rx1", "rx2" ... "rx20" for DMA Rx channel
107- Should be "tx1", "tx2" ... "tx20" for DMA Tx channel
108- minItems : 1
109- maxItems : 40
70+ allOf :
71+ - if :
72+ properties :
73+ compatible :
74+ contains :
75+ const : nvidia,tegra210-admaif
76+ then :
77+ properties :
78+ dmas :
79+ description :
80+ DMA channel specifiers, equally divided for Tx and Rx.
81+ minItems : 1
82+ maxItems : 20
83+ dma-names :
84+ items :
85+ pattern : " ^[rt]x(10|[1-9])$"
86+ description :
87+ Should be "rx1", "rx2" ... "rx10" for DMA Rx channel
88+ Should be "tx1", "tx2" ... "tx10" for DMA Tx channel
89+ minItems : 1
90+ maxItems : 20
91+ interconnects : false
92+ interconnect-names : false
93+ iommus : false
94+
95+ - if :
96+ properties :
97+ compatible :
98+ contains :
99+ const : nvidia,tegra186-admaif
100+ then :
101+ properties :
102+ dmas :
103+ description :
104+ DMA channel specifiers, equally divided for Tx and Rx.
105+ minItems : 1
106+ maxItems : 40
107+ dma-names :
108+ items :
109+ pattern : " ^[rt]x(1[0-9]|[1-9]|20)$"
110+ description :
111+ Should be "rx1", "rx2" ... "rx20" for DMA Rx channel
112+ Should be "tx1", "tx2" ... "tx20" for DMA Tx channel
113+ minItems : 1
114+ maxItems : 40
115+
116+ - if :
117+ properties :
118+ compatible :
119+ contains :
120+ const : nvidia,tegra264-admaif
121+ then :
122+ properties :
123+ dmas :
124+ description :
125+ DMA channel specifiers, equally divided for Tx and Rx.
126+ minItems : 1
127+ maxItems : 64
128+ dma-names :
129+ items :
130+ pattern : " ^[rt]x(3[0-2]|[1-2][0-9]|[1-9])$"
131+ description :
132+ Should be "rx1", "rx2" ... "rx32" for DMA Rx channel
133+ Should be "tx1", "tx2" ... "tx32" for DMA Tx channel
134+ minItems : 1
135+ maxItems : 64
110136
111137required :
112138 - compatible
0 commit comments