[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADRPPNST8XRhO5yR7p8pSbbJCO7xwhF2W3WZ7R=63mTET+fAdA@mail.gmail.com>
Date: Thu, 22 Jul 2021 14:37:59 -0500
From: Li Yang <leoyang.li@....com>
To: Maxim Kochetkov <fido_max@...ox.ru>
Cc: saravanak@...gle.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
lkml <linux-kernel@...r.kernel.org>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>,
Zhao Qiang <qiang.zhao@....com>
Subject: Re: [PATCH] soc: fsl: qe: convert QE interrupt controller to platform_device
On Mon, Jul 19, 2021 at 1:57 AM Maxim Kochetkov <fido_max@...ox.ru> wrote:
>
> 15.07.2021 01:29, Li Yang wrote:
> > From the original code, this should be type = "qeic". It is not
> > defined in current binding but probably needed for backward
> > compatibility.
>
> I took these strings from this part:
>
> np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic");
>
> if (!np) {
>
> np = of_find_node_by_type(NULL, "qeic");
>
> if (!np)
>
> return -ENODEV;
>
> }
>
> However I can't find usage of "qeic" in any dts, so I will drop this in V2
It is really a bit hard to find as it is pretty old. But it was
really used up until this commit below in 2008. So probably it will
be better to keep it just for backward compatibility?
commit a2dd70a11d4c9cb8a4e4bb41f53a9b430e08559b
Author: Anton Vorontsov <avorontsov@...mvista.com>
Date: Thu Jan 24 18:39:59 2008 +0300
[POWERPC] QE: get rid of most device_types and model
Now we're searching for "fsl,qe", "fsl,qe-muram", "fsl,qe-muram-data"
and "fsl,qe-ic".
Unfortunately it's still impossible to remove device_type = "qe"
from the existing device trees because older u-boots are looking for it.
Signed-off-by: Anton Vorontsov <avorontsov@...mvista.com>
Signed-off-by: Kumar Gala <galak@...nel.crashing.org>
Regards,
Leo
Powered by blists - more mailing lists