Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1MT8173 with RT5650 CODECS
2
3Required properties:
4- compatible : "mediatek,mt8173-rt5650"
5- mediatek,audio-codec: the phandles of rt5650 codecs
6- mediatek,platform: the phandle of MT8173 ASoC platform
7
8Optional subnodes:
9- codec-capture : the subnode of rt5650 codec capture
10Required codec-capture subnode properties:
11- sound-dai: audio codec dai name on capture path
12 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
13 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2)
14
15Example:
16
17 sound {
18 compatible = "mediatek,mt8173-rt5650";
19 mediatek,audio-codec = <&rt5650>;
20 mediatek,platform = <&afe>;
21 codec-capture {
22 sound-dai = <&rt5650 1>;
23 };
24 };
25