ASoC: dt-bindings: samsung,aries-wm8994: require sound-dai property
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 29 Jan 2022 12:23:52 +0000 (13:23 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 10 Feb 2022 13:20:56 +0000 (13:20 +0000)
The cpu and codec nodes must provide sound-dai property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220129122357.45545-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml

index 5fff586..afdacff 100644 (file)
@@ -31,6 +31,8 @@ properties:
         description: |
           phandles to the I2S controller and bluetooth codec,
           in that order
+    required:
+      - sound-dai
 
   codec:
     type: object
@@ -38,6 +40,8 @@ properties:
       sound-dai:
         $ref: /schemas/types.yaml#/definitions/phandle-array
         description: phandle to the WM8994 CODEC
+    required:
+      - sound-dai
 
   samsung,audio-routing:
     $ref: /schemas/types.yaml#/definitions/non-unique-string-array