Skip to content

Commit 8509bb1

Browse files
Olivier Moysanbroonie
authored andcommitted
ASoC: dt-bindings: add stm32mp25 support for sai
Add STM32MP25 support for STM32 SAI peripheral, through "st,stm32mp25-sai" compatible. Signed-off-by: Olivier Moysan <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b4b3622 commit 8509bb1

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

Documentation/devicetree/bindings/sound/st,stm32-sai.yaml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ properties:
2020
enum:
2121
- st,stm32f4-sai
2222
- st,stm32h7-sai
23+
- st,stm32mp25-sai
2324

2425
reg:
2526
items:
@@ -43,9 +44,11 @@ properties:
4344
const: 1
4445

4546
clocks:
47+
minItems: 1
4648
maxItems: 3
4749

4850
clock-names:
51+
minItems: 1
4952
maxItems: 3
5053

5154
access-controllers:
@@ -156,7 +159,13 @@ allOf:
156159
items:
157160
- const: x8k
158161
- const: x11k
159-
else:
162+
163+
- if:
164+
properties:
165+
compatible:
166+
contains:
167+
const: st,stm32mph7-sai
168+
then:
160169
properties:
161170
clocks:
162171
items:
@@ -170,6 +179,21 @@ allOf:
170179
- const: x8k
171180
- const: x11k
172181

182+
- if:
183+
properties:
184+
compatible:
185+
contains:
186+
const: st,stm32mp25-sai
187+
then:
188+
properties:
189+
clocks:
190+
items:
191+
- description: pclk feeds the peripheral bus interface.
192+
193+
clock-names:
194+
items:
195+
- const: pclk
196+
173197
additionalProperties: false
174198

175199
examples:

0 commit comments

Comments
 (0)