Skip to content

gpio/MIPS/OCTEON: Add GPIO support for OCTEON.

David Daney linux-devicetree linux-mips lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: OCTEON: Select ARCH_REQUIRE_GPIOLIBarch/mips/Kconfig arch/mips/include/asm/mach-cavium-octeon/gpio.h+22 -00 replies
2/2gpio/MIPS/OCTEON: Add a driver for OCTEON's on-chip GPIO pins.drivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-octeon.c+175 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGrant Likely
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: David Daney <david.daney-YGCgFSpz5w/[email protected]>

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
Signature · 1 line
1.7.2.3