xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/mt2701-wm8960.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunMT2701 with WM8960 CODEC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "mediatek,mt2701-wm8960-machine"
5*4882a593Smuzhiyun- mediatek,platform: the phandle of MT2701 ASoC platform
6*4882a593Smuzhiyun- audio-routing: a list of the connections between audio
7*4882a593Smuzhiyun- mediatek,audio-codec: the phandles of wm8960 codec
8*4882a593Smuzhiyun- pinctrl-names: Should contain only one value - "default"
9*4882a593Smuzhiyun- pinctrl-0: Should specify pin control groups used for this controller.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	sound:sound {
14*4882a593Smuzhiyun		compatible = "mediatek,mt2701-wm8960-machine";
15*4882a593Smuzhiyun		mediatek,platform = <&afe>;
16*4882a593Smuzhiyun		audio-routing =
17*4882a593Smuzhiyun			"Headphone", "HP_L",
18*4882a593Smuzhiyun			"Headphone", "HP_R",
19*4882a593Smuzhiyun			"LINPUT1", "AMIC",
20*4882a593Smuzhiyun			"RINPUT1", "AMIC";
21*4882a593Smuzhiyun		mediatek,audio-codec = <&wm8960>;
22*4882a593Smuzhiyun		pinctrl-names = "default";
23*4882a593Smuzhiyun		pinctrl-0 = <&aud_pins_default>;
24*4882a593Smuzhiyun	};
25