ASoC: fsl_xcvr: refine the requested phy clock frequency
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 23 Nov 2023 01:14:53 +0000 (09:14 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 Nov 2023 12:41:46 +0000 (12:41 +0000)
commit347ecf29a68cc8958fbcbd26ef410d07fe9d82f4
tree6e7e38abb9d23beb43c2f35d332104519f735d0d
parent505c83212da5bfca95109421b8f5d9f8c6cdfef2
ASoC: fsl_xcvr: refine the requested phy clock frequency

As the input phy clock frequency will divided by 2 by default
on i.MX8MP with the implementation of clk-imx8mp-audiomix driver,
So the requested frequency need to be updated.

The relation of phy clock is:
    sai_pll_ref_sel
       sai_pll
          sai_pll_bypass
             sai_pll_out
                sai_pll_out_div2
                   earc_phy_cg

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://lore.kernel.org/r/1700702093-8008-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_xcvr.c