[PATCH v2 1/6] ASoC: dt-bindings: samsung,aries-wm8994: require sound-dai property

Krzysztof Kozlowski
2022-01-29T12:24:05Z

The cpu and codec nodes must provide sound-dai property.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
.../devicetree/bindings/sound/samsung,aries-wm8994.yaml | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml b/Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml
index 4ffa275b3c49..97f83eeaf091 100644
--- a/Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml
+++ b/Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml
@@ -30,6 +30,8 @@ properties:
description: |
phandles to the I2S controller and bluetooth codec,
in that order
+ required:
+ - sound-dai

codec:
type: object
@@ -37,6 +39,8 @@ properties:
sound-dai:
maxItems: 1
description: phandle to the WM8994 CODEC
+ required:
+ - sound-dai

samsung,audio-routing:
$ref: /schemas/types.yaml#/definitions/non-unique-string-array
--
2.32.0