MediaTek MT7986 sound card with WM8960 codec
Schema identifier ($id): "http://devicetree.org/schemas/sound/mediatek,mt7986-wm8960.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Maso Huang <maso.huang@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 #
Exact value (const): "mediatek,mt7986-wm8960-sound"
platform — required here #
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
The phandle of MT7986 platform.
Maximum number of items (maxItems): 1
Required in this object (required): "sound-dai"
codec — required here #
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
The phandle of wm8960 codec.
Maximum number of items (maxItems): 1
Required in this object (required): "sound-dai"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "audio-routing", "platform", "codec"
Examples (examples) #
sound {
compatible = "mediatek,mt7986-wm8960-sound";
model = "mt7986-wm8960";
audio-routing =
"Headphone", "HP_L",
"Headphone", "HP_R",
"LINPUT1", "AMIC",
"RINPUT1", "AMIC";
platform {
sound-dai = <&afe>;
};
codec {
sound-dai = <&wm8960>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)