Re: linux-fsl 5.10 kernels don't appear to have multi-lane in sound/soc/fsl/fsl_sai.c


Brian Hutchinson
 

Hey Fabio,


On Wed, Oct 27, 2021 at 10:33 AM Fabio Estevam <festevam@...> wrote:
On Wed, Oct 27, 2021 at 9:45 AM Brian Hutchinson <b.hutchman@...> wrote:

> I hoped folks would know what I was talking about without getting too far into the weeds.  But I guess I need to explain more.
>
> The older 5.4 kernels (and even 4 series kernels) had a imx8mm-evk.dts sai section that looked like this:
>
> &sai1 {
>        pinctrl-names = "default";
>        pinctrl-0 = <&pinctrl_sai1>;
>        assigned-clocks = <&clk IMX8MM_CLK_SAI1>;
>        assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
>        assigned-clock-rates = <24576000>;
>        clocks = <&clk IMX8MM_CLK_SAI1_IPG>, <&clk IMX8MM_CLK_DUMMY>,
>                <&clk IMX8MM_CLK_SAI1_ROOT>, <&clk IMX8MM_CLK_DUMMY>,
>                <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_AUDIO_PLL1_OUT>,
>                <&clk IMX8MM_AUDIO_PLL2_OUT>;
>        clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k";
>        fsl,sai-multi-lane;

This property is only found on the NXP vendor kernel, not in the
mainline kernel.

If your kernel has such property, then you are using an NXP-based kernel.

In this case, you could probably use Andrey's suggestion and switch to
the NXP 5.10 kernel.

I went back and looked at my 5.4 kernel that has the multi-lane support.

My local.conf has REFERRED_PROVIDER_virtual/kernel = "linux-fslc-imx"

Regards,

Brian

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.