OSDN Git Service

ASoC: tlv320aic31xx: Add support for pll_r coefficient
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Fri, 19 Nov 2021 15:32:45 +0000 (12:32 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 22 Nov 2021 15:43:00 +0000 (15:43 +0000)
commit2664b24a8c51c21b24c2b37b7f10d6485c35b7c1
tree7aaae360426a5bd1be372769e04cf33e6310bed5
parent7016fd940adf2f4d86032339b546c6ecd737062f
ASoC: tlv320aic31xx: Add support for pll_r coefficient

When the clock used by the codec is BCLK, the operation parameters need
to be calculated from input sample rate and format. Low frequency rates
required different r multipliers, in order to achieve a higher PLL
output frequency.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Link: https://lore.kernel.org/r/20211119153248.419802-3-ariel.dalessandro@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c