powerpc/86xx: Basic GPIO support for GE Fanuc SBC610
authorMartyn Welch <martyn.welch@gefanuc.com>
Fri, 7 Nov 2008 14:15:42 +0000 (14:15 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 3 Dec 2008 16:47:37 +0000 (10:47 -0600)
commit965dc5fc55fa0201fd8241ba7c0efc8f96f0ec84
tree260fd90e69a0d0ba8343e00d8c06753ce13ff75d
parent09a3fba8c132a55f153fd65fc1085b717a6193c8
powerpc/86xx: Basic GPIO support for GE Fanuc SBC610

Basic support for the GPIO available on the SBC610 VPX Single Board Computer
from GE Fanuc (PowerPC MPC8641D).

This patch adds basic support for the GPIO in the devices I/O FPGA, the GPIO
functionality is exposed through the AFIX pins on the backplane, unless used
by an AFIX card.

This code currently does not support switching between totem-pole and
open-drain outputs (when used as outputs, GPIOs default to totem-pole).
The interrupt capabilites of the GPIO lines is also not currently supported.

Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/gef_sbc610.dts
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/86xx/Makefile
arch/powerpc/platforms/86xx/gef_gpio.c [new file with mode: 0644]