From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758230Ab2DMAKs (ORCPT ); Thu, 12 Apr 2012 20:10:48 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:55227 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752422Ab2DMAKc (ORCPT ); Thu, 12 Apr 2012 20:10:32 -0400 From: David Daney To: Grant Likely , ralf@linux-mips.org, linux-mips@linux-mips.org, Linus Walleij , Rob Herring , devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, David Daney Subject: [PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON. Date: Thu, 12 Apr 2012 17:10:18 -0700 Message-Id: <1334275820-7791-1-git-send-email-ddaney.cavm@gmail.com> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Daney There are two patches needed to add OCTEON GPIO support: 1) Select ARCH_REQUIRE_GPIOLIB. This allows standard I2C GPIO expanders to function, as well as being a prerequisite for the driver for the on-chip pins. 2) The on-chip pin driver. I'm not sure the best way to merge these, they are part MIPS and part GPIO. Via either maintainer is fine by me. Thanks, David Daney (2): MIPS: OCTEON: Select ARCH_REQUIRE_GPIOLIB gpio/MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins. arch/mips/Kconfig | 1 + arch/mips/include/asm/mach-cavium-octeon/gpio.h | 21 +++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-octeon.c | 166 +++++++++++++++++++++++ 5 files changed, 197 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/mach-cavium-octeon/gpio.h create mode 100644 drivers/gpio/gpio-octeon.c -- 1.7.2.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: [PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON. Date: Thu, 12 Apr 2012 17:10:18 -0700 Message-ID: <1334275820-7791-1-git-send-email-ddaney.cavm@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely , ralf-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org, Linus Walleij , Rob Herring , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, David Daney List-Id: devicetree@vger.kernel.org From: David Daney There are two patches needed to add OCTEON GPIO support: 1) Select ARCH_REQUIRE_GPIOLIB. This allows standard I2C GPIO expanders to function, as well as being a prerequisite for the driver for the on-chip pins. 2) The on-chip pin driver. I'm not sure the best way to merge these, they are part MIPS and part GPIO. Via either maintainer is fine by me. Thanks, David Daney (2): MIPS: OCTEON: Select ARCH_REQUIRE_GPIOLIB gpio/MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins. arch/mips/Kconfig | 1 + arch/mips/include/asm/mach-cavium-octeon/gpio.h | 21 +++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-octeon.c | 166 +++++++++++++++++++++++ 5 files changed, 197 insertions(+), 0 deletions(-) create mode 100644 arch/mips/include/asm/mach-cavium-octeon/gpio.h create mode 100644 drivers/gpio/gpio-octeon.c -- 1.7.2.3