1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/audio-graph-card.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Audio Graph Card
8
9maintainers:
10  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11
12allOf:
13  - $ref: /schemas/sound/audio-graph.yaml#
14
15properties:
16  compatible:
17    enum:
18      - audio-graph-card
19      - audio-graph-scu-card
20
21required:
22  - compatible
23
24unevaluatedProperties: false
25
26examples:
27  - |
28    sound {
29        compatible = "audio-graph-card";
30
31        dais = <&cpu_port_a>;
32    };
33
34    cpu {
35        /*
36         * dai-controller own settings
37         */
38
39        port {
40            cpu_endpoint: endpoint {
41                remote-endpoint = <&codec_endpoint>;
42                dai-format = "left_j";
43            };
44        };
45    };
46
47    codec {
48        /*
49         * codec own settings
50         */
51
52        port {
53            codec_endpoint: endpoint {
54                remote-endpoint = <&cpu_endpoint>;
55            };
56        };
57    };
58