Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1MT2701 with WM8960 CODEC
2
3Required properties:
4- compatible: "mediatek,mt2701-wm8960-machine"
5- mediatek,platform: the phandle of MT2701 ASoC platform
6- audio-routing: a list of the connections between audio
7- mediatek,audio-codec: the phandles of wm8960 codec
8- pinctrl-names: Should contain only one value - "default"
9- pinctrl-0: Should specify pin control groups used for this controller.
10
11Example:
12
13 sound:sound {
14 compatible = "mediatek,mt2701-wm8960-machine";
15 mediatek,platform = <&afe>;
16 audio-routing =
17 "Headphone", "HP_L",
18 "Headphone", "HP_R",
19 "LINPUT1", "AMIC",
20 "RINPUT1", "AMIC";
21 mediatek,audio-codec = <&wm8960>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&aud_pins_default>;
24 };