[PATCH] ASoC: dt-bindings: mediatek: Fix MT7622 clock count
Rob Herring (Arm)
robh at kernel.org
Tue Sep 22 11:31:20 PDT 2026
MT7622 audio nodes have 33 clocks and clock names. The shared MT2701
binding listed the longer MT2701 clock set as the common minimum,
so MT7622 DTs failed validation as too short even though the binding
already capped MT7622 at a smaller list.
Set the common minimum to 33 and make the MT7622 conditional require
exactly 33 clocks and clock names.
Assisted-by: LLM
Signed-off-by: Rob Herring (Arm) <robh at kernel.org>
---
.../bindings/sound/mediatek,mt2701-audio.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt2701-audio.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt2701-audio.yaml
index 30f331366566..10df1e7c7eb9 100644
--- a/Documentation/devicetree/bindings/sound/mediatek,mt2701-audio.yaml
+++ b/Documentation/devicetree/bindings/sound/mediatek,mt2701-audio.yaml
@@ -32,7 +32,7 @@ properties:
maxItems: 1
clocks:
- minItems: 34
+ minItems: 33
items:
- description: audio infra sys clock
- description: top audio mux 1
@@ -74,7 +74,7 @@ properties:
- description: audio APLL root pd
clock-names:
- minItems: 34
+ minItems: 33
items:
- const: infra_sys_audio_clk
- const: top_audio_mux1_sel
@@ -132,8 +132,10 @@ allOf:
then:
properties:
clocks:
- maxItems: 34
+ minItems: 33
+ maxItems: 33
clock-names:
- maxItems: 34
+ minItems: 33
+ maxItems: 33
additionalProperties: false
--
2.53.0
More information about the linux-arm-kernel
mailing list