xref: /linux/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
8
9maintainers:
10  - Jiaxin Yu <jiaxin.yu@mediatek.com>
11  - Shane Chien <shane.chien@mediatek.com>
12
13description:
14  This binding describes the MT8192 sound card.
15
16properties:
17  compatible:
18    enum:
19      - mediatek,mt8192_mt6359_rt1015_rt5682
20      - mediatek,mt8192_mt6359_rt1015p_rt5682
21
22  mediatek,platform:
23    $ref: "/schemas/types.yaml#/definitions/phandle"
24    description: The phandle of MT8192 ASoC platform.
25
26  mediatek,hdmi-codec:
27    $ref: "/schemas/types.yaml#/definitions/phandle"
28    description: The phandle of HDMI codec.
29
30additionalProperties: false
31
32required:
33  - compatible
34  - mediatek,platform
35
36examples:
37  - |
38
39    sound: mt8192-sound {
40        compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
41        mediatek,platform = <&afe>;
42        mediatek,hdmi-codec = <&anx_bridge_dp>;
43        pinctrl-names = "aud_clk_mosi_off",
44                        "aud_clk_mosi_on";
45        pinctrl-0 = <&aud_clk_mosi_off>;
46        pinctrl-1 = <&aud_clk_mosi_on>;
47    };
48
49...
50