mt8173-rt5650.txt 950 B

12345678910111213141516171819202122232425262728293031
  1. MT8173 with RT5650 CODECS and HDMI via I2S
  2. Required properties:
  3. - compatible : "mediatek,mt8173-rt5650"
  4. - mediatek,audio-codec: the phandles of rt5650 codecs
  5. and of the hdmi encoder node
  6. - mediatek,platform: the phandle of MT8173 ASoC platform
  7. Optional subnodes:
  8. - codec-capture : the subnode of rt5650 codec capture
  9. Required codec-capture subnode properties:
  10. - sound-dai: audio codec dai name on capture path
  11. <&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
  12. <&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2)
  13. - mediatek,mclk: the MCLK source
  14. 0 : external oscillator, MCLK = 12.288M
  15. 1 : internal source from mt8173, MCLK = sampling rate*256
  16. Example:
  17. sound {
  18. compatible = "mediatek,mt8173-rt5650";
  19. mediatek,audio-codec = <&rt5650 &hdmi0>;
  20. mediatek,platform = <&afe>;
  21. mediatek,mclk = <0>;
  22. codec-capture {
  23. sound-dai = <&rt5650 1>;
  24. };
  25. };