Lines Matching +full:dai +full:- +full:tdm +full:- +full:slot +full:- +full:width
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 as many DAI as the number of QMC channel used.
18 - $ref: dai-common.yaml#
22 const: fsl,qmc-audio
24 '#address-cells':
26 '#size-cells':
28 '#sound-dai-cells':
32 '^dai@([0-9]|[1-5][0-9]|6[0-3])$':
34 A DAI managed by this controller
42 The DAI number
44 fsl,qmc-chan:
45 $ref: /schemas/types.yaml#/definitions/phandle-array
47 - items:
48 - description: phandle to QMC node
49 - description: Channel number
52 channel to use for this DAI.
55 - reg
56 - fsl,qmc-chan
59 - compatible
60 - '#address-cells'
61 - '#size-cells'
62 - '#sound-dai-cells'
67 - |
68 audio_controller: audio-controller {
69 compatible = "fsl,qmc-audio";
70 #address-cells = <1>;
71 #size-cells = <0>;
72 #sound-dai-cells = <1>;
73 dai@16 {
75 fsl,qmc-chan = <&qmc 16>;
77 dai@17 {
79 fsl,qmc-chan = <&qmc 17>;
84 compatible = "simple-audio-card";
85 #address-cells = <1>;
86 #size-cells = <0>;
87 simple-audio-card,dai-link@0 {
91 sound-dai = <&audio_controller 16>;
94 sound-dai = <&codec1>;
95 dai-tdm-slot-num = <4>;
96 dai-tdm-slot-width = <8>;
98 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>;
99 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>;
102 simple-audio-card,dai-link@1 {
106 sound-dai = <&audio_controller 17>;
109 sound-dai = <&codec2>;
110 dai-tdm-slot-num = <4>;
111 dai-tdm-slot-width = <8>;
113 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>;
114 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;