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
27 A list off component DAPM widget. Each entry is a pair of strings,
28 the first being the widget type, the second being the widget name
34 Base PLL clocks of audio susbsytem, used to configure base clock
35 frequencies for different audio use-cases.
40 additionalProperties: false
43 Container for dai-link level properties and the CODEC sub-nodes.
44 There should be at least one (and probably more) subnode of this type
48 $ref: /schemas/types.yaml#/definitions/string
49 enum: [ i2s, left-j, dsp_a ]
52 $ref: /schemas/types.yaml#/definitions/uint32
54 Multiplication factor between the frame rate and master clock
59 description: phandle of the CPU DAI
64 additionalProperties: false
67 dai-link representing backend links should have at least one subnode.
68 One subnode for each codec of the dai-link. dai-link representing
69 frontend links have no codec, therefore have no subnodes
74 description: phandle of the codec DAI
86 unevaluatedProperties: false
91 compatible = "amlogic,gx-sound-card";
92 model = "GXL-ACME-S905X-FOO";
93 audio-aux-devs = <&>;
94 audio-routing = "I2S ENCODER I2S IN", "I2S FIFO Playback";
97 sound-dai = <&i2s_fifo>;
101 sound-dai = <&i2s_encoder>;
106 sound-dai = <&codec0>;
110 sound-dai = <&codec1>;