Lines Matching +full:codec +full:- +full:2

3 Audio Graph Card specifies audio DAI connections of SoC <-> codec.
8 see ${LINUX}/Documentation/devicetree/bindings/sound/simple-card.yaml
10 Below are same as Simple-Card.
12 - label
13 - widgets
14 - routing
15 - dai-format
16 - frame-master
17 - bitclock-master
18 - bitclock-inversion
19 - frame-inversion
20 - mclk-fs
21 - hp-det-gpio
22 - mic-det-gpio
23 - dai-tdm-slot-num
24 - dai-tdm-slot-width
25 - clocks / system-clock-frequency
29 - compatible : "audio-graph-card";
30 - dais : list of CPU DAI port{s}
33 - pa-gpios: GPIO used to control external amplifier.
35 -----------------------
37 -----------------------
40 compatible = "audio-graph-card";
45 dai-controller {
49 remote-endpoint = <&codec_endpoint>;
51 dai-format = "left_j";
57 audio-codec {
61 remote-endpoint = <&cpu_endpoint>;
66 -----------------------
68 -----------------------
70 sound-card {
71 compatible = "audio-graph-card";
73 label = "sound-card";
80 audio-codec@0 {
84 remote-endpoint = <&cpu_endpoint0>;
89 audio-codec@1 {
93 remote-endpoint = <&cpu_endpoint1>;
98 audio-codec@2 {
102 remote-endpoint = <&cpu_endpoint2>;
107 dai-controller {
112 remote-endpoint = <&codec0_endpoint>;
114 dai-format = "left_j";
120 remote-endpoint = <&codec1_endpoint>;
122 dai-format = "i2s";
126 cpu_port2: port@2 {
128 remote-endpoint = <&codec2_endpoint>;
130 dai-format = "i2s";
138 -----------------------
140 -----------------------
143 compatible = "audio-graph-card";
145 label = "sound-card";
146 prefix = "codec";
147 routing = "codec Playback", "DAI0 Playback",
148 "DAI0 Capture", "codec Capture";
149 convert-rate = <48000>;
154 audio-codec {
158 remote-endpoint = <&cpu_endpoint>;
163 dai-controller {
167 remote-endpoint = <&codec_endpoint>;
169 dai-format = "left_j";
175 -----------------------
176 Example: 2 CPU 1 Codec (Mixing)
177 -----------------------
180 compatible = "audio-graph-card";
182 label = "sound-card";
183 routing = "codec Playback", "DAI0 Playback",
184 "codec Playback", "DAI1 Playback",
185 "DAI0 Capture", "codec Capture";
190 audio-codec {
193 audio-graph-card,prefix = "codec";
194 audio-graph-card,convert-rate = <48000>;
198 remote-endpoint = <&cpu_endpoint0>;
201 remote-endpoint = <&cpu_endpoint1>;
206 dai-controller {
210 remote-endpoint = <&codec_endpoint0>;
212 dai-format = "left_j";
216 remote-endpoint = <&codec_endpoint1>;
218 dai-format = "left_j";
224 -----------------------
226 -----------------------
228 CPU0 ------ ak4613
229 CPU1 ------ HDMI
230 CPU2 ------ PCM3168A-p /* DPCM 1ch/2ch */
231 CPU3 --/ /* DPCM 3ch/4ch */
232 CPU4 --/ /* DPCM 5ch/6ch */
233 CPU5 --/ /* DPCM 7ch/8ch */
234 CPU6 ------ PCM3168A-c
237 compatible = "audio-graph-card";
239 label = "sound-card";
253 ak4613: codec@10 {
257 remote-endpoint = <&rsnd_endpoint0>;
262 pcm3168a: audio-codec@44 {
264 audio-graph-card,prefix = "pcm3168a";
265 audio-graph-card,convert-channels = <8>; /* TDM Split */
270 remote-endpoint = <&rsnd_endpoint2>;
273 pcm3168a_endpoint_p2: endpoint@2 {
274 remote-endpoint = <&rsnd_endpoint3>;
278 remote-endpoint = <&rsnd_endpoint4>;
282 remote-endpoint = <&rsnd_endpoint5>;
289 remote-endpoint = <&rsnd_endpoint6>;
300 remote-endpoint = <&ak4613_endpoint>;
306 remote-endpoint = <&dw_hdmi0_snd_in>;
310 snd_port2: port@2 {
311 #address-cells = <1>;
312 #size-cells = <0>;
313 rsnd_endpoint2: endpoint@2 {
314 remote-endpoint = <&pcm3168a_endpoint_p1>;
318 remote-endpoint = <&pcm3168a_endpoint_p2>;
322 remote-endpoint = <&pcm3168a_endpoint_p3>;
326 remote-endpoint = <&pcm3168a_endpoint_p4>;
332 remote-endpoint = <&pcm3168a_endpoint_c>;