summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
diff options
context:
space:
mode:
authorPC Liao <pc.liao@mediatek.com>2016-06-01 15:00:12 +0300
committerMark Brown <broonie@kernel.org>2016-06-02 20:18:25 +0300
commit0c198ed2ba68b6cc728c5aa3c5486d9e5c328ecd (patch)
tree44bc192ed52ac01fcb4eaad3686065ebadaa4380 /Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
parent33d919bd51ad1203e86e3f60e775f463feb1586f (diff)
downloadlinux-0c198ed2ba68b6cc728c5aa3c5486d9e5c328ecd.tar.xz
ASoC: mediatek: add MCLK source selection
The new machine's MCLK source is from mt8173 which is dynamic from sampling rate*256. This patch provides the selection for device tree. Signed-off-by: PC Liao <pc.liao@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mt8173-rt5650.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/mt8173-rt5650.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt b/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
index 5bfa6b60530b..f250fc7c7acc 100644
--- a/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
+++ b/Documentation/devicetree/bindings/sound/mt8173-rt5650.txt
@@ -12,12 +12,17 @@ Required codec-capture subnode properties:
<&rt5650 0> : Default setting. Connect rt5650 I2S1 for capture. (dai_name = rt5645-aif1)
<&rt5650 1> : Connect rt5650 I2S2 for capture. (dai_name = rt5645-aif2)
+- mediatek,mclk: the MCLK source
+ 0 : external oscillator, MCLK = 12.288M
+ 1 : internal source from mt8173, MCLK = sampling rate*256
+
Example:
sound {
compatible = "mediatek,mt8173-rt5650";
mediatek,audio-codec = <&rt5650>;
mediatek,platform = <&afe>;
+ mediatek,mclk = <0>;
codec-capture {
sound-dai = <&rt5650 1>;
};