[PATCH 0/3] arm64: dts: imx8m: support more sample rates

Shengjiu Wang posted 3 patches 2 months, 3 weeks ago
There is a newer version of this series
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 17 +++++++++++++----
arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi |  5 +++++
arch/arm64/boot/dts/freescale/imx8mq-evk.dts  |  8 +++++++-
3 files changed, 25 insertions(+), 5 deletions(-)
[PATCH 0/3] arm64: dts: imx8m: support more sample rates
Posted by Shengjiu Wang 2 months, 3 weeks ago
The wm8524 codec is connected to the SAI interface. There are two audio
plls on i.MX8MQ, i.MX8MM, i.MX8MN, one pll can be the clock source of
44kHz series rates, another pll can be clock source of 48kHz series rates.

Shengjiu Wang (3):
  arm64: dts: imx8mm-evk: support more sample rates for wm8524 card
  arm64: dts: imx8mq-evk: support more sample rates for wm8524 card
  arm64: dts: imx8mn-evk: support more sample rates for wm8524 card

 arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 17 +++++++++++++----
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi |  5 +++++
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts  |  8 +++++++-
 3 files changed, 25 insertions(+), 5 deletions(-)

-- 
2.34.1
Re: [PATCH 0/3] arm64: dts: imx8m: support more sample rates
Posted by Daniel Baluta 2 months, 3 weeks ago
On Wed, Jul 16, 2025 at 9:11 AM Shengjiu Wang <shengjiu.wang@nxp.com> wrote:
>
> The wm8524 codec is connected to the SAI interface. There are two audio
> plls on i.MX8MQ, i.MX8MM, i.MX8MN, one pll can be the clock source of
> 44kHz series rates, another pll can be clock source of 48kHz series rates.
>
> Shengjiu Wang (3):
>   arm64: dts: imx8mm-evk: support more sample rates for wm8524 card
>   arm64: dts: imx8mq-evk: support more sample rates for wm8524 card
>   arm64: dts: imx8mn-evk: support more sample rates for wm8524 card

Hi Shengjiu,

I think it would be useful to specify which are the current supported rates
and which will be the ones supported after your patch  (in the commit messages).

On NXP BSP you can run:

../../unit_tests/Audio/mxc_alsa_hw_params.out hw:X,Y p r

to get the rates.
Re: [PATCH 0/3] arm64: dts: imx8m: support more sample rates
Posted by Shengjiu Wang 2 months, 2 weeks ago
On Wed, Jul 16, 2025 at 3:53 PM Daniel Baluta <daniel.baluta@gmail.com> wrote:
>
> On Wed, Jul 16, 2025 at 9:11 AM Shengjiu Wang <shengjiu.wang@nxp.com> wrote:
> >
> > The wm8524 codec is connected to the SAI interface. There are two audio
> > plls on i.MX8MQ, i.MX8MM, i.MX8MN, one pll can be the clock source of
> > 44kHz series rates, another pll can be clock source of 48kHz series rates.
> >
> > Shengjiu Wang (3):
> >   arm64: dts: imx8mm-evk: support more sample rates for wm8524 card
> >   arm64: dts: imx8mq-evk: support more sample rates for wm8524 card
> >   arm64: dts: imx8mn-evk: support more sample rates for wm8524 card
>
> Hi Shengjiu,
>
> I think it would be useful to specify which are the current supported rates
> and which will be the ones supported after your patch  (in the commit messages).
>
yes, will update the commit message to make it more clear.

best regards
Shengjiu Wang

> On NXP BSP you can run:
>
> ../../unit_tests/Audio/mxc_alsa_hw_params.out hw:X,Y p r
>
> to get the rates.