]> 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)
commit1733a203b7760b4ae9795b56c53441fff38274bb
tree9087952e0f1340f62871bec4d8edfb59512ac601
parentcf98657ddf92dbbfa909b03f354cb00962e31e69
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