summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/gpio.h
AgeCommit message (Collapse)Author
2015-10-23nios2 : convert altera_pio to driver modelThomas Chou
Convert altera_pio to driver model. Signed-off-by: Thomas Chou <[email protected]> Acked-by: Chin Liang See <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2011-10-28gpio: Add driver for Altera's PIO coreJoachim Foerster
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 <[email protected]> Tested-by: Thomas Chou <[email protected]> Signed-off-by: Thomas Chou <[email protected]>
2011-02-08nios2: add gpio_is_validThomas Chou
Signed-off-by: Thomas Chou <[email protected]> Signed-off-by: Scott McNutt <[email protected]>
2011-02-08nios2: add gpio_freeThomas Chou
Signed-off-by: Thomas Chou <[email protected]> Signed-off-by: Scott McNutt <[email protected]>
2010-07-12nios2: add gpio_requestThomas Chou
This will be used by nand_plat. Signed-off-by: Thomas Chou <[email protected]> Signed-off-by: Scott McNutt <[email protected]>
2010-05-28nios2: add gpio supportThomas Chou
This patch adds driver for a trivial gpio core, which is described in http://nioswiki.com/GPIO. It is used for gpio led and nand flash interface in u-boot. When CONFIG_SYS_GPIO_BASE is not defined, board may provide its own driver. Signed-off-by: Thomas Chou <[email protected]> Tested-by: Ian Abbott <[email protected]> Signed-off-by: Scott McNutt <[email protected]>