All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx
@ 2021-11-19 15:32 ` Ariel D'Alessandro
  0 siblings, 0 replies; 42+ messages in thread
From: Ariel D'Alessandro @ 2021-11-19 15:32 UTC (permalink / raw)
  To: alsa-devel, linux-kernel, linuxppc-dev
  Cc: Xiubo.Lee, ariel.dalessandro, bkylerussell, broonie, festevam,
	kuninori.morimoto.gx, lgirdwood, michael, nicoleotsuka, perex,
	shengjiu.wang, tiwai

The tlv320aic31xx codec allows using BCLK as the input clock for PLL,
deriving all the frequencies through a set of divisors.

In this case, codec sysclk is determined by the hwparams sample
rate/format. So its frequency must be updated from the codec itself when
these are changed.

This patchset modifies the tlv320aic31xx driver to update its sysclk if
BCLK is used as the input clock. This allows to be used by the generic
fsl-asoc-card, without having to add a specific driver.

Ariel D'Alessandro (5):
  ASoC: tlv320aic31xx: Fix typo in BCLK clock name
  ASoC: tlv320aic31xx: Add support for pll_r coefficient
  ASoC: tlv320aic31xx: Add divs for bclk as clk_in
  ASoC: tlv320aic31xx: Handle BCLK set as PLL input configuration
  ASoC: fsl-asoc-card: Support fsl,imx-audio-tlv320aic31xx codec

 sound/soc/codecs/tlv320aic31xx.c | 105 ++++++++++++++++++++-----------
 sound/soc/codecs/tlv320aic31xx.h |   2 +-
 sound/soc/fsl/fsl-asoc-card.c    |  12 ++++
 3 files changed, 83 insertions(+), 36 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2021-12-03 17:38 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 15:32 [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx Ariel D'Alessandro
2021-11-19 15:32 ` Ariel D'Alessandro
2021-11-19 15:32 ` Ariel D'Alessandro
2021-11-19 15:32 ` [RFC patch 1/5] ASoC: tlv320aic31xx: Fix typo in BCLK clock name Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32 ` [RFC patch 2/5] ASoC: tlv320aic31xx: Add support for pll_r coefficient Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-22 14:22   ` Mark Brown
2021-11-22 14:22     ` Mark Brown
2021-11-22 14:22     ` Mark Brown
2021-11-22 14:24     ` Michael Nazzareno Trimarchi
2021-11-22 14:24       ` Michael Nazzareno Trimarchi
2021-11-22 14:24       ` Michael Nazzareno Trimarchi
2021-11-22 14:33       ` Mark Brown
2021-11-22 14:33         ` Mark Brown
2021-11-22 14:33         ` Mark Brown
2021-11-19 15:32 ` [RFC patch 3/5] ASoC: tlv320aic31xx: Add divs for bclk as clk_in Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32 ` [RFC patch 4/5] ASoC: tlv320aic31xx: Handle BCLK set as PLL input configuration Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-11-19 15:32 ` [RFC patch 5/5] ASoC: fsl-asoc-card: Support fsl,imx-audio-tlv320aic31xx codec Ariel D'Alessandro
2021-11-19 15:32   ` [RFC patch 5/5] ASoC: fsl-asoc-card: Support fsl, imx-audio-tlv320aic31xx codec Ariel D'Alessandro
2021-11-19 15:32   ` Ariel D'Alessandro
2021-12-03 17:27   ` [RFC patch 5/5] ASoC: fsl-asoc-card: Support fsl,imx-audio-tlv320aic31xx codec Ariel D'Alessandro
2021-12-03 17:27     ` Ariel D'Alessandro
2021-12-03 17:27     ` Ariel D'Alessandro
2021-11-23  0:00 ` [RFC patch 0/5] Support BCLK input clock in tlv320aic31xx Mark Brown
2021-11-23  0:00   ` Mark Brown
2021-11-23  0:00   ` Mark Brown
2021-12-03 17:25   ` Ariel D'Alessandro
2021-12-03 17:25     ` Ariel D'Alessandro
2021-12-03 17:25     ` Ariel D'Alessandro
2021-12-03 17:34     ` Mark Brown
2021-12-03 17:34       ` Mark Brown
2021-12-03 17:34       ` Mark Brown
2021-12-03 17:37       ` Ariel D'Alessandro
2021-12-03 17:37         ` Ariel D'Alessandro
2021-12-03 17:37         ` Ariel D'Alessandro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.