ASoC: mediatek: add MCLK source selection
Subsystems (4)
PATCH 1/1 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.
--- .../devicetree/bindings/sound/mt8173-rt5650.txt | 5 +++ sound/soc/mediatek/mt8173-rt5650.c | 45 +++++++++++++++++++- 2 files changed, 48 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/sound/mt8173-rt5650.txt +5 -0
@@ -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>; };
sound/soc/mediatek/mt8173-rt5650.c +43 -2
68 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Mark Brown
maintainerApplied "ASoC: mediatek: add MCLK source selection" to the asoc tree
The patch
ASoC: mediatek: add MCLK source selection
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
0c198ed2ba68b6cc728c5aa3c5486d9e5c328ecdMon Sep 17 00:00:00 2001
From: PC Liao <[email protected]>
Date: Wed, 1 Jun 2016 20:00:12 +0800
Subject: [PATCH] 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.
--- .../devicetree/bindings/sound/mt8173-rt5650.txt | 5 +++ sound/soc/mediatek/mt8173-rt5650.c | 45 +++++++++++++++++++++- 2 files changed, 48 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/sound/mt8173-rt5650.txt +5 -0
@@ -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>; };
sound/soc/mediatek/mt8173-rt5650.c +43 -2
68 lines not on this page · raw message
Signature · 1 line
2.8.1