]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: mediatek: mt8195: enable apll tuner
authorTrevor Wu <trevor.wu@mediatek.com>
Mon, 21 Feb 2022 05:57:16 +0000 (13:57 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Feb 2022 13:24:56 +0000 (13:24 +0000)
commit950273d3c71fddeaa12b178ade68a1278312fc19
tree9087952e0f1340f62871bec4d8edfb59512ac601
parent47bfa5513b073e831f48f0602429904ed5ca54bd
ASoC: mediatek: mt8195: enable apll tuner

Normally, the clock source of audio module is either 26M or APLL1/APLL2,
but APLL1/APLL2 are not the multiple of 26M.

In the patch, APLL1 and APLL2 tuners are enabled to handle sample rate
mismatch when the data path crosses two different clock domains.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20220221055716.18580-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-afe-clk.c
sound/soc/mediatek/mt8195/mt8195-afe-clk.h
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c