Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756238Ab2JLTLu (ORCPT ); Fri, 12 Oct 2012 15:11:50 -0400 Received: from mail.work-microwave.de ([62.245.205.51]:51827 "EHLO work-microwave.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752558Ab2JLTLr (ORCPT ); Fri, 12 Oct 2012 15:11:47 -0400 From: Roland Stigge To: grant.likely@secretlab.ca, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, w.sang@pengutronix.de, jbe@pengutronix.de, plagnioj@jcrosoft.com, highguy@gmail.com, broonie@opensource.wolfsonmicro.com Cc: Roland Stigge Subject: [PATCH RFC 0/6 v3] gpio: Add block GPIO Date: Fri, 12 Oct 2012 21:11:19 +0200 Message-Id: <1350069085-13283-1-git-send-email-stigge@antcom.de> X-Mailer: git-send-email 1.7.10.4 X-FEAS-SYSTEM-WL: rst@work-microwave.de, 192.168.11.78 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1805 Lines: 45 This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO API, to provide userland access * Devicetree support to instantiate GPIO blocks via DT * Example implementations in several gpio drivers since they need special accessor functions for block wise GPIO access Signed-off-by: Roland Stigge -- Changes since v2: * Added sysfs support * Added devicetree support * Added support for lpc32xx, generic * Added functions for GPIO block registration * Added more error checking * Bit remapping bugfix Roland Stigge (6): gpio: Add a block GPIO API to gpiolib gpio: Add sysfs support to block GPIO API gpio: Add device tree support to block GPIO API gpio-max730x: Add block GPIO API gpio-lpc32xx: Add block GPIO API gpio-generic: Add block GPIO API Documentation/ABI/testing/sysfs-gpio | 6 Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 Documentation/gpio.txt | 45 + drivers/gpio/Makefile | 1 drivers/gpio/gpio-generic.c | 56 + drivers/gpio/gpio-lpc32xx.c | 78 + drivers/gpio/gpio-max730x.c | 60 + drivers/gpio/gpioblock-of.c | 83 + drivers/gpio/gpiolib.c | 449 +++++++++- include/asm-generic/gpio.h | 25 include/linux/gpio.h | 74 + 11 files changed, 911 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/