1dc163990STrevor Wu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2dc163990STrevor Wu%YAML 1.2
3dc163990STrevor Wu---
4dc163990STrevor Wu$id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml#
5dc163990STrevor Wu$schema: http://devicetree.org/meta-schemas/core.yaml#
6dc163990STrevor Wu
7dc163990STrevor Wutitle: MediaTek MT8195 ASoC sound card driver
8dc163990STrevor Wu
9dc163990STrevor Wumaintainers:
10dc163990STrevor Wu  - Trevor Wu <trevor.wu@mediatek.com>
11dc163990STrevor Wu
12dc163990STrevor Wudescription:
13dc163990STrevor Wu  This binding describes the MT8195 sound card.
14dc163990STrevor Wu
15dc163990STrevor Wuproperties:
16dc163990STrevor Wu  compatible:
17dc163990STrevor Wu    enum:
18dc163990STrevor Wu      - mediatek,mt8195_mt6359_rt1019_rt5682
19dc163990STrevor Wu      - mediatek,mt8195_mt6359_rt1011_rt5682
20cae34da5STrevor Wu      - mediatek,mt8195_mt6359_max98390_rt5682
21dc163990STrevor Wu
22dc163990STrevor Wu  model:
23dc163990STrevor Wu    $ref: /schemas/types.yaml#/definitions/string
24dc163990STrevor Wu    description: User specified audio sound card name
25dc163990STrevor Wu
26dc163990STrevor Wu  mediatek,platform:
27*d9e909e2SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
28dc163990STrevor Wu    description: The phandle of MT8195 ASoC platform.
29dc163990STrevor Wu
30dc163990STrevor Wu  mediatek,dptx-codec:
31*d9e909e2SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
32dc163990STrevor Wu    description: The phandle of MT8195 Display Port Tx codec node.
33dc163990STrevor Wu
34dc163990STrevor Wu  mediatek,hdmi-codec:
35*d9e909e2SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
36dc163990STrevor Wu    description: The phandle of MT8195 HDMI codec node.
37dc163990STrevor Wu
38dc163990STrevor Wu  mediatek,adsp:
39*d9e909e2SRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
40dc163990STrevor Wu    description: The phandle of MT8195 ADSP platform.
41dc163990STrevor Wu
42dc163990STrevor Wu  mediatek,dai-link:
43dc163990STrevor Wu    $ref: /schemas/types.yaml#/definitions/string-array
44dc163990STrevor Wu    description:
45dc163990STrevor Wu      A list of the desired dai-links in the sound card. Each entry is a
46dc163990STrevor Wu      name defined in the machine driver.
47dc163990STrevor Wu
48dc163990STrevor WuadditionalProperties: false
49dc163990STrevor Wu
50dc163990STrevor Wurequired:
51dc163990STrevor Wu  - compatible
52dc163990STrevor Wu  - mediatek,platform
53dc163990STrevor Wu
54dc163990STrevor Wuexamples:
55dc163990STrevor Wu  - |
56dc163990STrevor Wu
57dc163990STrevor Wu    sound: mt8195-sound {
58dc163990STrevor Wu        compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
59dc163990STrevor Wu        mediatek,platform = <&afe>;
60dc163990STrevor Wu        pinctrl-names = "default";
61dc163990STrevor Wu        pinctrl-0 = <&aud_pins_default>;
62dc163990STrevor Wu    };
63dc163990STrevor Wu
64dc163990STrevor Wu...
65