From e8c213ca026d3cadbc306885ad1b37efab02c218 Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 19 Jul 2023 14:47:51 +0200 Subject: 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(+) (limited to 'Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml') 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: -- cgit v1.2.3 From c214131f492083025e33354430d5b420add88b5e Mon Sep 17 00:00:00 2001 From: Francesco Dolcini Date: Wed, 19 Jul 2023 14:47:52 +0200 Subject: ASoC: dt-bindings: nau8822: Add MCLK clock Add nau8822 master clock input. Signed-off-by: Francesco Dolcini Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/20230719124752.248898-3-francesco@dolcini.it Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml') diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml index edc8cc756980..cb8182bbc491 100644 --- a/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml +++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8822.yaml @@ -24,6 +24,12 @@ properties: "#sound-dai-cells": const: 0 + clocks: + maxItems: 1 + + clock-names: + const: mclk + nuvoton,spk-btl: description: If set, configure the two loudspeaker outputs as a Bridge Tied Load output -- cgit v1.2.3