ASoC: dt-bindings: rt1015p: Add #sound-dai-cells
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 29 Apr 2022 20:30:38 +0000 (16:30 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 11:46:59 +0000 (12:46 +0100)
The rt1015p 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-3-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/realtek,rt1015p.yaml

index fdb7f29..1d73204 100644 (file)
@@ -25,6 +25,9 @@ properties:
       0 means shut down; 1 means power on.
     maxItems: 1
 
+  "#sound-dai-cells":
+    const: 0
+
 required:
   - compatible