All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding
@ 2021-09-21 15:41 ` Sameer Pujar
  0 siblings, 0 replies; 4+ messages in thread
From: Sameer Pujar @ 2021-09-21 15:41 UTC (permalink / raw)
  To: broonie, lgirdwood, robh+dt, stephan, jbrunet
  Cc: alsa-devel, devicetree, linux-kernel, Sameer Pujar

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>
---
 Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml      | 2 ++
 Documentation/devicetree/bindings/sound/simple-audio-mux.yaml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml
index 68e5ad2..7667471 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 c597d9d..b5fc35e 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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding
@ 2021-09-21 15:41 ` Sameer Pujar
  0 siblings, 0 replies; 4+ messages in thread
From: Sameer Pujar @ 2021-09-21 15:41 UTC (permalink / raw)
  To: broonie, lgirdwood, robh+dt, stephan, jbrunet
  Cc: Sameer Pujar, devicetree, alsa-devel, linux-kernel

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>
---
 Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml      | 2 ++
 Documentation/devicetree/bindings/sound/simple-audio-mux.yaml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml b/Documentation/devicetree/bindings/sound/nxp,tfa989x.yaml
index 68e5ad2..7667471 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 c597d9d..b5fc35e 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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding
  2021-09-21 15:41 ` Sameer Pujar
@ 2021-09-21 17:26   ` Mark Brown
  -1 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2021-09-21 17:26 UTC (permalink / raw)
  To: lgirdwood, jbrunet, robh+dt, stephan, Sameer Pujar
  Cc: Mark Brown, devicetree, alsa-devel, linux-kernel

On Tue, 21 Sep 2021 21:11:00 +0530, Sameer Pujar wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Fix warning related to 'sound-name-prefix' binding
      commit: 013148fe7f5eb420a497e35d9aa8020cdfe92eb6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding
@ 2021-09-21 17:26   ` Mark Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2021-09-21 17:26 UTC (permalink / raw)
  To: lgirdwood, jbrunet, robh+dt, stephan, Sameer Pujar
  Cc: devicetree, alsa-devel, Mark Brown, linux-kernel

On Tue, 21 Sep 2021 21:11:00 +0530, Sameer Pujar wrote:
> 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
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Fix warning related to 'sound-name-prefix' binding
      commit: 013148fe7f5eb420a497e35d9aa8020cdfe92eb6

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-21 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 15:41 [PATCH] ASoC: Fix warning related to 'sound-name-prefix' binding Sameer Pujar
2021-09-21 15:41 ` Sameer Pujar
2021-09-21 17:26 ` Mark Brown
2021-09-21 17:26   ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.