From patchwork Thu Jun 16 16:07:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 100660 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 CBC15B6FB1 for ; Fri, 17 Jun 2011 02:08:01 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QXF6l-0000Jp-1t; Thu, 16 Jun 2011 16:07:51 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QXF6k-0001hV-MS; Thu, 16 Jun 2011 16:07:50 +0000 Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]) by canuck.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1QXF6h-0001hC-3r for linux-arm-kernel@lists.infradead.org; Thu, 16 Jun 2011 16:07:48 +0000 Received: from mail-pw0-f46.google.com ([209.85.160.46]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKTfoqT91EcGkwrup2edJ1+To63WtzGfCr@postini.com; Thu, 16 Jun 2011 09:07:46 PDT Received: by pwj7 with SMTP id 7so531267pwj.33 for ; Thu, 16 Jun 2011 09:07:43 -0700 (PDT) Received: by 10.68.35.195 with SMTP id k3mr602538pbj.229.1308240463336; Thu, 16 Jun 2011 09:07:43 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net [24.19.7.36]) by mx.google.com with ESMTPS id p5sm995721pbd.92.2011.06.16.09.07.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2011 09:07:41 -0700 (PDT) From: Kevin Hilman To: Grant Likely Subject: Re: [PATCH 00/14] GPIO: OMAP: first round of cleanup Organization: Texas Instruments, Inc. References: <1305904497-26013-1-git-send-email-khilman@ti.com> <20110527032439.GK5032@ponder.secretlab.ca> Date: Thu, 16 Jun 2011 09:07:39 -0700 In-Reply-To: <20110527032439.GK5032@ponder.secretlab.ca> (Grant Likely's message of "Thu, 26 May 2011 21:24:39 -0600") Message-ID: <87r56trc8k.fsf@ti.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110616_120747_407364_960333BA X-CRM114-Status: GOOD ( 15.17 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.75 listed in list.dnswl.org] Cc: linux-omap@vger.kernel.org, Linus Walleij , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 Grant Likely writes: > On Fri, May 20, 2011 at 05:14:43PM +0200, Kevin Hilman wrote: >> Start moving SoC-specific register handling out of the driver by passing >> in register offsets in via platform data. >> >> Also, move OMAP1 MPUIO IRQ handling over to genric IRQ chip. >> >> Applies on top of Tony's for-next branch (which include's the generic >> IRQ chip work from tglx) and the OMAP GPIO driver move to >> drivers/gpio. > > Hey Kevin, > > If you've got a branch with this series in it and tested, then I'd be > happy to pull that instead of applying the patches myself. > OK, I rebased this on v3.0-rc2 and now it's been through quite a bit more testing. Here's a branch for you. Also FYI, we'll probably have 2nd round of GPIO cleanups/updates and runtime PM conversion for the upcoming merge window too. Kevin The following changes since commit 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2: Linux 3.0-rc3 (2011-06-13 15:29:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git for_3.1/gpio-cleanup Charulatha V (1): GPIO: OMAP: remove get_gpio_bank() Kevin Hilman (13): GPIO: OMAP: _clear_gpio_irqbank: fix flushing of posted write GPIO: OMAP: remove MPUIO handling from _clear_gpio_irqbank() GPIO: OMAP: move bank width into struct gpio_bank GPIO: OMAP: _get_gpio_irqbank_mask: replace hard-coded mask with bank->width GPIO: OMAP: replace get_gpio_index() by using bank width GPIO: OMAP: consolidate direction, input, output, remove #ifdefs GPIO: OMAP: consolidate IRQ status handling, remove #ifdefs GPIO: OMAP: conslidate enable/disable of GPIO IRQs, remove ifdefs GPIO: OMAP: convert MPUIO IRQ over to generic irq_chip GPIO: OMAP: remove useless gpio_valid() & check_gpio() checks GPIO: OMAP: cleanup _set_gpio_wakeup(), remove ifdefs GPIO: OMAP: debounce remove SoC specific registers, use pdata GPIO: OMAP: cleanup show revision, remove cpu_is checks, display only once arch/arm/mach-omap1/gpio15xx.c | 22 + arch/arm/mach-omap1/gpio16xx.c | 28 ++ arch/arm/mach-omap1/gpio7xx.c | 27 ++ arch/arm/mach-omap2/gpio.c | 32 ++ arch/arm/plat-omap/include/plat/gpio.h | 20 + drivers/gpio/gpio-omap.c | 723 +++++++------------------------- 6 files changed, 282 insertions(+), 570 deletions(-)