Commit 013148fe authored by Sameer Pujar's avatar Sameer Pujar Committed by Mark Brown

ASoC: Fix warning related to 'sound-name-prefix' binding

commit 82d3ec1d ("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: 82d3ec1d ("ASoC: Use schema reference for sound-name-prefix")
Reported-by: default avatarRob Herring <robh+dt@kernel.org>
Suggested-by: default avatarRob Herring <robh+dt@kernel.org>
Signed-off-by: default avatarSameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1632238860-16947-1-git-send-email-spujar@nvidia.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent b5377a76
......@@ -24,6 +24,8 @@ properties:
'#sound-dai-cells':
const: 0
sound-name-prefix: true
vddd-supply:
description: regulator phandle for the VDDD power supply.
......
......@@ -24,6 +24,8 @@ properties:
description: |
GPIOs used to select the input line.
sound-name-prefix: true
required:
- compatible
- mux-gpios
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment