From patchwork Wed Feb 27 16:31:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steffen Trumtrar X-Patchwork-Id: 2194041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id CB9373FD4E for ; Wed, 27 Feb 2013 16:34:03 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UAjup-00046q-RK; Wed, 27 Feb 2013 16:31:35 +0000 Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UAjul-00045a-NS for linux-arm-kernel@lists.infradead.org; Wed, 27 Feb 2013 16:31:32 +0000 Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UAjuh-0005tw-JM; Wed, 27 Feb 2013 17:31:27 +0100 Received: from str by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1UAjuh-0006KY-F8; Wed, 27 Feb 2013 17:31:27 +0100 Date: Wed, 27 Feb 2013 17:31:27 +0100 From: Steffen Trumtrar To: Marc Kleine-Budde Subject: Re: [PATCH 0/5] chipidea-for-v3.10-v1: USB chipidea: make use of DT helpers in chipidea driver improve driver Message-ID: <20130227163127.GD10491@pengutronix.de> References: <1361974830-3853-1-git-send-email-mkl@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1361974830-3853-1-git-send-email-mkl@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 17:30:05 up 180 days, 1:04, 15 users, load average: 0.15, 0.11, 0.17 User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:5054:ff:fec0:8e10 X-SA-Exim-Mail-From: str@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130227_113131_936513_1B5DEF8D X-CRM114-Status: GOOD ( 22.11 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: alexander.shishkin@linux.intel.com, linux-usb@vger.kernel.org, matthieu.castet@parrot.com, kishon@ti.com, peter.chen@freescale.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On Wed, Feb 27, 2013 at 03:20:25PM +0100, Marc Kleine-Budde wrote: > Hello, > > this series depends on the series "[PATCH 0/3] otg-for-v3.10-v1: separate phy > code and add DT helper" (a.k.a. tags/otg-for-v3.10-v1) posted earlier and is > intended for v3.10. The chipidea driver is converted to make use of the DT > helper functions. > > regards, > Marc > > > The following changes since commit 8a4c9f8489b2fce9e7bf0eb43fdb160ab51adc2c: > > USB mxs-phy: Register phy with framework (2013-02-27 13:48:21 +0100) > > are available in the git repository at: > > git://git.pengutronix.de/git/mkl/linux.git tags/chipidea-for-v3.10-v1 > > for you to fetch changes up to 5d837224ea36da50f3e744a65fb23af1fa0a480d: > > USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy (2013-02-27 13:49:07 +0100) > > ---------------------------------------------------------------- > USB chipidea: make use of DT helpers in chipidea driver > > Make use of DT helper functions for handling the dr_mode and phy_type property. > > ---------------------------------------------------------------- > Michael Grzeschik (2): > USB chipidea: ci13xxx-imx: create dynamic platformdata > USB chipidea: add PTW and PTS handling > > Sascha Hauer (3): > USB chipidea: introduce dual role mode pdata flags > USB chipidea i.MX: introduce dr_mode property > USB chipidea i.MX: use devm_usb_get_phy_by_phandle to get phy > > .../devicetree/bindings/usb/ci13xxx-imx.txt | 6 ++ > drivers/usb/chipidea/bits.h | 14 +++- > drivers/usb/chipidea/ci13xxx_imx.c | 67 +++++++++++--------- > drivers/usb/chipidea/core.c | 61 ++++++++++++++++-- > include/linux/usb/chipidea.h | 3 +- > 5 files changed, 112 insertions(+), 39 deletions(-) > > > > Hi, with this series plus otg-for-v3.9-v1: USB otg: fix usage of try_module_get() and module_put() otg-for-v3.10-v1: separate phy code and add DT helper v9: Add tested id switch and vbus connect detect support for Chipidea and I have USB otg+host working on v3.8 on an i.MX28. So, Tested-by: Steffen Trumtrar Regards, Steffen diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index 13b7053..1eeff3c 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -907,7 +907,8 @@ compatible = "fsl,imx28-usb", "fsl,imx27-usb"; reg = <0x80080000 0x10000>; interrupts = <93>; - clocks = <&clks 60>; + clocks = <&clks 60>, <&clks 60>, <&clks 60>; + clock-names = "ipg", "ahb", "per"; fsl,usbphy = <&usbphy0>; status = "disabled"; }; @@ -916,7 +917,8 @@ compatible = "fsl,imx28-usb", "fsl,imx27-usb"; reg = <0x80090000 0x10000>; interrupts = <92>; - clocks = <&clks 61>; + clocks = <&clks 61>, <&clks 61>, <&clks 61>; + clock-names = "ipg", "ahb", "per"; fsl,usbphy = <&usbphy1>; status = "disabled"; };