Debian Codegraph @

Documentation/devicetree/bindings/sound/mediatek,mt8183_da7219.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/sound/mediatek,mt8183_da7219.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: MediaTek MT8183 sound card with external codecs
8
9 maintainers:
10 - Julien Massot <[email protected]>
11
12 description:
13 MediaTek MT8183 SoC-based sound cards with DA7219 as headset codec,
14 and MAX98357A, RT1015 or RT1015P as speaker amplifiers. Optionally includes HDMI codec.
15
16 properties:
17 compatible:
18 enum:
19 - mediatek,mt8183_da7219_max98357
20 - mediatek,mt8183_da7219_rt1015
21 - mediatek,mt8183_da7219_rt1015p
22
23 mediatek,headset-codec:
24 $ref: /schemas/types.yaml#/definitions/phandle
25 description: Phandle to the DA7219 headset codec.
26
27 mediatek,platform:
28 $ref: /schemas/types.yaml#/definitions/phandle
29 description: Phandle to the MT8183 ASoC platform (e.g., AFE node).
30
31 mediatek,hdmi-codec:
32 $ref: /schemas/types.yaml#/definitions/phandle
33 description: Optional phandle to the HDMI codec (e.g., IT6505).
34
35 required:
36 - compatible
37 - mediatek,headset-codec
38 - mediatek,platform
39
40 additionalProperties: false
41
42 examples:
43 - |
44 sound {
45 compatible = "mediatek,mt8183_da7219_max98357";
46 mediatek,headset-codec = <&da7219>;
47 mediatek,hdmi-codec = <&it6505dptx>;
48 mediatek,platform = <&afe>;
49 };