aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-06-06 02:37:07 +0000
committerMark Brown <broonie@kernel.org>2017-06-06 17:55:42 +0100
commit08862251476f899c4c4528e922df5854076b8661 (patch)
tree55acee2870c17816fea58061d8c7a990a1fe8b6f /Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
parentASoC: simple-scu-card: tidyup "Sampling Rate Conversion" (diff)
downloadlinux-dev-08862251476f899c4c4528e922df5854076b8661.tar.xz
linux-dev-08862251476f899c4c4528e922df5854076b8661.zip
ASoC: audio-graph-scu-card: add missing MIX binding example
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt47
1 files changed, 46 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt b/Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
index b2dd23fd2135..b63c5594bbb3 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
+++ b/Documentation/devicetree/bindings/sound/audio-graph-scu-card.txt
@@ -35,7 +35,7 @@ Required properties:
- compatible : "audio-graph-scu-card";
- dais : list of CPU DAI port{s}
-Example
+Example 1. Sampling Rate Conversion
sound_card {
compatible = "audio-graph-scu-card";
@@ -70,3 +70,48 @@ Example
};
};
};
+
+Example 2. 2 CPU 1 Codec (Mixing)
+
+ sound_card {
+ compatible = "audio-graph-scu-card";
+
+ label = "sound-card";
+ prefix = "codec";
+ routing = "codec Playback", "DAI0 Playback",
+ "codec Playback", "DAI1 Playback";
+ convert-rate = <48000>;
+
+ dais = <&cpu_port0
+ &cpu_port1>;
+ };
+
+ audio-codec {
+ ...
+
+ port {
+ codec_endpoint: endpoint {
+ remote-endpoint = <&cpu_endpoint0>;
+ };
+ };
+ };
+
+ dai-controller {
+ ...
+ ports {
+ cpu_port0: port {
+ cpu_endpoint0: endpoint {
+ remote-endpoint = <&codec_endpoint>;
+
+ dai-format = "left_j";
+ ...
+ };
+ };
+ cpu_port1: port {
+ cpu_endpoint1: endpoint {
+ dai-format = "left_j";
+ ...
+ };
+ };
+ };
+ };