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>
13 - $ref: sound-card-common.yaml#
18 - const: amlogic,gx-sound-card
21 $ref: /schemas/types.yaml#/definitions/phandle-array
22 description: list of auxiliary devices
25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
28 A list off component DAPM widget. Each entry is a pair of strings,
29 the first being the widget type, the second being the widget name
34 additionalProperties: false
37 Container for dai-link level properties and the CODEC sub-nodes.
38 There should be at least one (and probably more) subnode of this type
42 $ref: /schemas/types.yaml#/definitions/string
43 enum: [ i2s, left-j, dsp_a ]
46 $ref: /schemas/types.yaml#/definitions/uint32
48 Multiplication factor between the frame rate and master clock
53 description: phandle of the CPU DAI
58 additionalProperties: false
61 dai-link representing backend links should have at least one subnode.
62 One subnode for each codec of the dai-link. dai-link representing
63 frontend links have no codec, therefore have no subnodes
68 description: phandle of the codec DAI
80 unevaluatedProperties: false
85 compatible = "amlogic,gx-sound-card";
86 model = "GXL-ACME-S905X-FOO";
87 audio-aux-devs = <&>;
88 audio-routing = "I2S ENCODER I2S IN", "I2S FIFO Playback";
91 sound-dai = <&i2s_fifo>;
95 sound-dai = <&i2s_encoder>;
100 sound-dai = <&codec0>;
104 sound-dai = <&codec1>;