From patchwork Thu Nov 22 09:30:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 201029 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 BF2C32C008F for ; Thu, 22 Nov 2012 20:33:46 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbT7E-0002MD-2E; Thu, 22 Nov 2012 09:30:36 +0000 Received: from mail-ea0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TbT79-0002Lh-M4 for linux-arm-kernel@lists.infradead.org; Thu, 22 Nov 2012 09:30:33 +0000 Received: by mail-ea0-f177.google.com with SMTP id c10so1332404eaa.36 for ; Thu, 22 Nov 2012 01:30:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=wbgns1G6pzBUXfYYTRVRNcghgjMxnab09eV9kYXiWJI=; b=moUT5NQ+GEgTI0GMloUYp80UXSBfShcdr5GZ6ii0TcPQdE6v/s2IYYkU4Cax5YH8Jr klfkjXEMfviozZ1bGstdGWYUEaE+cLxCi2nu0uSKoEX7yR/N/eRr6CkveS/CxaMkHpKj NtBZnw+WXRcFaw0ezDLK6HPnFmfSGewp+72OopXRLpzY5OA2C6/jUxJEjFOC6ikvBHdY REFlKTFEeFIHVIAqrvahDPiv4Fdpj4J/r1KaEedYuZ4S7Digp8tP7LrPNvnknClzBmSd E4o1fhV30jvvHgirPDaJS4dPBzBOQhDxtH9CAncPOtXjBDruRUX8PxIHYtNTJZcEfcPp 0Jxw== MIME-Version: 1.0 Received: by 10.14.0.198 with SMTP id 46mr55987775eeb.21.1353576628132; Thu, 22 Nov 2012 01:30:28 -0800 (PST) Received: by 10.223.36.4 with HTTP; Thu, 22 Nov 2012 01:30:27 -0800 (PST) Date: Thu, 22 Nov 2012 10:30:27 +0100 Message-ID: Subject: [GIT PULL] GPIO patch stack for v3.8 From: Linus Walleij To: Grant Likely X-Gm-Message-State: ALoCoQlot6PcSDoIypGLTa3qgwxW7RPvsCe4fUUduVPyhwsxU6mGEKqvfjiJoA5wlJ/78H0+RaxB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121122_043032_283206_4E73D1AA X-CRM114-Status: GOOD ( 17.79 ) 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 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: arm@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Grant, to avoid any mess during the v3.8 merge window, could you please pull this patch stack to your GPIO branch for v3.8? All these patches have been resting in linux-next and are reviewed and ACKed by maintainers. A more verbose description is in the signed tag. Some confusion stems from the fact that I applied my own patches without replying to myself that I applied them ... split personality/role problem. If you pull this in, things should be more clear on what's queued and not - everything is in your tree. Note that ARM SoC is already using parts of this tree as baseline for stuff in their tree so rebasing this patch trail is *not* recommended. Please pull it in! Apart from this there are a few gpiolib patches in the pinctrl tree as well. Those are about adding the GPIOchip local GPIO numberspace to pinctrl local numberspace ranges as we discussed with Dong Aisheng in Hong Kong, I'd be happy to brief you on the implementation if need be. It's also detailed here: https://blueprints.launchpad.net/linux-linaro/+spec/pinctrl-gpiorange-makeover Yours, Linus Walleij The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git tags/gpio-for-grant-v3.8 for you to fetch changes up to b53bc2819a71099ecfc3d61ba0796b3dcc6be321: gpio: SPEAr: add spi chipselect control driver (2012-11-18 00:01:27 +0100) ---------------------------------------------------------------- This is my GPIO patch stack for the v3.8 merge window: Major changes: - A refactoring of gpio_export from Ryan Mallon - A gpio get direction callback in gpio_chip from Mattias Nyman, bringing that state closer to the real hardware state if the driver can support this Minor changes: - A new driver for the DA9055 PMIC - A new driver form the SPEAr SPI chipselect controller - A moved and refactored CLPS711X driver from the ARM tree with some fixes on top (fallout from linux-next) - A number of IRQdomain cleanups + fallout fixes from myself - Converted PCA953x to IRQdomain and finalize DT support - A number of devm_* managed resources type of fixes - Extended banks for WM8505/WM8650 - Set parent pointer for the PCH driver - Tegra suspend/resume API fixes and other fixes - Updates to TWL4030 from Peter Ujfalusi - Various cleanups from Axel Lin ---------------------------------------------------------------- Alexander Shiyan (3): GPIO: Add support for GPIO on CLPS711X-target platform GPIO: clps711x: Fix return value for gpio_clps711x_get GPIO: clps711x: Fix direction logic for PORTD Alexander Stein (1): gpio-pch: Set parent dev for gpio chip Ashish Jangam (1): DA9055 GPIO driver Axel Lin (4): gpio: em: Fix build errors gpio: tegra: Staticize non-exported symbols gpio: tegra: Drop exporting static functions gpio: mvebu: Set free callback for gpio_chip Dan Carpenter (1): gpiolib: unlock on error in gpio_export() Laxman Dewangan (2): gpio: tegra: fix suspend/resume apis gpio: tegra: read output value when gpio is set in direction_out Linus Walleij (5): gpio: clps711x: delete local header gpio/tegra: convert to use linear irqdomain gpio/mvebu: convert to use irq_domain_add_simple() gpio/em: convert to linear IRQ domain gpio/tc3589x: convert to use the simple irqdomain Mathias Nyman (1): gpiolib: add gpio get direction callback support Maxime Ripard (2): gpio: pca953x: Register an IRQ domain gpio: pca953x: Add compatible strings to gpio-pca953x driver Peter Ujfalusi (1): gpio: twl4030: Use only TWL4030_MODULE_LED for LED configuration Roland Stigge (1): gpio: gpio-max710x: Support device tree probing Ryan Mallon (1): gpiolib: Refactor gpio_export Shiraz Hashim (1): gpio: SPEAr: add spi chipselect control driver Tobias Klauser (2): gpio/gpio-pl061: Covert to use devm_* functions gpio/gpio-omap: Use existing pointer to struct device Tony Prisk (1): GPIO: vt8500: Add extended gpio bank for WM8505/WM8650 Wei Yongjun (1): GPIO: clps711x: use platform_device_unregister in gpio_clps711x_init() .../devicetree/bindings/gpio/spear_spics.txt | 50 +++++ arch/arm/Kconfig | 1 + arch/arm/plat-spear/Kconfig | 1 + drivers/gpio/Kconfig | 22 +++ drivers/gpio/Makefile | 3 + drivers/gpio/gpio-clps711x.c | 199 +++++++++++++++++++ drivers/gpio/gpio-da9055.c | 204 +++++++++++++++++++ drivers/gpio/gpio-em.c | 48 +---- drivers/gpio/gpio-max730x.c | 12 +- drivers/gpio/gpio-mvebu.c | 9 +- drivers/gpio/gpio-omap.c | 2 +- drivers/gpio/gpio-pca953x.c | 55 +++++- drivers/gpio/gpio-pch.c | 1 + drivers/gpio/gpio-pl061.c | 59 +++--- drivers/gpio/gpio-spear-spics.c | 217 +++++++++++++++++++++ drivers/gpio/gpio-tc3589x.c | 20 +- drivers/gpio/gpio-tegra.c | 43 ++-- drivers/gpio/gpio-twl4030.c | 35 ++-- drivers/gpio/gpio-vt8500.c | 2 + drivers/gpio/gpiolib.c | 124 ++++++++---- include/asm-generic/gpio.h | 5 +- 21 files changed, 931 insertions(+), 181 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/spear_spics.txt create mode 100644 drivers/gpio/gpio-clps711x.c create mode 100644 drivers/gpio/gpio-da9055.c create mode 100644 drivers/gpio/gpio-spear-spics.c