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