1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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>
13 The QMC audio is an ASoC component which uses QMC (QUICC Multichannel
14 Controller) channels to transfer the audio data.
15 It provides as many DAI as the number of QMC channel used.
18 - $ref: dai-common.yaml#
32 '^dai@([0-9]|[1-5][0-9]|6[0-3])$':
34 A DAI managed by this controller
36 additionalProperties: false
46 $ref: /schemas/types.yaml#/definitions/phandle-array
49 - description: phandle to QMC node
50 - description: Channel number
52 Should be a phandle/number pair. The phandle to QMC node and the QMC
53 channel to use for this DAI.
65 additionalProperties: false
69 audio_controller: audio-controller {
70 compatible = "fsl,qmc-audio";
73 #sound-dai-cells = <1>;
76 fsl,qmc-chan = <&qmc 16>;
80 fsl,qmc-chan = <&qmc 17>;
85 compatible = "simple-audio-card";
88 simple-audio-card,dai-link@0 {
92 sound-dai = <&audio_controller 16>;
95 sound-dai = <&codec1>;
96 dai-tdm-slot-num = <4>;
97 dai-tdm-slot-width = <8>;
99 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>;
100 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>;
103 simple-audio-card,dai-link@1 {
107 sound-dai = <&audio_controller 17>;
110 sound-dai = <&codec2>;
111 dai-tdm-slot-num = <4>;
112 dai-tdm-slot-width = <8>;
114 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>;
115 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;