xref: /freebsd/sys/contrib/device-tree/Bindings/sound/audio-graph-card.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/audio-graph-card.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Audio Graph Card
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel VadotallOf:
135def4c47SEmmanuel Vadot  - $ref: /schemas/sound/audio-graph.yaml#
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
175def4c47SEmmanuel Vadot    enum:
185def4c47SEmmanuel Vadot      - audio-graph-card
195def4c47SEmmanuel Vadot      - audio-graph-scu-card
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadotrequired:
225def4c47SEmmanuel Vadot  - compatible
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel VadotunevaluatedProperties: false
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadotexamples:
275def4c47SEmmanuel Vadot  - |
285def4c47SEmmanuel Vadot    sound {
295def4c47SEmmanuel Vadot        compatible = "audio-graph-card";
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot        dais = <&cpu_port_a>;
325def4c47SEmmanuel Vadot    };
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot    cpu {
355def4c47SEmmanuel Vadot        /*
365def4c47SEmmanuel Vadot         * dai-controller own settings
375def4c47SEmmanuel Vadot         */
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadot        port {
405def4c47SEmmanuel Vadot            cpu_endpoint: endpoint {
415def4c47SEmmanuel Vadot                remote-endpoint = <&codec_endpoint>;
425def4c47SEmmanuel Vadot                dai-format = "left_j";
435def4c47SEmmanuel Vadot            };
445def4c47SEmmanuel Vadot        };
455def4c47SEmmanuel Vadot    };
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadot    codec {
485def4c47SEmmanuel Vadot        /*
495def4c47SEmmanuel Vadot         * codec own settings
505def4c47SEmmanuel Vadot         */
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot        port {
535def4c47SEmmanuel Vadot            codec_endpoint: endpoint {
545def4c47SEmmanuel Vadot                remote-endpoint = <&cpu_endpoint>;
555def4c47SEmmanuel Vadot            };
565def4c47SEmmanuel Vadot        };
575def4c47SEmmanuel Vadot    };
58