diff options
author | Sameer Pujar <spujar@nvidia.com> | 2021-09-21 18:41:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-21 19:39:11 +0300 |
commit | 013148fe7f5eb420a497e35d9aa8020cdfe92eb6 (patch) | |
tree | 9caf8a2272ac9d597b56228a235cfe3496295b89 /Documentation | |
parent | b5377a76782797fec63c4461ef961d8d4abe9cbe (diff) | |
download | linux-013148fe7f5eb420a497e35d9aa8020cdfe92eb6.tar.xz |
ASoC: Fix warning related to 'sound-name-prefix' binding
commit 82d3ec1d89fa ("ASoC: Use schema reference for sound-name-prefix")
added name-prefix.yaml schema and the same reference was used in couple
of other schemas. But this is causing following warning and the same is
fixed in current patch.
Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml:
audio-codec@34: 'sound-name-prefix' does not match any of the regexes:
'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml
Documentation/devicetree/bindings/sound/nxp,tfa989x.example.dt.yaml:
audio-codec@36: 'sound-name-prefix' does not match any of the regexes:
'pinctrl-[0-9]+'
From schema: Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml
Fixes: 82d3ec1d89fa ("ASoC: Use schema reference for sound-name-prefix")
Reported-by: Rob Herring <robh+dt@kernel.org>
Suggested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1632238860-16947-1-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/sound/simple-audio-mux.yaml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml index 68e5ad2a2acc..7667471be1e4 100644 --- a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml +++ b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml @@ -24,6 +24,8 @@ properties: '#sound-dai-cells': const: 0 + sound-name-prefix: true + vddd-supply: description: regulator phandle for the VDDD power supply. diff --git a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml index c597d9dfb001..b5fc35ee9b65 100644 --- a/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml +++ b/Documentation/devicetree/bindings/sound/simple-audio-mux.yaml @@ -24,6 +24,8 @@ properties: description: | GPIOs used to select the input line. + sound-name-prefix: true + required: - compatible - mux-gpios |