[PATCH] ARM: dts: imx: drop "fsl,aips-bus"

Rob Herring robh at kernel.org
Tue Jan 14 06:39:19 PST 2020


On Sun, Jan 5, 2020 at 8:38 PM Peng Fan <peng.fan at nxp.com> wrote:
>
> Hi Rob,
>
> > Subject: Re: [PATCH] ARM: dts: imx: drop "fsl,aips-bus"
> >
> > On Mon, Dec 30, 2019 at 08:58:05AM +0000, Peng Fan wrote:
> > > From: Peng Fan <peng.fan at nxp.com>
> > >
> > > There is no binding doc for "fsl,aips-bus", "simple-bus" is enough for
> > > aips usage, so drop it.
> >
> > NAK. The AIPS bus has registers, so 'simple-bus' alone is not enough.
>
> You mean the "reg" property below, right?
>                 aips-bus at 2000000 { /* AIPS1 */
> -                       compatible = "fsl,aips-bus", "simple-bus";
> +                       compatible = "simple-bus";
>                         #address-cells = <1>;
>                         #size-cells = <1>;
>                         reg = <0x02000000 0x100000>;
>
> But the reg property is not required, I think it could be removed.
> There is no binding doc and driver for "fsl,aips-bus", so I think
> It not make sense to have that compatible in dts.

Well, there should be a binding doc, but whether or not there's a
driver is irrelevant.

>From what I remember, either AIPS or SPBA bus has registers to allow
user mode access or not. Something may need to configure those and it
may want to use DT info to do that. It's not just Linux that you need
to think about.

Rob



More information about the linux-arm-kernel mailing list