diff mbox series

[v1,1/2] ASoC: dt-bindings: nau8822: Add #sound-dai-cells

Message ID 20230719124752.248898-2-francesco@dolcini.it (mailing list archive)
State Accepted
Commit e8c213ca026d3cadbc306885ad1b37efab02c218
Headers show
Series ASoC: dt-bindings: nau8822: minor updates | expand

Commit Message

Francesco Dolcini July 19, 2023, 12:47 p.m. UTC
From: Francesco Dolcini <francesco.dolcini@toradex.com>

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 <francesco.dolcini@toradex.com>
---
 .../devicetree/bindings/sound/nuvoton,nau8822.yaml          | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) July 19, 2023, 10:40 p.m. UTC | #1
On Wed, 19 Jul 2023 14:47:51 +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
> 
> 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 <francesco.dolcini@toradex.com>
> ---
>  .../devicetree/bindings/sound/nuvoton,nau8822.yaml          | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml
index 65105402a53d..edc8cc756980 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: