[PATCH 0/2] gpio/MIPS/OCTEON: Add GPIO support for OCTEON.
From: David Daney <hidden>
Date: 2012-04-13 00:10:48
Also in:
linux-mips, lkml
From: David Daney <hidden>
Date: 2012-04-13 00:10:48
Also in:
linux-mips, lkml
From: David Daney <david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org> 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