Skip to content

Commit d031d99

Browse files
jbrun3tbroonie
authored andcommitted
ASoC: meson: gx-card: fix sound-dai dt schema
There is a fair amount of warnings when running 'make dtbs_check' with amlogic,gx-sound-card.yaml. Ex: arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0:1: missing phandle tag in 0 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0:2: missing phandle tag in 0 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0: [66, 0, 0] is too long The reason is that the sound-dai phandle provided has cells, and in such case the schema should use 'phandle-array' instead of 'phandle'. Fixes: fd00366 ("ASoC: meson: gx: add sound card dt-binding documentation") Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 320232c commit d031d99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ patternProperties:
5757
rate
5858
5959
sound-dai:
60-
$ref: /schemas/types.yaml#/definitions/phandle
60+
$ref: /schemas/types.yaml#/definitions/phandle-array
6161
description: phandle of the CPU DAI
6262

6363
patternProperties:
@@ -71,7 +71,7 @@ patternProperties:
7171
7272
properties:
7373
sound-dai:
74-
$ref: /schemas/types.yaml#/definitions/phandle
74+
$ref: /schemas/types.yaml#/definitions/phandle-array
7575
description: phandle of the codec DAI
7676

7777
required:

0 commit comments

Comments
 (0)