From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758301AbcJYCxI (ORCPT ); Mon, 24 Oct 2016 22:53:08 -0400 Received: from vern.gendns.com ([206.190.152.46]:51337 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758032AbcJYCxE (ORCPT ); Mon, 24 Oct 2016 22:53:04 -0400 Subject: Re: [PATCH/RFT v2 07/17] ARM: davinci: da8xx: Enable the usb20 "per" clk on phy_clk_enable To: ahaslam@baylibre.com, gregkh@linuxfoundation.org, johan@kernel.org, robh+dt@kernel.org, nsekhar@ti.com, stern@rowland.harvard.edu, khilman@baylibre.com, sshtylyov@ru.mvista.com, manjunath.goudar@linaro.org, broonie@kernel.org, abailon@baylibre.com References: <20161024164634.4330-1-ahaslam@baylibre.com> <20161024164634.4330-8-ahaslam@baylibre.com> Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: David Lechner Message-ID: Date: Mon, 24 Oct 2016 21:53:00 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161024164634.4330-8-ahaslam@baylibre.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/24/2016 11:46 AM, ahaslam@baylibre.com wrote: > From: Axel Haslam > > While probing ochi phy with usb20 phy as a parent clock for usb11_phy, > the usb20_phy clock enable would time out. This is because the usb20 > module clock needs to enabled while trying to lock the usb20_phy PLL. > > Call clk enable and get for the usb20 peripheral before trying to > enable the phy PLL. > > Signed-off-by: Axel Haslam > --- This patch can be combined with "ARM: davinci: da8xx: add usb phy clocks" since that patch has not been merged yet. If you like, I can resubmit my patches from this series along with the changes from this patch. From mboxrd@z Thu Jan 1 00:00:00 1970 From: david@lechnology.com (David Lechner) Date: Mon, 24 Oct 2016 21:53:00 -0500 Subject: [PATCH/RFT v2 07/17] ARM: davinci: da8xx: Enable the usb20 "per" clk on phy_clk_enable In-Reply-To: <20161024164634.4330-8-ahaslam@baylibre.com> References: <20161024164634.4330-1-ahaslam@baylibre.com> <20161024164634.4330-8-ahaslam@baylibre.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/24/2016 11:46 AM, ahaslam at baylibre.com wrote: > From: Axel Haslam > > While probing ochi phy with usb20 phy as a parent clock for usb11_phy, > the usb20_phy clock enable would time out. This is because the usb20 > module clock needs to enabled while trying to lock the usb20_phy PLL. > > Call clk enable and get for the usb20 peripheral before trying to > enable the phy PLL. > > Signed-off-by: Axel Haslam > --- This patch can be combined with "ARM: davinci: da8xx: add usb phy clocks" since that patch has not been merged yet. If you like, I can resubmit my patches from this series along with the changes from this patch.