ASoC: meson: g12a: add missing sound-name-prefix property
authorAlexander Stein <alexander.stein@mailbox.org>
Sat, 18 Dec 2021 14:34:23 +0000 (15:34 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 22 Dec 2021 12:43:00 +0000 (12:43 +0000)
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>
Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml

index 3c3891d17238e58b620f5686f53dcdbf92307480..77469a45bb7a47b6f91cc6c5b278c82eb2a839b3 100644 (file)
@@ -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@.*"
@@ -31,6 +34,8 @@ properties:
   resets:
     maxItems: 1
 
+  sound-name-prefix: true
+
 required:
   - "#sound-dai-cells"
   - compatible