File Index
Files and directories
Sign in
FILE

mediatek,mt8183_mt6358_ts3a227.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/sound/mediatek,mt8183_mt6358_ts3a227.yaml YAML
 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_mt6358_ts3a227.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: MediaTek MT8183 sound card with MT6358, TS3A227, and MAX98357/RT1015 codecs
 8
 9maintainers:
10  - Julien Massot <julien.massot@collabora.com>
11
12description:
13  MediaTek MT8183 SoC-based sound cards using the MT6358 codec,
14  with optional TS3A227 headset codec, EC codec (via Chrome EC), and HDMI audio.
15  Speaker amplifier can be one of MAX98357A/B, RT1015, or RT1015P.
16
17properties:
18  compatible:
19    enum:
20      - mediatek,mt8183_mt6358_ts3a227_max98357
21      - mediatek,mt8183_mt6358_ts3a227_max98357b
22      - mediatek,mt8183_mt6358_ts3a227_rt1015
23      - mediatek,mt8183_mt6358_ts3a227_rt1015p
24
25  mediatek,platform:
26    $ref: /schemas/types.yaml#/definitions/phandle
27    description: Phandle to the MT8183 ASoC platform node (e.g., AFE).
28
29  mediatek,headset-codec:
30    $ref: /schemas/types.yaml#/definitions/phandle
31    description: Phandle to the TS3A227 headset codec.
32
33  mediatek,ec-codec:
34    $ref: /schemas/types.yaml#/definitions/phandle
35    description: |
36      Optional phandle to a ChromeOS EC codec node.
37      See bindings in google,cros-ec-codec.yaml.
38
39  mediatek,hdmi-codec:
40    $ref: /schemas/types.yaml#/definitions/phandle
41    description: Optional phandle to an HDMI audio codec node.
42
43required:
44  - compatible
45  - mediatek,platform
46
47additionalProperties: false
48
49examples:
50  - |
51    sound {
52        compatible = "mediatek,mt8183_mt6358_ts3a227_max98357";
53        mediatek,headset-codec = <&ts3a227>;
54        mediatek,ec-codec = <&ec_codec>;
55        mediatek,hdmi-codec = <&it6505dptx>;
56        mediatek,platform = <&afe>;
57    };
58
59...
~/ Read-only file preview.