Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757255AbcLOB0A (ORCPT ); Wed, 14 Dec 2016 20:26:00 -0500 Received: from mail-pg0-f45.google.com ([74.125.83.45]:33642 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754725AbcLOBZ7 (ORCPT ); Wed, 14 Dec 2016 20:25:59 -0500 Date: Wed, 14 Dec 2016 17:18:24 -0800 From: Brian Norris To: Doug Anderson Cc: Mark Rutland , "devicetree@vger.kernel.org" , Dmitry Torokhov , Heiko =?iso-8859-1?Q?St=FCbner?= , Xing Zheng , Catalin Marinas , Shawn Lin , Elaine Zhang , Will Deacon , "linux-kernel@vger.kernel.org" , "open list:ARM/Rockchip SoC..." , Rob Herring , David Wu , William wu , Jianqun Xu , "linux-arm-kernel@lists.infradead.org" , Caesar Wang Subject: Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399 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-Disposition: inline In-Reply-To: <20161215004737.GA32652@google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 17 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