ASoC: rsnd: add missing DT example for Simple Card with TDM
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 17 Dec 2015 02:59:31 +0000 (02:59 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 18 Dec 2015 12:10:56 +0000 (12:10 +0000)
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/renesas,rsnd.txt

index bb9f334..162e94c 100644 (file)
@@ -289,3 +289,22 @@ Example: simple sound card
 &ssi1 {
        shared-pin;
 };
+
+Example: simple sound card for TDM
+
+       rsnd_tdm: sound {
+               compatible = "simple-audio-card";
+
+               simple-audio-card,format = "left_j";
+               simple-audio-card,bitclock-master = <&sndcodec>;
+               simple-audio-card,frame-master = <&sndcodec>;
+
+               sndcpu: simple-audio-card,cpu {
+                       sound-dai = <&rcar_sound>;
+                       dai-tdm-slot-num = <6>;
+               };
+
+               sndcodec: simple-audio-card,codec {
+                       sound-dai = <&xxx>;
+               };
+       };