Re: linux-fsl 5.10 kernels don't appear to have multi-lane in sound/soc/fsl/fsl_sai.c
Brian Hutchinson
On Wed, Oct 27, 2021 at 8:18 AM Fabio Estevam <festevam@...> wrote: Hi Brian, 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; fsl,dataline,dsd = <0 0xff 0xff 2 0xff 0x11>; fsl,sai-synchronous-rx; dmas = <&sdma2 0 25 0>, <&sdma2 1 25 0>; #sound-dai-cells = <0>; status = "okay"; }; ... which has fsl,sai-multi-lane support. The current linux-fslc 5.10 kernel does not have fsl,sai-multi-lane support. If you look at the linux-imx 5.10 link I posted before ... they do have the multi-lane support I'm looking for (in sounds/soc/fsl/fsl_sai.c) but kinda don't want to switch back to linux-imx. So my ask is how can I get linux-fslc 5.10 with multi-lane support? Apparently the yocto build has changed again. It used to be linux-imx was built by default, now it looks like linux-fslc is built by default even when I check out NXP's latest harpoon release which was supposed to have 5.10 ... and it does have recipes for 5.10 but 5.4 linux-fslc builds by default so I got some catching up to do to figure out how to select between the various kernels but I'm getting into side issues. My main need is getting fsl,sai-multi-lane back in linux-fslc 5.10 since we moved away from linux-imx over a year ago. Hopefully that better explains where I'm coming from and what my issue is. Regards, Brian |
|