1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX audio sound card.
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
18 $ref: /schemas/types.yaml#/definitions/string
19 description: User specified audio sound card name
22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
24 A list of the connections between audio components. Each entry is a
25 pair of strings, the first being the connection's sink, the second
26 being the connection's source. Valid names could be power supplies,
27 MicBias of codec and the jacks on the board.
32 Each subnode represents a dai link. Subnodes of each dai links would be
39 description: Indicates dai-link name and PCM stream name.
40 $ref: /schemas/types.yaml#/definitions/string
44 description: audio format.
51 description: see tdm-slot.txt.
52 $ref: /schemas/types.yaml#/definitions/uint32
55 description: see tdm-slot.txt.
56 $ref: /schemas/types.yaml#/definitions/uint32
59 description: Holds subnode which indicates cpu dai.
61 additionalProperties: false
67 description: Holds subnode which indicates codec dai.
69 additionalProperties: false
76 description: Indicates mclk can be equal to bclk, especially for sai interface
77 $ref: /schemas/types.yaml#/definitions/flag
83 additionalProperties: false
89 additionalProperties: false
94 compatible = "fsl,imx-audio-card";
95 model = "ak4458-audio";
97 link-name = "akcodec";
104 sound-dai = <&ak4458_1>, <&ak4458_2>;
108 link-name = "HiFi-ASRC-FE";
111 sound-dai = <&easrc>;
115 link-name = "HiFi-ASRC-BE";
117 dai-tdm-slot-num = <8>;
118 dai-tdm-slot-width = <32>;
124 sound-dai = <&ak4458_1>, <&ak4458_2>;