Commit 08862251 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: audio-graph-scu-card: add missing MIX binding example

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 010f21b2
...@@ -35,7 +35,7 @@ Required properties: ...@@ -35,7 +35,7 @@ Required properties:
- compatible : "audio-graph-scu-card"; - compatible : "audio-graph-scu-card";
- dais : list of CPU DAI port{s} - dais : list of CPU DAI port{s}
Example Example 1. Sampling Rate Conversion
sound_card { sound_card {
compatible = "audio-graph-scu-card"; compatible = "audio-graph-scu-card";
...@@ -70,3 +70,48 @@ Example ...@@ -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";
...
};
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment