Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
712 B
Plaintext
25 lines
712 B
Plaintext
MT2701 with WM8960 CODEC
|
|
|
|
Required properties:
|
|
- compatible: "mediatek,mt2701-wm8960-machine"
|
|
- mediatek,platform: the phandle of MT2701 ASoC platform
|
|
- audio-routing: a list of the connections between audio
|
|
- mediatek,audio-codec: the phandles of wm8960 codec
|
|
- pinctrl-names: Should contain only one value - "default"
|
|
- pinctrl-0: Should specify pin control groups used for this controller.
|
|
|
|
Example:
|
|
|
|
sound: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>;
|
|
};
|