lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHQ1cqHysWKNnHJNym4-FXS-kXnUhrbDwaZ+Pc5=79oVM+M71A@mail.gmail.com>
Date:   Thu, 28 Jun 2018 17:53:02 -0700
From:   Andrey Smirnov <andrew.smirnov@...il.com>
To:     Fabio Estevam <festevam@...il.com>
Cc:     Shawn Guo <shawnguo@...nel.org>,
        Fabio Estevam <fabio.estevam@....com>,
        linux-kernel <linux-kernel@...r.kernel.org>,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] ARM: dts: imx51-babbage: Fix reg for usbh1phy

On Thu, Jun 28, 2018 at 6:35 AM Fabio Estevam <festevam@...il.com> wrote:
>
> Hi Andrey,
>
> On Thu, Jun 28, 2018 at 1:37 AM, Andrey Smirnov
> <andrew.smirnov@...il.com> wrote:
> > There's already a USB PHY with reg of zero on that bus - usbphy0, used
> > by usbotg (included from imx51.dtsi). Move usbh1phy to @1 avoid
> > address collision.
> >
> > Cc: Fabio Estevam <fabio.estevam@....com>
> > Cc: Shawn Guo <shawnguo@...nel.org>
> > Cc: linux-arm-kernel@...ts.infradead.org
> > Cc: linux-kernel@...r.kernel.org
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@...il.com>
> > ---
> >  arch/arm/boot/dts/imx51-babbage.dts | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/imx51-babbage.dts b/arch/arm/boot/dts/imx51-babbage.dts
> > index b8ca73d3d379..541c6e67ad1a 100644
> > --- a/arch/arm/boot/dts/imx51-babbage.dts
> > +++ b/arch/arm/boot/dts/imx51-babbage.dts
> > @@ -175,9 +175,9 @@
> >                 #size-cells = <0>;
> >                 compatible = "simple-bus";
> >
> > -               usbh1phy: usbh1phy@0 {
> > +               usbh1phy: usbh1phy@1 {
> >                         compatible = "usb-nop-xceiv";
> > -                       reg = <0>;
> > +                       reg = <1>;
>
> We don't really need the 'reg' property here.
>
> I have sent a previous fix for this on an attempt to fix dtc warnings
> with W=1,  so let me send a v2 based on the feedback I got previously:
> https://patchwork.kernel.org/patch/10399085/

OK, cool, good to hear. Please disregard this patch in that case.

Thanks,
Andrey Smirnov

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ