2016-07-05 09:26:21 +00:00
|
|
|
MT8173 with RT5650 CODECS and HDMI via I2S
|
2016-02-19 02:35:59 +00:00
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : "mediatek,mt8173-rt5650"
|
|
|
|
- mediatek,audio-codec: the phandles of rt5650 codecs
|
2016-07-05 09:26:21 +00:00
|
|
|
and of the hdmi encoder node
|
2016-02-19 02:35:59 +00:00
|
|
|
- mediatek,platform: the phandle of MT8173 ASoC platform
|
|
|
|
|
2016-04-21 11:38:14 +00:00
|
|
|
Optional subnodes:
|
|
|
|
- codec-capture : the subnode of rt5650 codec capture
|
|
|
|
Required codec-capture subnode properties:
|
|
|
|
- sound-dai: audio codec dai name on capture path
|
|
|
|
<&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
|
|
|
|
<&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2)
|
|
|
|
|
2016-06-01 12:00:12 +00:00
|
|
|
- mediatek,mclk: the MCLK source
|
|
|
|
0 : external oscillator, MCLK = 12.288M
|
|
|
|
1 : internal source from mt8173, MCLK = sampling rate*256
|
|
|
|
|
2016-02-19 02:35:59 +00:00
|
|
|
Example:
|
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "mediatek,mt8173-rt5650";
|
2016-07-05 09:26:21 +00:00
|
|
|
mediatek,audio-codec = <&rt5650 &hdmi0>;
|
2016-02-19 02:35:59 +00:00
|
|
|
mediatek,platform = <&afe>;
|
2016-06-01 12:00:12 +00:00
|
|
|
mediatek,mclk = <0>;
|
2016-04-21 11:38:14 +00:00
|
|
|
codec-capture {
|
|
|
|
sound-dai = <&rt5650 1>;
|
|
|
|
};
|
2016-02-19 02:35:59 +00:00
|
|
|
};
|
|
|
|
|