[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCN7xK52cRA3xHmmDQB_aYACfDpVdZvWNXTr4Hd9b3BDnSHyg@mail.gmail.com>
Date: Fri, 23 Oct 2020 06:03:32 -0500
From: Adam Ford <aford173@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: arm-soc <linux-arm-kernel@...ts.infradead.org>,
Marek Vasut <marex@...x.de>,
Lucas Stach <l.stach@...gutronix.de>,
Adam Ford-BE <aford@...conembedded.com>,
Rob Herring <robh+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Andrey Smirnov <andrew.smirnov@...il.com>,
devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/4] arm64: dts: imx8mn: Add power-domain reference in USB controller
On Fri, Oct 23, 2020 at 4:55 AM Krzysztof Kozlowski <krzk@...nel.org> wrote:
>
> On Thu, Oct 22, 2020 at 10:08:07AM -0500, Adam Ford wrote:
> > The USB OTG controller cannot be used until the power-domain is enabled
> > unless it was started in the bootloader.
> >
> > Adding the power-domain reference to the OTG node allows the OTG
> > controller to operate.
> >
> > Signed-off-by: Adam Ford <aford173@...il.com>
> >
>
> I wonder, why your patches do not have usual Git trailer with summary of
> changes (after '---')?
I historically have just done 'git format-patch -pX' but I haven't
seen complaints that the summary was missing. I can add them going
forward. Most of these individual patches have only touched single
files or created new files all together.
>
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> > index 27733fbe87e9..605e6dbd2c6f 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi
> > @@ -979,6 +979,7 @@ usbotg1: usb@...40000 {
> > assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
> > fsl,usbphy = <&usbphynop1>;
> > fsl,usbmisc = <&usbmisc1 0>;
> > + power-domains = <&pgc_otg1>;
>
> I guess you need it also for the usbphynop1 and usbmisc1.
>From what I can see looking at the IP blocks and the vendor's code
repo, only the usbotg IP block needs the power-domain to enable the
clocking going to it. AFAICT, neither the usbphynop nor the usbmisc
are using clocks gated by the power-domain.
Thanks again for all your reviews.
adam
>
> Best regards,
> Krzysztof
Powered by blists - more mailing lists