Lines Matching +full:remote +full:- +full:endpoint
1 // SPDX-License-Identifier: GPL-2.0
3 * audio-graph-card2-custom-sample.dtsi
8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
10 * which is using audio-graph-card2.
15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi"
23 * "compatible" on each test-component. see below
26 * - compatible = "test-cpu";
27 * + compatible = "test-cpu-verbose";
32 * - compatible = "test-codec";
33 * + compatible = "test-codec-verbose";
43 * cpu0 <-@-----------------> codec0
45 * [Multi-CPU/Codec]
46 * +-+ +-+
47 * cpu1 <--| |<-@--------->| |-> codec1
48 * cpu2 <--| | | |-> codec2
49 * +-+ +-+
54 * cpu3 <-@--* *--@-> codec3
55 * cpu4 <-@--* *
58 * [DPCM-Multi]
60 * --NOTE--
61 * Multi-FE is not supported by ASoC.
64 * **** +-+
65 * cpu5 <-@--* *--@-> | | -> codec4
66 * cpu6 <-@--* * | | -> codec5
67 * **** +-+
70 * +-@-> codec6
72 * +---> codec7
74 * [Codec2Codec-Multi]
76 * --NOTE--
79 * +-+
80 * +-@->| |-> codec8
81 * | | |-> codec9
82 * | +-+
83 * | +-+
84 * +--->| |-> codec10
85 * | |-> codec11
86 * +-+
88 audio-graph-card2-custom-sample {
90 * You can use audio-graph-card2 directly by using
92 * compatible = "audio-graph-card2";
94 compatible = "audio-graph-card2-custom-sample";
102 /* for [DPCM-Multi] */
115 /* for [Codec2Codec-Multi] */
129 * [Multi-CPU/Codec]: cpu side only
141 * [DPCM-Multi]: both FE / BE
153 * [Codec2Codec-Multi]: cpu side only
161 /* [Multi-CPU] */
162 mcpu0: port@0 { mcpu0_ep: endpoint { remote-endpoint = <&mcodec0_ep>; }; };
163 port@1 { mcpu1_ep: endpoint { remote-endpoint = <&cpu1_ep>; }; };
164 port@2 { mcpu2_ep: endpoint { remote-endpoint = <&cpu2_ep>; }; };
167 /* [Multi-Codec] */
169 port@0 { mcodec0_ep: endpoint { remote-endpoint = <&mcpu0_ep>; }; };
170 port@1 { mcodec1_ep: endpoint { remote-endpoint = <&codec1_ep>; }; };
171 port@2 { mcodec2_ep: endpoint { remote-endpoint = <&codec2_ep>; }; };
174 /* [DPCM-Multi]::BE */
176 port@0 { mbe_ep: endpoint { remote-endpoint = <&be10_ep>; }; };
177 port@1 { mbe1_ep: endpoint { remote-endpoint = <&codec4_ep>; }; };
178 port@2 { mbe2_ep: endpoint { remote-endpoint = <&codec5_ep>; }; };
181 /* [Codec2Codec-Multi]::CPU */
183 port@0 { mc2c0_ep: endpoint { remote-endpoint = <&c2cmf_ep>; }; };
184 port@1 { mc2c00_ep: endpoint { remote-endpoint = <&codec8_ep>; }; };
185 port@2 { mc2c01_ep: endpoint { remote-endpoint = <&codec9_ep>; }; };
188 /* [Codec2Codec-Multi]::Codec */
190 port@0 { mc2c1_ep: endpoint { remote-endpoint = <&c2cmb_ep>; }; };
191 port@1 { mc2c10_ep: endpoint { remote-endpoint = <&codec10_ep>; }; };
192 port@2 { mc2c11_ep: endpoint { remote-endpoint = <&codec11_ep>; }; };
199 fe00: port@0 { fe00_ep: endpoint { remote-endpoint = <&cpu3_ep>; }; };
200 fe01: port@1 { fe01_ep: endpoint { remote-endpoint = <&cpu4_ep>; }; };
202 /* [DPCM-Multi]::FE */
203 fe10: port@2 { fe10_ep: endpoint { remote-endpoint = <&cpu5_ep>; }; };
204 fe11: port@3 { fe11_ep: endpoint { remote-endpoint = <&cpu6_ep>; }; };
209 be0: port@0 { be00_ep: endpoint { remote-endpoint = <&codec3_ep>; }; };
211 /* [DPCM-Multi]::BE */
212 be1: port@1 { be10_ep: endpoint { remote-endpoint = <&mbe_ep>; }; };
220 c2c: port@0 { c2cf_ep: endpoint { remote-endpoint = <&codec6_ep>; }; };
221 port@1 { c2cb_ep: endpoint { remote-endpoint = <&codec7_ep>; }; };
224 /* [Codec2Codec-Multi] */
228 c2c_m: port@0 { c2cmf_ep: endpoint { remote-endpoint = <&mc2c0_ep>; }; };
229 port@1 { c2cmb_ep: endpoint { remote-endpoint = <&mc2c1_ep>; }; };
237 * if you want. see test-compatible for more detail.
240 * - compatible = "test-cpu";
241 * + compatible = "test-cpu-verbose";
243 compatible = "test-cpu";
245 bitclock-master;
246 frame-master;
248 cpu0: port@0 { cpu0_ep: endpoint { remote-endpoint = <&codec0_ep>; }; };
250 /* [Multi-CPU] */
251 port@1 { cpu1_ep: endpoint { remote-endpoint = <&mcpu1_ep>; }; };
252 port@2 { cpu2_ep: endpoint { remote-endpoint = <&mcpu2_ep>; }; };
255 port@3 { cpu3_ep: endpoint { remote-endpoint = <&fe00_ep>; }; };
256 port@4 { cpu4_ep: endpoint { remote-endpoint = <&fe01_ep>; }; };
258 /* [DPCM-Multi]::FE */
259 port@5 { cpu5_ep: endpoint { remote-endpoint = <&fe10_ep>; }; };
260 port@6 { cpu6_ep: endpoint { remote-endpoint = <&fe11_ep>; }; };
267 * if you want. see test-compatible for more detail.
270 * - compatible = "test-codec";
271 * + compatible = "test-codec-verbose";
273 compatible = "test-codec";
277 * see audio-graph-card2::routing
282 port@0 { codec0_ep: endpoint { remote-endpoint = <&cpu0_ep>; }; };
284 /* [Multi-Codec] */
285 port@1 { codec1_ep: endpoint { remote-endpoint = <&mcodec1_ep>; }; };
286 port@2 { codec2_ep: endpoint { remote-endpoint = <&mcodec2_ep>; }; };
289 port@3 { codec3_ep: endpoint { remote-endpoint = <&be00_ep>; }; };
291 /* [DPCM-Multi]::BE */
292 port@4 { codec4_ep: endpoint { remote-endpoint = <&mbe1_ep>; }; };
293 port@5 { codec5_ep: endpoint { remote-endpoint = <&mbe2_ep>; }; };
296 port@6 { bitclock-master;
297 frame-master;
298 codec6_ep: endpoint { remote-endpoint = <&c2cf_ep>; }; };
299 port@7 { codec7_ep: endpoint { remote-endpoint = <&c2cb_ep>; }; };
301 /* [Codec2Codec-Multi] */
302 port@8 { bitclock-master;
303 frame-master;
304 codec8_ep: endpoint { remote-endpoint = <&mc2c00_ep>; }; };
305 port@9 { codec9_ep: endpoint { remote-endpoint = <&mc2c01_ep>; }; };
306 port@10 { codec10_ep: endpoint { remote-endpoint = <&mc2c10_ep>; }; };
307 port@11 { codec11_ep: endpoint { remote-endpoint = <&mc2c11_ep>; }; };