32 lines · plain
1MT8173 with RT5650 CODECS and HDMI via I2S2 3Required properties:4- compatible : "mediatek,mt8173-rt5650"5- mediatek,audio-codec: the phandles of rt5650 codecs6 and of the hdmi encoder node7- mediatek,platform: the phandle of MT8173 ASoC platform8 9Optional subnodes:10- codec-capture : the subnode of rt5650 codec capture11Required codec-capture subnode properties:12- sound-dai: audio codec dai name on capture path13 <&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 16- mediatek,mclk: the MCLK source17 0 : external oscillator, MCLK = 12.288M18 1 : internal source from mt8173, MCLK = sampling rate*25619 20Example:21 22 sound {23 compatible = "mediatek,mt8173-rt5650";24 mediatek,audio-codec = <&rt5650 &hdmi0>;25 mediatek,platform = <&afe>;26 mediatek,mclk = <0>;27 codec-capture {28 sound-dai = <&rt5650 1>;29 };30 };31 32