]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: meson: gx-card: fix sound-dai dt schema
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 24 May 2021 09:34:48 +0000 (11:34 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 15 Jul 2021 17:24:12 +0000 (19:24 +0200)
commitaedc461bf0c12cac479c138c6c40653057e56b34
tree8a79728de34783fe8b5c2f21bf5583d5fc24e19b
parent3dfa5742c2e126e8d94c6068fffc073ad67cc494
ASoC: meson: gx-card: fix sound-dai dt schema

BugLink: https://bugs.launchpad.net/bugs/1934012
commit d031d99b02eaf7363c33f5b27b38086cc8104082 upstream.

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: fd00366b8e41 ("ASoC: meson: gx: add sound card dt-binding documentation")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210524093448.357140-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml