Re: [PATCH 10/12] ASoC: rsnd: add missing DT example for Simple Card

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 02:59:09AM +, Kuninori Morimoto wrote:
> 
> From: Kuninori Morimoto 
> 
> Signed-off-by: Kuninori Morimoto 
> ---
>  .../devicetree/bindings/sound/renesas,rsnd.txt | 40 
> ++
>  1 file changed, 40 insertions(+)

Acked-by: Rob Herring 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 10/12] ASoC: rsnd: add missing DT example for Simple Card

2015-12-16 Thread Kuninori Morimoto

From: Kuninori Morimoto 

Signed-off-by: Kuninori Morimoto 
---
 .../devicetree/bindings/sound/renesas,rsnd.txt | 40 ++
 1 file changed, 40 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt 
b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
index 59cebfb..bb9f33405 100644
--- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
+++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
@@ -249,3 +249,43 @@ rcar_sound: sound@ec50 {
};
};
 };
+
+Example: simple sound card
+
+   rsnd_ak4643: 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>;
+   };
+
+   sndcodec: simple-audio-card,codec {
+   sound-dai = <&ak4643>;
+   clocks = <&audio_clock>;
+   };
+   };
+
+&rcar_sound {
+   pinctrl-0 = <&sound_pins &sound_clk_pins>;
+   pinctrl-names = "default";
+
+   /* Single DAI */
+   #sound-dai-cells = <0>;
+
+   status = "okay";
+
+   rcar_sound,dai {
+   dai0 {
+   playback = <&ssi0 &src2 &dvc0>;
+   capture  = <&ssi1 &src3 &dvc1>;
+   };
+   };
+};
+
+&ssi1 {
+   shared-pin;
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html