xref: /freebsd/sys/contrib/device-tree/Bindings/sound/mt8195-mt6359-rt1011-rt5682.yaml (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
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-rt1011-rt5682.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek MT8195 with MT6359, RT1011 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 with RT1011 and RT5682.
14
15properties:
16  compatible:
17    const: mediatek,mt8195_mt6359_rt1011_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
35additionalProperties: false
36
37required:
38  - compatible
39  - mediatek,platform
40
41examples:
42  - |
43
44    sound: mt8195-sound {
45        compatible = "mediatek,mt8195_mt6359_rt1011_rt5682";
46        mediatek,platform = <&afe>;
47        pinctrl-names = "default";
48        pinctrl-0 = <&aud_pins_default>;
49    };
50
51...
52