mbox series

[0/4] Add function to constrain rates

Message ID 20241126115440.3929061-1-chancel.liu@nxp.com (mailing list archive)
Headers show
Series Add function to constrain rates | expand

Message

Chancel Liu Nov. 26, 2024, 11:54 a.m. UTC
Platforms like i.MX93/91 only have one audio PLL. Some sample rates are
not supported. If the PLL source is used for 8kHz series rates, then
11kHz series rates can't be supported. Add common function to constrain
rates according to different clock sources.

In ASoC drivers switch to this new function.

Chancel Liu (4):
  ASoC: fsl_utils: Add function to constrain rates
  ASoC: fsl_micfil: Switch to common sample rate constraint function
  ASoC: fsl_xcvr: Add sample rate constraint
  ASoC: fsl_sai: Add sample rate constraint

 sound/soc/fsl/fsl_micfil.c | 33 ++++++++++++++--------------
 sound/soc/fsl/fsl_sai.c    |  7 +++++-
 sound/soc/fsl/fsl_sai.h    |  3 +++
 sound/soc/fsl/fsl_utils.c  | 45 ++++++++++++++++++++++++++++++++++++++
 sound/soc/fsl/fsl_utils.h  |  5 +++++
 sound/soc/fsl/fsl_xcvr.c   | 20 +++++++++++++++--
 6 files changed, 93 insertions(+), 20 deletions(-)

--
2.46.2