Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751633AbdFILR2 (ORCPT ); Fri, 9 Jun 2017 07:17:28 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52513 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751535AbdFILR1 (ORCPT ); Fri, 9 Jun 2017 07:17:27 -0400 Message-ID: <1497007042.22734.35.camel@collabora.co.uk> Subject: Re: [RFC] usb-phy-generic: Add support to SMSC USB3315 From: Fabien Lahoudere To: Peter Chen Cc: Stephen Boyd , Peter Senna Tschudin , Felipe Balbi , Greg Kroah-Hartman , "open list:USB PHY LAYER" , open list Date: Fri, 09 Jun 2017 13:17:22 +0200 In-Reply-To: References: <1495563396.12055.93.camel@collabora.co.uk> <20170523210022.GN20170@codeaurora.org> <1495708587.12055.97.camel@collabora.co.uk> <1495789230.12055.104.camel@collabora.co.uk> <20170602220010.GQ20170@codeaurora.org> <1496653020.31741.2.camel@collabora.co.uk> <20170605094330.GA21071@b29397-desktop> <1496656346.31741.4.camel@collabora.co.uk> <20170606015528.GB26189@b29397-desktop> <1496770570.22734.3.camel@collabora.co.uk> <20170607014312.GA10588@b29397-desktop> <1496924821.22734.15.camel@collabora.co.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 31 Hi Peter On Fri, 2017-06-09 at 08:26 +0000, Peter Chen wrote: >   > > > > I have a look at your patches (http://www.spinics.net/lists/linux-usb/msg157134.html) > > and I wonder if power sequence is applicable only on hub node? > > No, power sequence can be used for any devices which needs to carry out power on > before probe. > > > hub are probed too > > late (after ci_ulpi_init). Do you think it is possible to read a power sequence in dts > > from ci_ulpi_init? > > > > I think the suitable place for power sequence is at ulpi_of_register, some ULPI PHYs > need to carry out power on before reading ID. > I do some test to verify that ulpi_of_register is called before hw_phymode_configure but it is not the case. Can you confirm that ULPI phys works with IMX6?  It seems that IMX53 and IMX6 use the same chipidea controller and should have the same behaviour. So I wonder if the issue I encounter can be a SOC issue. Thanks > Peter