From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Norris Subject: Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399 Date: Wed, 14 Dec 2016 17:18:24 -0800 Message-ID: <20161215011821.GA44014@google.com> References: <1481710301-1454-1-git-send-email-zhengxing@rock-chips.com> <1481710301-1454-4-git-send-email-zhengxing@rock-chips.com> <20161215004737.GA32652@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20161215004737.GA32652-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Doug Anderson Cc: Mark Rutland , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Elaine Zhang , Heiko =?iso-8859-1?Q?St=FCbner?= , Xing Zheng , Catalin Marinas , Shawn Lin , Dmitry Torokhov , Will Deacon , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "open list:ARM/Rockchip SoC..." , Rob Herring , David Wu , William wu , Jianqun Xu , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Caesar Wang List-Id: devicetree@vger.kernel.org On Wed, Dec 14, 2016 at 04:47:38PM -0800, Brian Norris wrote: > On Wed, Dec 14, 2016 at 04:10:38PM -0800, Doug Anderson wrote: > > On Wed, Dec 14, 2016 at 2:11 AM, Xing Zheng wrote: > > > From: William wu > > > > > > We found that the suspend process was blocked when it run into > > > ehci/ohci module due to clk-480m of usb2-phy was disabled. One more thing: why is the USB2 PHY relevant to the OHCI controller? And if it is relevant, why isn't there a PHY phandle for it in usb_host0_ohci and usb_host1_ohci in rk3399.dtsi? As it stands, your patch is hacking in USB2 clock references for OHCI, but you're not actually managing the PHY there at all. Seems like you'd want to do all-or-nothing if there's a functional dependency between the OHCI controllers and the USB2 PHYs. Brian