mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chancel Liu <chancel.liu@nxp.com>
To: shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com,
	nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org,
	perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, linux-sound@vger.kernel.org
Cc: Chancel Liu <chancel.liu@nxp.com>
Subject: [PATCH 0/4] Add function to constrain rates
Date: Tue, 26 Nov 2024 20:54:36 +0900	[thread overview]
Message-ID: <20241126115440.3929061-1-chancel.liu@nxp.com> (raw)

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


             reply	other threads:[~2024-11-26 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-26 11:54 Chancel Liu [this message]
2024-11-26 11:54 ` [PATCH 1/4] ASoC: fsl_utils: " Chancel Liu
2024-11-26 11:54 ` [PATCH 2/4] ASoC: fsl_micfil: Switch to common sample rate constraint function Chancel Liu
2024-11-26 11:54 ` [PATCH 3/4] ASoC: fsl_xcvr: Add sample rate constraint Chancel Liu
2024-11-26 11:54 ` [PATCH 4/4] ASoC: fsl_sai: " Chancel Liu
2024-12-06  2:31 ` [PATCH 0/4] Add function to constrain rates Shengjiu Wang
2024-12-10 13:35 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241126115440.3929061-1-chancel.liu@nxp.com \
    --to=chancel.liu@nxp.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=broonie@kernel.org \
    --cc=festevam@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=nicoleotsuka@gmail.com \
    --cc=perex@perex.cz \
    --cc=shengjiu.wang@gmail.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®