1 MT8173 with RT5650 CODECS and HDMI via I2S 1 MT8173 with RT5650 CODECS and HDMI via I2S 2 2 3 Required properties: 3 Required properties: 4 - compatible : "mediatek,mt8173-rt5650" 4 - compatible : "mediatek,mt8173-rt5650" 5 - mediatek,audio-codec: the phandles of rt5650 5 - mediatek,audio-codec: the phandles of rt5650 codecs 6 and of the hdmi encode 6 and of the hdmi encoder node 7 - mediatek,platform: the phandle of MT8173 ASo 7 - mediatek,platform: the phandle of MT8173 ASoC platform 8 8 9 Optional subnodes: 9 Optional subnodes: 10 - codec-capture : the subnode of rt5650 codec 10 - codec-capture : the subnode of rt5650 codec capture 11 Required codec-capture subnode properties: 11 Required codec-capture subnode properties: 12 - sound-dai: audio codec dai name on capture p 12 - sound-dai: audio codec dai name on capture path 13 <&rt5650 0> : Default setting. Connect rt565 13 <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1) 14 <&rt5650 1> : Connect rt5650 I2S2 for captur 14 <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2) 15 15 16 - mediatek,mclk: the MCLK source 16 - mediatek,mclk: the MCLK source 17 0 : external oscillator, MCLK = 12.288M 17 0 : external oscillator, MCLK = 12.288M 18 1 : internal source from mt8173, MCLK = samp 18 1 : internal source from mt8173, MCLK = sampling rate*256 19 19 20 Example: 20 Example: 21 21 22 sound { 22 sound { 23 compatible = "mediatek,mt8173- 23 compatible = "mediatek,mt8173-rt5650"; 24 mediatek,audio-codec = <&rt565 24 mediatek,audio-codec = <&rt5650 &hdmi0>; 25 mediatek,platform = <&afe>; 25 mediatek,platform = <&afe>; 26 mediatek,mclk = <0>; 26 mediatek,mclk = <0>; 27 codec-capture { 27 codec-capture { 28 sound-dai = <&rt5650 1 28 sound-dai = <&rt5650 1>; 29 }; 29 }; 30 }; 30 }; 31 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.