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
7 title: Mediatek MT8192 with MT6359, RT1015 and RT5682 ASoC sound card driver
8
9 maintainers:
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
11 - Shane Chien <shane.chien@mediatek.com>
12
13 description:
14 This binding describes the MT8192 sound card.
15
16 properties:
17 compatible:
18 enum:
19 - mediatek,mt8192_mt6359_rt1015_rt5682
20 - mediatek,mt8192_mt6359_rt1015p_rt5682
21 - mediatek,mt8192_mt6359_rt1015p_rt5682s
22
23 mediatek,platform:
24 $ref: "/schemas/types.yaml#/definitions/phandle"
25 description: The phandle of MT8192 ASoC platform.
26
27 mediatek,hdmi-codec:
28 $ref: "/schemas/types.yaml#/definitions/phandle"
29 description: The phandle of HDMI codec.
30
31 headset-codec:
32 type: object
33 properties:
34 sound-dai:
35 $ref: /schemas/types.yaml#/definitions/phandle
36 required:
37 - sound-dai
38
39 speaker-codecs:
40 type: object
41 properties:
42 sound-dai:
43 minItems: 1
44 maxItems: 2
45 items:
46 maxItems: 1
47 $ref: /schemas/types.yaml#/definitions/phandle-array
48 required:
49 - sound-dai
50
51 additionalProperties: false
52
53 required:
54 - compatible
55 - mediatek,platform
56 - headset-codec
57 - speaker-codecs
58
59 examples:
60 - |
61
62 sound: mt8192-sound {
63 compatible = "mediatek,mt8192_mt6359_rt1015_rt5682";
64 mediatek,platform = <&afe>;
65 mediatek,hdmi-codec = <&anx_bridge_dp>;
66 pinctrl-names = "aud_clk_mosi_off",
67 "aud_clk_mosi_on";
68 pinctrl-0 = <&aud_clk_mosi_off>;
69 pinctrl-1 = <&aud_clk_mosi_on>;
70
71 headset-codec {
72 sound-dai = <&rt5682>;
73 };
74
75 speaker-codecs {
76 sound-dai = <&rt1015_l>,
77 <&rt1015_r>;
78 };
79 };
80
81 ...
Cache object: be5328613b86976bcdda1390895c7dd3
|