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
45 Container for dai-link level properties and the CODEC sub-nodes.
46 There should be at least one (and probably more) subnode of this type
50 $ref: /schemas/types.yaml#/definitions/string
51 enum: [ i2s, left-j, dsp_a ]
54 $ref: /schemas/types.yaml#/definitions/uint32
56 Multiplication factor between the frame rate and master clock
60 $ref: /schemas/types.yaml#/definitions/phandle
61 description: phandle of the CPU DAI
68 dai-link representing backend links should have at least one subnode.
69 One subnode for each codec of the dai-link. dai-link representing
70 frontend links have no codec, therefore have no subnodes
74 $ref: /schemas/types.yaml#/definitions/phandle
75 description: phandle of the codec DAI
87 additionalProperties: false
92 compatible = "amlogic,gx-sound-card";
93 model = "GXL-ACME-S905X-FOO";
94 audio-aux-devs = <&>;
95 audio-routing = "I2S ENCODER I2S IN", "I2S FIFO Playback";
98 sound-dai = <&i2s_fifo>;
102 sound-dai = <&i2s_encoder>;
107 sound-dai = <&codec0>;
111 sound-dai = <&codec1>;