Audio Graph Card

Schema identifier ($id): "http://devicetree.org/schemas/sound/audio-graph-card.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/audio-graph.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "audio-graph-card", "audio-graph-scu-card"

Required in this object (required): "compatible"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

sound {
    compatible = "audio-graph-card";

    dais = <&cpu_port_a>;
};

cpu {
    /*
     * dai-controller own settings
     */

    port {
        cpu_endpoint: endpoint {
            remote-endpoint = <&codec_endpoint>;
            dai-format = "left_j";
        };
    };
};

codec {
    /*
     * codec own settings
     */

    port {
        codec_endpoint: endpoint {
            remote-endpoint = <&cpu_endpoint>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page