From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Kan Subject: [PATCH V5 0/3] gpio: Add APM X-Gene SoC platform GPIO driver Date: Thu, 26 Jun 2014 15:59:44 -0700 Message-ID: <1403823587-23404-1-git-send-email-fkan@apm.com> Return-path: Received: from exprod5og111.obsmtp.com ([64.18.0.22]:46299 "HELO exprod5og111.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750974AbaFZW7z (ORCPT ); Thu, 26 Jun 2014 18:59:55 -0400 Received: by mail-pa0-f52.google.com with SMTP id eu11so3770751pac.39 for ; Thu, 26 Jun 2014 15:59:54 -0700 (PDT) Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: patches@apm.com, linus.walleij@linaro.org, gnurou@gmail.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Feng Kan This patch add the GPIO controller in the APM X-Gene platform. The GPIO controller pins are muxed with the generic flash controller pins on the system. V5 Change: 1. Remove gpio->dev 2. Remove not needed headers. 3. Change to use latest driver.h for gpio. 4. Set chip base to -1 5. Put back label as it is needed sys interface. V4 Change: 1. Add remove function for module 2. Add set function to dir out function. 3. remove sets to np and label in probe. V3 Change: 1. Change code to use single entry to describe gpio node, hardcode to use bank stride to target gpios. 2. Fix up dts and doc accordingly V2 Change: 1. Address concerns from maintainer, split to multiple device node 2. Add pm code to restore set register. 3. fix up dts and documentation accordingly. I did not incorporate pin mux functionality at this time, move this to bootloader for now. Will submit pinctrl driver seperately. Feng Kan (3): gpio: Add APM X-Gene SoC GPIO controller support Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding arm64:dts: Add APM X-Gene SoC GPIO controller DTS entries .../devicetree/bindings/gpio/gpio-xgene.txt | 37 ++++ arch/arm64/boot/dts/apm-storm.dtsi | 21 ++ drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-xgene.c | 231 +++++++++++++++++++++ 5 files changed, 299 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xgene.txt create mode 100644 drivers/gpio/gpio-xgene.c -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: fkan@apm.com (Feng Kan) Date: Thu, 26 Jun 2014 15:59:44 -0700 Subject: [PATCH V5 0/3] gpio: Add APM X-Gene SoC platform GPIO driver Message-ID: <1403823587-23404-1-git-send-email-fkan@apm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org This patch add the GPIO controller in the APM X-Gene platform. The GPIO controller pins are muxed with the generic flash controller pins on the system. V5 Change: 1. Remove gpio->dev 2. Remove not needed headers. 3. Change to use latest driver.h for gpio. 4. Set chip base to -1 5. Put back label as it is needed sys interface. V4 Change: 1. Add remove function for module 2. Add set function to dir out function. 3. remove sets to np and label in probe. V3 Change: 1. Change code to use single entry to describe gpio node, hardcode to use bank stride to target gpios. 2. Fix up dts and doc accordingly V2 Change: 1. Address concerns from maintainer, split to multiple device node 2. Add pm code to restore set register. 3. fix up dts and documentation accordingly. I did not incorporate pin mux functionality at this time, move this to bootloader for now. Will submit pinctrl driver seperately. Feng Kan (3): gpio: Add APM X-Gene SoC GPIO controller support Documentation: gpio: Add APM X-Gene SoC GPIO controller DTS binding arm64:dts: Add APM X-Gene SoC GPIO controller DTS entries .../devicetree/bindings/gpio/gpio-xgene.txt | 37 ++++ arch/arm64/boot/dts/apm-storm.dtsi | 21 ++ drivers/gpio/Kconfig | 9 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-xgene.c | 231 +++++++++++++++++++++ 5 files changed, 299 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-xgene.txt create mode 100644 drivers/gpio/gpio-xgene.c -- 1.9.1