[Top] [All Lists]

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

To: Grant Likely <>,,, Linus Walleij <>, Rob Herring <>,
Subject: [PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON.
From: David Daney <>
Date: Thu, 12 Apr 2012 17:10:18 -0700
Cc:, David Daney <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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==
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.


David Daney (2):
  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


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