Skip to content

Commit

Permalink
ASoC: meson: g12a: add missing sound-name-prefix property
Browse files Browse the repository at this point in the history
This is used in meson-sm1 and meson-g12 .dtsi. Add the property to
the binding.
This fixes the dtschema warning:
audio-controller@740: 'sound-name-prefix' does not match any of the
regexes: 'pinctrl-[0-9]+'

Signed-off-by: Alexander Stein <alexander.stein@mailbox.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211218143423.18768-3-alexander.stein@mailbox.org
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Alexander Stein authored and Mark Brown committed Dec 22, 2021
1 parent 847cbea commit 1f65320
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ title: Amlogic G12a Internal DAC Control Glue
maintainers:
- Jerome Brunet <jbrunet@baylibre.com>

allOf:
- $ref: name-prefix.yaml#

properties:
$nodename:
pattern: "^audio-controller@.*"
Expand All @@ -31,6 +34,8 @@ properties:
resets:
maxItems: 1

sound-name-prefix: true

required:
- "#sound-dai-cells"
- compatible
Expand Down

0 comments on commit 1f65320

Please sign in to comment.