Lines Matching +full:dai +full:- +full:format
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,qmc-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Herve Codina <herve.codina@bootlin.com>
15 It provides several DAIs. For each DAI, the DAI is working in interleaved mode
16 if only one QMC channel is used by the DAI or it is working in non-interleaved
17 mode if several QMC channels are used by the DAI.
20 - $ref: dai-common.yaml#
24 const: fsl,qmc-audio
26 '#address-cells':
28 '#size-cells':
30 '#sound-dai-cells':
34 '^dai@([0-9]|[1-5][0-9]|6[0-3])$':
36 A DAI managed by this controller
45 The DAI number
47 fsl,qmc-chan:
48 $ref: /schemas/types.yaml#/definitions/phandle-array
51 - description: phandle to QMC node
52 - description: Channel number
56 and the QMC channel pair to use for this DAI.
57 If only one phandle/number pair is provided, this DAI works in
58 interleaved mode, i.e. audio channels for this DAI are interleaved in
59 the QMC channel. If more than one pair is provided, this DAI works
60 in non-interleave mode. In that case the first audio channel uses the
65 - reg
66 - fsl,qmc-chan
69 - compatible
70 - '#address-cells'
71 - '#size-cells'
72 - '#sound-dai-cells'
77 - |
78 audio_controller: audio-controller {
79 compatible = "fsl,qmc-audio";
80 #address-cells = <1>;
81 #size-cells = <0>;
82 #sound-dai-cells = <1>;
83 dai@16 {
85 fsl,qmc-chan = <&qmc 16>;
87 dai@17 {
89 fsl,qmc-chan = <&qmc 17>;
91 dai@18 {
93 /* Non-interleaved mode */
94 fsl,qmc-chan = <&qmc 18>, <&qmc 19>;
99 compatible = "simple-audio-card";
100 #address-cells = <1>;
101 #size-cells = <0>;
102 simple-audio-card,dai-link@0 {
104 format = "dsp_b";
106 sound-dai = <&audio_controller 16>;
109 sound-dai = <&codec1>;
110 dai-tdm-slot-num = <4>;
111 dai-tdm-slot-width = <8>;
113 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>;
114 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>;
117 simple-audio-card,dai-link@1 {
119 format = "dsp_b";
121 sound-dai = <&audio_controller 17>;
124 sound-dai = <&codec2>;
125 dai-tdm-slot-num = <4>;
126 dai-tdm-slot-width = <8>;
128 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>;
129 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;
132 simple-audio-card,dai-link@2 {
134 format = "dsp_b";
136 sound-dai = <&audio_controller 18>;
139 sound-dai = <&codec3>;
140 dai-tdm-slot-num = <2>;
141 dai-tdm-slot-width = <8>;
143 dai-tdm-slot-tx-mask = <0 0 0 0 0 0 0 0 0 1 1>;
144 dai-tdm-slot-rx-mask = <0 0 0 0 0 0 0 0 0 1 1>;