]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
gpio: Add driver for Altera's PIO core
authorJoachim Foerster <joachim.foerster@missinglinkelectronics.com>
Fri, 21 Oct 2011 13:48:50 +0000 (15:48 +0200)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 28 Oct 2011 01:50:49 +0000 (09:50 +0800)
commit03d67e127685f65513e7b78dacbd4ccaf01053f6
tree689e13ece8dd47b9c03354ac97fcd9d13127c756
parentf956ad98b2ba10901b6ea04983e679bc5ddc4d7a
gpio: Add driver for Altera's PIO core

This driver may handle multiple PIO cores and thus needs to be
setup by calling the altera_pio_init() function within the early
board setup routine.

The driver comes with some extras, see below the copyleft header.

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
Tested-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/include/asm/gpio.h
board/altera/nios2-generic/custom_fpga.h
board/altera/nios2-generic/nios2-generic.c
drivers/gpio/Makefile
drivers/gpio/altera_pio.c [new file with mode: 0644]