xref: /linux/Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml (revision 7a0e692a0381254b2f77c54dec100cd3325a6fdf)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/mediatek,mt8173-rt5650-rt5514.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek MT8173 with RT5650 and RT5514 audio codecs
8
9maintainers:
10  - Koro Chen <koro.chen@mediatek.com>
11
12properties:
13  compatible:
14    const: mediatek,mt8173-rt5650-rt5514
15
16  mediatek,audio-codec:
17    $ref: /schemas/types.yaml#/definitions/phandle-array
18    description: Phandles of rt5650 and rt5514 codecs
19    items:
20      - description: phandle of rt5650 codec
21        maxItems: 1
22      - description: phandle of rt5514 codec
23        maxItems: 1
24
25  mediatek,platform:
26    $ref: /schemas/types.yaml#/definitions/phandle
27    description: The phandle of MT8173 ASoC platform.
28
29required:
30  - compatible
31  - mediatek,audio-codec
32  - mediatek,platform
33
34additionalProperties: false
35
36examples:
37  - |
38    sound {
39        compatible = "mediatek,mt8173-rt5650-rt5514";
40        mediatek,audio-codec = <&rt5650>, <&rt5514>;
41        mediatek,platform = <&afe>;
42    };
43...
44