diff mbox series

[3/3] ASoC: dt-bindings: rt5682: Add #sound-dai-cells

Message ID 20220429203039.2207848-4-nfraprado@collabora.com (mailing list archive)
State Accepted
Commit 0adccaf1eac91a2c2ee6a54a6de042affe9860f4
Headers show
Series Add missing dt-binding properties for audio components on mt8192-asurada | expand

Commit Message

Nícolas F. R. A. Prado April 29, 2022, 8:30 p.m. UTC
The rt5682 codec can be pointed to through a sound-dai property to be
used as part of a machine sound driver. dtc expects #sound-dai-cells to
be defined in the codec's node in those cases, so add it in the
dt-binding and set it to 0.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---

 Documentation/devicetree/bindings/sound/rt5682.txt | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring (Arm) May 4, 2022, 8:39 p.m. UTC | #1
On Fri, 29 Apr 2022 16:30:39 -0400, Nícolas F. R. A. Prado wrote:
> The rt5682 codec can be pointed to through a sound-dai property to be
> used as part of a machine sound driver. dtc expects #sound-dai-cells to
> be defined in the codec's node in those cases, so add it in the
> dt-binding and set it to 0.
> 
> Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
> ---
> 
>  Documentation/devicetree/bindings/sound/rt5682.txt | 2 ++
>  1 file changed, 2 insertions(+)
> 

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

Patch

diff --git a/Documentation/devicetree/bindings/sound/rt5682.txt b/Documentation/devicetree/bindings/sound/rt5682.txt
index cd8c53d8497e..c5f2b8febcee 100644
--- a/Documentation/devicetree/bindings/sound/rt5682.txt
+++ b/Documentation/devicetree/bindings/sound/rt5682.txt
@@ -46,6 +46,8 @@  Optional properties:
 
 - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out.
 
+- #sound-dai-cells: Should be set to '<0>'.
+
 Pins on the device (for linking into audio routes) for RT5682:
 
   * DMIC L1