linux-mips
[Top] [All Lists]

[PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON.

To: Grant Likely <grant.likely@secretlab.ca>, ralf@linux-mips.org, linux-mips@linux-mips.org, Linus Walleij <linus.walleij@stericsson.com>, Rob Herring <rob.herring@calxeda.com>, devicetree-discuss@lists.ozlabs.org
Subject: [PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON.
From: David Daney <ddaney.cavm@gmail.com>
Date: Thu, 12 Apr 2012 17:10:18 -0700
Cc: linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=bC4GJP9mmGo2NYu1OQTbSJSb+b5LsEbu1xHlNlCPJao=; b=BrB2wzcK4eu6WGmJpe3ztQ1Dp1HxHuv5JNszAjbl4dwz8b+5oTHeqGII2Bg9Aw/w8F HHin60lMLn6k1aQGltJY5lzrVdYxan8JXyZw06BERwrl+JttN77iEAv8nfwtwdj6HRes UyFXOq7ACq6vNVu60wMchkNHQEpmioe41fpiDiGa4L5fpWGesV4hoeIFOFq3KMCW79Gz YfH2N54/SPGhN82sLO++jgDEs6wdXD0rVwUobrja1a6L7DAltC2VqPy5dbTUKMJXOH/N wiAZfHfic/8VwG2gUHvquWM5SihLbR2YIJvW89rzBANJDC+wjxMkDSDlS6UdOh5B5z0K wG5A==
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

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


<Prev in Thread] Current Thread [Next in Thread>