MediaTek MT2701 with WM8960 CODEC
Schema identifier ($id): "http://devicetree.org/schemas/sound/mediatek,mt2701-wm8960.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kartik Agarwala <agarwala.kartik@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt2701-wm8960-machine"
mediatek,platform — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of MT2701 ASoC platform.
audio-routing — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/non-unique-string-array
A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source.
mediatek,audio-codec — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the WM8960 audio codec.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "mediatek,platform", "audio-routing", "mediatek,audio-codec", "pinctrl-names", "pinctrl-0"
Examples (examples) #
sound {
compatible = "mediatek,mt2701-wm8960-machine";
mediatek,platform = <&afe>;
audio-routing =
"Headphone", "HP_L",
"Headphone", "HP_R",
"LINPUT1", "AMIC",
"RINPUT1", "AMIC";
mediatek,audio-codec = <&wm8960>;
pinctrl-names = "default";
pinctrl-0 = <&aud_pins_default>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)