ASoC: dt-bindings: mt2701-afe-pcm: add HDMI audio path clocks

Document four additional optional clocks feeding the HDMI audio
output path on MT2701: the HADDS2 PLL (root of the HDMI audio
clock tree), the HDMI audio and S/PDIF interface power gates,
and the audio APLL root gate. Older device trees that do not
wire these up remain valid via minItems. MT7622 does not have
HDMI audio hardware, so its compatible is restricted to the
base set of 34 clocks.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/1a871e4494d514a270c7c27c080e338b2dbf6559.1776998727.git.daniel@makrotopia.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Daniel Golle 2026-04-24 03:48:41 +01:00 committed by Mark Brown
parent 50c2f0f086
commit 7139d75a1a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -32,6 +32,7 @@ properties:
maxItems: 1
clocks:
minItems: 34
items:
- description: audio infra sys clock
- description: top audio mux 1
@ -67,8 +68,13 @@ properties:
- description: top audio a1 sys pd
- description: top audio a2 sys pd
- description: audio merge interface pd
- description: HADDS2 PLL 294 MHz (HDMI audio path root)
- description: HDMI audio interface pd
- description: S/PDIF interface pd
- description: audio APLL root pd
clock-names:
minItems: 34
items:
- const: infra_sys_audio_clk
- const: top_audio_mux1_sel
@ -104,6 +110,10 @@ properties:
- const: audio_a1sys_pd
- const: audio_a2sys_pd
- const: audio_mrgif_pd
- const: hadds2pll_294m
- const: audio_hdmi_pd
- const: audio_spdf_pd
- const: audio_apll_pd
required:
- compatible
@ -113,4 +123,17 @@ required:
- clocks
- clock-names
allOf:
- if:
properties:
compatible:
contains:
const: mediatek,mt7622-audio
then:
properties:
clocks:
maxItems: 34
clock-names:
maxItems: 34
additionalProperties: false