summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-08-25 01:58:10 +0000
committerMark Brown <broonie@kernel.org>2016-09-01 21:21:39 +0100
commite5a01eb5fc6f0e77033f005e6b5f7fb8b4ea837f (patch)
tree670324fe1e987bfb37383634214ae42c7b997b03 /Documentation
parent88da724f77f768877283165f25d8b6d9f30b1ef7 (diff)
downloadlinux-e5a01eb5fc6f0e77033f005e6b5f7fb8b4ea837f.tar.bz2
ASoC: simple-scu-card: add 2 CPU 1 Codec example
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/simple-scu-card.txt32
1 files changed, 31 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/simple-scu-card.txt b/Documentation/devicetree/bindings/sound/simple-scu-card.txt
index ecb4a249fe6e..d6fe47ed09af 100644
--- a/Documentation/devicetree/bindings/sound/simple-scu-card.txt
+++ b/Documentation/devicetree/bindings/sound/simple-scu-card.txt
@@ -52,7 +52,7 @@ Optional CPU/CODEC subnodes properties:
clk_disable_unprepare() in dai
shutdown().
-Example
+Example 1. Sampling Rate Covert
sound {
compatible = "simple-scu-audio-card";
@@ -78,3 +78,33 @@ sound {
system-clock-frequency = <11289600>;
};
};
+
+Example 2. 2 CPU 1 Codec
+
+sound {
+ compatible = "renesas,rsrc-card";
+
+ card-name = "rsnd-ak4643";
+ format = "left_j";
+ bitclock-master = <&dpcmcpu>;
+ frame-master = <&dpcmcpu>;
+
+ convert-rate = <48000>; /* see audio_clk_a */
+
+ audio-prefix = "ak4642";
+ audio-routing = "ak4642 Playback", "DAI0 Playback",
+ "ak4642 Playback", "DAI1 Playback";
+
+ dpcmcpu: cpu@0 {
+ sound-dai = <&rcar_sound 0>;
+ };
+
+ cpu@1 {
+ sound-dai = <&rcar_sound 1>;
+ };
+
+ codec {
+ sound-dai = <&ak4643>;
+ clocks = <&audio_clock>;
+ };
+};