From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB026C433EF for ; Wed, 27 Oct 2021 15:19:52 +0000 (UTC) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web11.13240.1635347991834755611 for ; Wed, 27 Oct 2021 08:19:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RrzHMHvw; spf=pass (domain: gmail.com, ip: 209.85.128.49, mailfrom: b.hutchman@gmail.com) Received: by mail-wm1-f49.google.com with SMTP id j2-20020a1c2302000000b0032ca9b0a057so2642623wmj.3 for ; Wed, 27 Oct 2021 08:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GEslBiYdv8fHBTLdLYPllndLQjCFjiEF/MfvLvSG/2g=; b=RrzHMHvw6Ji5qlSzF6oSaSopEdo5vjDb1LZznZYeqgXq4bQpf21xOcO4xoDS/dW48T x2kv+IKaHqDZ9/MIR2ptt1+5jkOXymXecdRh6CsERt6eUbY6uXRa0nu/b5MMi3Xmfito cidXEanxtUrySG/rouXJ8B0hq0h/7IjeO2U08VYj6sDzUTfhex1zb6vq5k0Nmb/dvndW zlTNGrqRXIPvx4OGxAms/sxViSz85g7LYfyZ67hs5VtVjwc9FiVtqJ/G3LkaHb5/bK70 7dXE+ZypTguAwnwy9NJCJlCcvXyLMc8RidxjCOORpKrvkwvSs71xMa6tix4V7GbFAJvn AFcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GEslBiYdv8fHBTLdLYPllndLQjCFjiEF/MfvLvSG/2g=; b=0k1scJ6cXgIkdR+4pPdoNwVej9kOthTvZcHrmWSqckY5iDeh5284XgDy4zzXtIqdBf WnW7m3tCD+8F/cwSTPuZQJcKV6kyatNTJdd+mjw4nsf0vIruL9ZkiTb7lL4gaP80KB+V DFl5X4KE1jOF+79U305IQ2TVrZaN+6wBuPo2pZa1HNdH/fSFjgB8oW/IHqzJJnwxJGVg nELuoKqNXNsPBvreIwXiJ4ofxQThDXo1CFHxevaHDY7lwRlmZjI9KJvDQKJIJUMRIOAV Q9Pjf4a82tqi0MF6L3DgKmNYFysub9uIfhueXJD+f7DTGyP7ISRN2rpCYG0uH3EBv+Cn b3Yg== X-Gm-Message-State: AOAM532fl9uzrscdHoKUjtmcT0CXqtO/6nCCAGx2I4r1YW5QjsLYQLbm eyUZ4TFkgU2xhegHW73AWvSsd/5qiAo9Ke947EA= X-Google-Smtp-Source: ABdhPJy+jTQjJ4kOOPts5va8kiKanQxdgbi2SgBgqcoY1vWcsP+XbFdAvN+poX5KzIgp6fa8gG4EyMjiy3AsR8UsJgI= X-Received: by 2002:a05:600c:4143:: with SMTP id h3mr6268626wmm.19.1635347990291; Wed, 27 Oct 2021 08:19:50 -0700 (PDT) MIME-Version: 1.0 References: <16B199CF92574165.11657@lists.yoctoproject.org> In-Reply-To: From: Brian Hutchinson Date: Wed, 27 Oct 2021 11:19:39 -0400 Message-ID: Subject: Re: [meta-freescale] linux-fsl 5.10 kernels don't appear to have multi-lane in sound/soc/fsl/fsl_sai.c To: Fabio Estevam Cc: meta-freescale@lists.yoctoproject.org Content-Type: multipart/alternative; boundary="0000000000000baba705cf57202d" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 27 Oct 2021 15:19:52 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-freescale/message/24773 --0000000000000baba705cf57202d Content-Type: text/plain; charset="UTF-8" Hey Fabio, On Wed, Oct 27, 2021 at 10:33 AM Fabio Estevam wrote: > On Wed, Oct 27, 2021 at 9:45 AM Brian Hutchinson > 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 --0000000000000baba705cf57202d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Fabio,


On We= d, Oct 27, 2021 at 10:33 AM Fabio Estevam <festevam@gmail.com> wrote:
On Wed, Oct 27, 2021 at 9:45 AM Brian Hutchinson= <b.hutchman@g= mail.com> wrote:

> I hoped folks would know what I was talking about without getting too = far into the weeds.=C2=A0 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 {
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 pinctrl-names =3D "default";
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 pinctrl-0 =3D <&pinctrl_sai1>; >=C2=A0 =C2=A0 =C2=A0 =C2=A0 assigned-clocks =3D <&clk IMX8MM_CLK= _SAI1>;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 assigned-clock-parents =3D <&clk IMX= 8MM_AUDIO_PLL1_OUT>;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 assigned-clock-rates =3D <24576000>;<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 clocks =3D <&clk IMX8MM_CLK_SAI1_IPG= >, <&clk IMX8MM_CLK_DUMMY>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <&clk IM= X8MM_CLK_SAI1_ROOT>, <&clk IMX8MM_CLK_DUMMY>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <&clk IM= X8MM_CLK_DUMMY>, <&clk IMX8MM_AUDIO_PLL1_OUT>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <&clk IM= X8MM_AUDIO_PLL2_OUT>;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 clock-names =3D "bus", "mclk= 0", "mclk1", "mclk2", "mclk3", "pll= 8k", "pll11k";
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 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<= br> the NXP 5.10 kernel.

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

=
My local.conf has REFERRED_PROVIDER_virt= ual/kernel =3D "linux-fslc-imx"

Regards,

Brian
=
--0000000000000baba705cf57202d--