xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mt8195-mt6359-rt1019-rt5682.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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-rt1019-rt5682.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek MT8195 with MT6359, RT1019 and RT5682 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    const: mediatek,mt8195_mt6359_rt1019_rt5682
18
19  model:
20    $ref: /schemas/types.yaml#/definitions/string
21    description: User specified audio sound card name
22
23  mediatek,platform:
24    $ref: "/schemas/types.yaml#/definitions/phandle"
25    description: The phandle of MT8195 ASoC platform.
26
27  mediatek,dptx-codec:
28    $ref: "/schemas/types.yaml#/definitions/phandle"
29    description: The phandle of MT8195 Display Port Tx codec node.
30
31  mediatek,hdmi-codec:
32    $ref: "/schemas/types.yaml#/definitions/phandle"
33    description: The phandle of MT8195 HDMI codec node.
34
35  mediatek,adsp:
36    $ref: "/schemas/types.yaml#/definitions/phandle"
37    description: The phandle of MT8195 ADSP platform.
38
39  mediatek,dai-link:
40    $ref: /schemas/types.yaml#/definitions/string-array
41    description:
42      A list of the desired dai-links in the sound card. Each entry is a
43      name defined in the machine driver.
44
45additionalProperties: false
46
47required:
48  - compatible
49  - mediatek,platform
50
51examples:
52  - |
53
54    sound: mt8195-sound {
55        compatible = "mediatek,mt8195_mt6359_rt1019_rt5682";
56        mediatek,platform = <&afe>;
57        pinctrl-names = "default";
58        pinctrl-0 = <&aud_pins_default>;
59    };
60
61...
62