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
26additionalProperties: false
27
28required:
29  - compatible
30  - mediatek,platform
31
32examples:
33  - |
34
35    sound: mt8192-sound {
36        compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
37        mediatek,platform = <&afe>;
38        pinctrl-names = "aud_clk_mosi_off",
39                        "aud_clk_mosi_on";
40        pinctrl-0 = <&aud_clk_mosi_off>;
41        pinctrl-1 = <&aud_clk_mosi_on>;
42    };
43
44...
45