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