Merge tag 'iwlwifi-next-for-kalle-2016-07-01' of git://git.kernel.org/pub/scm/linux...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / mt8173-rt5650.txt
1 MT8173 with RT5650 CODECS
2
3 Required 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
8 Optional subnodes:
9 - codec-capture : the subnode of rt5650 codec capture
10 Required 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
15 Example:
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