From patchwork Fri Jan 4 14:17:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 209467 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 555EA2C0082 for ; Sat, 5 Jan 2013 01:20:52 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tr85A-0001As-Mm; Fri, 04 Jan 2013 14:17:12 +0000 Received: from bear.ext.ti.com ([192.94.94.41]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tr856-0001AE-OS for linux-arm-kernel@lists.infradead.org; Fri, 04 Jan 2013 14:17:09 +0000 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r04EH5Ko014757; Fri, 4 Jan 2013 08:17:05 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r04EH5jt022598; Fri, 4 Jan 2013 08:17:05 -0600 Received: from dlelxv22.itg.ti.com (172.17.1.197) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Fri, 4 Jan 2013 08:17:05 -0600 Received: from [172.24.115.186] (h115-186.vpn.ti.com [172.24.115.186]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r04EH2ik001333; Fri, 4 Jan 2013 08:17:03 -0600 Message-ID: <50E6E45E.6010004@ti.com> Date: Fri, 4 Jan 2013 16:17:02 +0200 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Subject: Re: [PATCH v5 00/22] OMAP USB Host cleanup References: <1357138842-28964-1-git-send-email-rogerq@ti.com> In-Reply-To: <1357138842-28964-1-git-send-email-rogerq@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130104_091708_957320_F2B70F5F X-CRM114-Status: GOOD ( 23.63 ) X-Spam-Score: -4.6 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.41 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list -0.0 SPF_PASS SPF: sender matches SPF record -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: sshtylyov@mvista.com, tony@atomide.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@ti.com, keshava_mgowda@ti.com, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, bjorn@mork.no, Roger Quadros X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Samuel, Below is the pull request for this series. I've addressed the recent indentation issue pointed out by Sergei. The following changes since commit cfa7abd7a92396923889fc870090b5d748c603ab: Merge branch 'heads/fixes' into for-next (2013-01-02 12:40:04 -0800) are available in the git repository at: git://github.com/rogerq/linux.git arm-for-next-usbhost9-part Roger Quadros (22): mfd: omap-usb-tll: Avoid creating copy of platform data mfd: omap-usb-tll: Fix channel count detection mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path mfd: omap-usb-tll: Clean up clock handling mfd: omap-usb-tll: introduce and use mode_needs_tll() mfd: omap-usb-tll: Check for missing platform data in probe mfd: omap-usb-tll: Fix error message mfd: omap-usb-tll: serialize access to TLL device mfd: omap-usb-tll: Add OMAP5 revision and HSIC support mfd: omap_usb_host: Avoid creating copy of platform_data mfd: omap-usb-host: Use devm_kzalloc() and devm_request_and_ioremap() mfd: omap-usb-host: know about number of ports from revision register mfd: omap-usb-host: override number of ports from platform data mfd: omap-usb-host: cleanup clock management code mfd: omap-usb-host: Manage HSIC clocks for HSIC mode mfd: omap-usb-host: Get rid of unnecessary spinlock mfd: omap-usb-host: clean up omap_usbhs_init() USB: ehci-omap: Don't free gpios that we didn't request ARM: OMAP3: clock data: get rid of unused USB host clock aliases and dummies ARM: OMAP4: clock data: get rid of unused USB host clock aliases mfd: omap-usb-host: Don't spam console on clk_set_parent failure mdf: omap-usb-host: get rid of build warning arch/arm/mach-omap2/cclock3xxx_data.c | 11 - arch/arm/mach-omap2/cclock44xx_data.c | 7 - arch/arm/mach-omap2/usb-host.c | 1 + arch/arm/mach-omap2/usb.h | 1 + drivers/mfd/omap-usb-host.c | 499 +++++++++++++++++++------------- drivers/mfd/omap-usb-tll.c | 244 +++++++++------- drivers/usb/host/ehci-omap.c | 8 - include/linux/platform_data/usb-omap.h | 1 + 8 files changed, 435 insertions(+), 337 deletions(-) --- cheers, -roger On 01/02/2013 05:00 PM, Roger Quadros wrote: > Hi, > > This patchset addresses the following > > - Avoid addressing clocks one by one by name and use a for loop + bunch > of cleanups. > - Get number of channels/ports dynamically either from revision register > or from platform data. Avoids getting clocks that are not present. > - Add OMAP5 and HSIC mode (Not tested) > > v5: > - Rebased on top of todays arm-soc/for-next > - Removed the clock merging patch from the list. > - Updated patches 14, 19 and 20 to accomodate the above change. > - Added patch 22 to fix a build warning. > > v4: > - Added appropriate maintainers in to/cc > - minor print message fix in patch 23 to maintain consistency > > v3: > - Rebased on arm-soc/for-next commit f979306c4d38d213c6977aaf3b1115e8ded71e3a > - Rearranged patch that get rids of cpu_is_omap..() macros > - Coding style fixes > > v2: > - Clocks are allocated dynamically based on number of ports available > on the platform > - Reduced console spam if non critical clocks are not found on the platform. > - Get rid of cpu_is_.. macros from USB host driver. > > cheers, > -roger > > --- > Roger Quadros (22): > mfd: omap-usb-tll: Avoid creating copy of platform data > mfd: omap-usb-tll: Fix channel count detection > mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path > mfd: omap-usb-tll: Clean up clock handling > mfd: omap-usb-tll: introduce and use mode_needs_tll() > mfd: omap-usb-tll: Check for missing platform data in probe > mfd: omap-usb-tll: Fix error message > mfd: omap-usb-tll: serialize access to TLL device > mfd: omap-usb-tll: Add OMAP5 revision and HSIC support > mfd: omap_usb_host: Avoid creating copy of platform_data > mfd: omap-usb-host: Use devm_kzalloc() and devm_request_and_ioremap() > mfd: omap-usb-host: know about number of ports from revision register > mfd: omap-usb-host: override number of ports from platform data > mfd: omap-usb-host: cleanup clock management code > mfd: omap-usb-host: Manage HSIC clocks for HSIC mode > mfd: omap-usb-host: Get rid of unnecessary spinlock > mfd: omap-usb-host: clean up omap_usbhs_init() > USB: ehci-omap: Don't free gpios that we didn't request > ARM: OMAP3: clock data: get rid of unused USB host clock aliases and > dummies > ARM: OMAP4: clock data: get rid of unused USB host clock aliases > mfd: omap-usb-host: Don't spam console on clk_set_parent failure > mdf: omap-usb-host: get rid of build warning > > arch/arm/mach-omap2/cclock3xxx_data.c | 11 - > arch/arm/mach-omap2/cclock44xx_data.c | 7 - > arch/arm/mach-omap2/usb-host.c | 1 + > arch/arm/mach-omap2/usb.h | 1 + > drivers/mfd/omap-usb-host.c | 499 +++++++++++++++++++------------- > drivers/mfd/omap-usb-tll.c | 244 +++++++++------- > drivers/usb/host/ehci-omap.c | 8 - > include/linux/platform_data/usb-omap.h | 1 + > 8 files changed, 435 insertions(+), 337 deletions(-) >