1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic GX sound card
10 - Jerome Brunet <jbrunet@baylibre.com>
15 - const: amlogic,gx-sound-card
18 $ref: /schemas/types.yaml#/definitions/phandle-array
19 description: list of auxiliary devices
22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
25 A list of the connections between audio components. Each entry is a
26 pair of strings, the first being the connection's sink, the second
27 being the connection's source.
30 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
33 A list off component DAPM widget. Each entry is a pair of strings,
34 the first being the widget type, the second being the widget name
37 $ref: /schemas/types.yaml#/definitions/string
38 description: User specified audio sound card name
43 additionalProperties: false
46 Container for dai-link level properties and the CODEC sub-nodes.
47 There should be at least one (and probably more) subnode of this type
51 $ref: /schemas/types.yaml#/definitions/string
52 enum: [ i2s, left-j, dsp_a ]
55 $ref: /schemas/types.yaml#/definitions/uint32
57 Multiplication factor between the frame rate and master clock
62 description: phandle of the CPU DAI
67 additionalProperties: false
70 dai-link representing backend links should have at least one subnode.
71 One subnode for each codec of the dai-link. dai-link representing
72 frontend links have no codec, therefore have no subnodes
77 description: phandle of the codec DAI
89 additionalProperties: false
94 compatible = "amlogic,gx-sound-card";
95 model = "GXL-ACME-S905X-FOO";
96 audio-aux-devs = <&>;
97 audio-routing = "I2S ENCODER I2S IN", "I2S FIFO Playback";
100 sound-dai = <&i2s_fifo>;
104 sound-dai = <&i2s_encoder>;
109 sound-dai = <&codec0>;
113 sound-dai = <&codec1>;