Merge tag 'omap-for-v4.9/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / mt8173-rt5650.txt
CommitLineData
97e1145a 1MT8173 with RT5650 CODECS and HDMI via I2S
0f83f929
KC
2
3Required properties:
4- compatible : "mediatek,mt8173-rt5650"
5- mediatek,audio-codec: the phandles of rt5650 codecs
97e1145a 6 and of the hdmi encoder node
0f83f929
KC
7- mediatek,platform: the phandle of MT8173 ASoC platform
8
d349caeb
PL
9Optional subnodes:
10- codec-capture : the subnode of rt5650 codec capture
11Required codec-capture subnode properties:
12- sound-dai: audio codec dai name on capture path
13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
14 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2)
15
0c198ed2
PL
16- mediatek,mclk: the MCLK source
17 0 : external oscillator, MCLK = 12.288M
18 1 : internal source from mt8173, MCLK = sampling rate*256
19
0f83f929
KC
20Example:
21
22 sound {
23 compatible = "mediatek,mt8173-rt5650";
97e1145a 24 mediatek,audio-codec = <&rt5650 &hdmi0>;
0f83f929 25 mediatek,platform = <&afe>;
0c198ed2 26 mediatek,mclk = <0>;
d349caeb
PL
27 codec-capture {
28 sound-dai = <&rt5650 1>;
29 };
0f83f929
KC
30 };
31
This page took 0.039749 seconds and 5 git commands to generate.