MediaTek MT8189 ASoC sound card
Schema identifier ($id): "http://devicetree.org/schemas/sound/mediatek,mt8189-nau8825.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Darren Ye <darren.ye@mediatek.com>", "Cyril Chao <cyril.chao@mediatek.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sound-card-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8189-nau8825", "mediatek,mt8189-rt5650", "mediatek,mt8189-rt5682s", "mediatek,mt8189-rt5682i", "mediatek,mt8189-es8326"
mediatek,platform — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of MT8189 ASoC platform.
Properties matching a name pattern (patternProperties) #
^dai-link-[0-9]+$ — name matches this regular expression #
Value type (type): "object"
Container for dai-link level properties and CODEC sub-nodes.
Properties and child nodes (properties) #
link-name — required here
This property corresponds to the name of the BE dai-link to which we are going to update parameters in this node.
Allowed values (enum): "TDM_DPTX_BE", "I2SOUT0_BE", "I2SIN0_BE", "I2SOUT1_BE"
codec — not listed as required here
Holds subnode which indicates codec dai.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
sound-dai — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "sound-dai"
dai-format — not listed as required here
audio format.
Allowed values (enum): "i2s", "right_j", "left_j", "dsp_a", "dsp_b"
mediatek,clk-provider — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Indicates dai-link clock master.
Allowed values (enum): "cpu", "codec"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "link-name"
Required in this object (required): "compatible", "mediatek,platform"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
sound {
compatible = "mediatek,mt8189-nau8825";
model = "mt8189_rt9123_8825";
mediatek,platform = <&afe>;
dai-link-0 {
link-name = "I2SOUT1_BE";
dai-format = "i2s";
mediatek,clk-provider = "cpu";
codec {
sound-dai = <&nau8825>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)