ASoC: dt-bindings: rt5682: Add #sound-dai-cells
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 29 Apr 2022 20:30:39 +0000 (16:30 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 11:47:00 +0000 (12:47 +0100)
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>
Link: https://lore.kernel.org/r/20220429203039.2207848-4-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rt5682.txt

index cd8c53d..c5f2b8f 100644 (file)
@@ -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