File tree Expand file tree Collapse file tree 1 file changed +33
-3
lines changed
Documentation/devicetree/bindings/sound Expand file tree Collapse file tree 1 file changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,11 @@ description:
13
13
The SPI/I2S block supports I2S/PCM protocols when configured on I2S mode.
14
14
Only some SPI instances support I2S.
15
15
16
- allOf :
17
- - $ref : dai-common.yaml#
18
-
19
16
properties :
20
17
compatible :
21
18
enum :
22
19
- st,stm32h7-i2s
20
+ - st,stm32mp25-i2s
23
21
24
22
" #sound-dai-cells " :
25
23
const : 0
@@ -33,13 +31,15 @@ properties:
33
31
- description : clock feeding the internal clock generator.
34
32
- description : I2S parent clock for sampling rates multiple of 8kHz.
35
33
- description : I2S parent clock for sampling rates multiple of 11.025kHz.
34
+ minItems : 2
36
35
37
36
clock-names :
38
37
items :
39
38
- const : pclk
40
39
- const : i2sclk
41
40
- const : x8k
42
41
- const : x11k
42
+ minItems : 2
43
43
44
44
interrupts :
45
45
maxItems : 1
@@ -79,6 +79,36 @@ required:
79
79
- dmas
80
80
- dma-names
81
81
82
+ allOf :
83
+ - $ref : dai-common.yaml#
84
+ - if :
85
+ properties :
86
+ compatible :
87
+ contains :
88
+ const : st,stm32h7-i2s
89
+
90
+ then :
91
+ properties :
92
+ clocks :
93
+ minItems : 4
94
+
95
+ clock-names :
96
+ minItems : 4
97
+
98
+ - if :
99
+ properties :
100
+ compatible :
101
+ contains :
102
+ const : st,stm32mp25-i2s
103
+
104
+ then :
105
+ properties :
106
+ clocks :
107
+ maxItems : 2
108
+
109
+ clock-names :
110
+ maxItems : 2
111
+
82
112
unevaluatedProperties : false
83
113
84
114
examples :
You can’t perform that action at this time.
0 commit comments