From e8c213ca026d3cadbc306885ad1b37efab02c218 Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 19 Jul 2023 14:47:51 +0200 Subject: [PATCH] ASoC: dt-bindings: nau8822: Add #sound-dai-cells Add #sound-dai-cells property and reference dai-common.yaml schema, this is required since NAU8822 can be used as a platform DAI link. Signed-off-by: Francesco Dolcini Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/20230719124752.248898-2-francesco@dolcini.it Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml index 6510540..edc8cc7 100644 --- a/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml +++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml @@ -21,6 +21,9 @@ properties: reg: maxItems: 1 + "#sound-dai-cells": + const: 0 + nuvoton,spk-btl: description: If set, configure the two loudspeaker outputs as a Bridge Tied Load output @@ -31,6 +34,9 @@ required: - compatible - reg +allOf: + - $ref: dai-common.yaml# + additionalProperties: false examples: -- 2.7.4