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 bb9f33405d2946573e7ea1e57e889d1b04b5b2a1..162e94c8305c06cc523bea39b2b584ecbac8b4a2 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>;
+               };
+       };