Message ID | 20180628043713.14425-1-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Hi Andrey, On Thu, Jun 28, 2018 at 1:37 AM, Andrey Smirnov <andrew.smirnov@gmail.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@nxp.com> > Cc: Shawn Guo <shawnguo@kernel.org> > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.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/ Thanks
On Thu, Jun 28, 2018 at 6:35 AM Fabio Estevam <festevam@gmail.com> wrote: > > Hi Andrey, > > On Thu, Jun 28, 2018 at 1:37 AM, Andrey Smirnov > <andrew.smirnov@gmail.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@nxp.com> > > Cc: Shawn Guo <shawnguo@kernel.org> > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.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
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>; clocks = <&clk_usb>; clock-names = "main_clk"; reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
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@nxp.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> --- arch/arm/boot/dts/imx51-babbage.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)