]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bfin: Move gpio support for bf54x and bf60x into the generic driver folder.
authorSonic Zhang <sonic.zhang@analog.com>
Thu, 2 May 2013 05:46:21 +0000 (13:46 +0800)
committerSonic Zhang <sonic.zhang@analog.com>
Mon, 13 May 2013 08:30:27 +0000 (16:30 +0800)
commitda34aae5fba36c1f1989fdd41fffa723f300eaad
tree5c7b8128f2243a676dde10a17f4efca7dab4c79d
parente6c5ab28c79a40f9f5e525d9faed7df4b89ff168
bfin: Move gpio support for bf54x and bf60x into the generic driver folder.

The gpio spec for bf54x and bf60x differ a lot from the old gpio driver for bf5xx.
A lot of machine macros are used to accomodate both code in one gpio driver.
This patch split the old gpio driver and move new gpio2 support to the generic
gpio driver folder.

- To enable gpio2 driver, macro CONFIG_ADI_GPIO2 should be defined in the board's
config header file.
- The gpio2 driver supports bf54x, bf60x and future ADI processors, while the
older gpio driver supports bf50x, bf51x, bf52x, bf53x and bf561.
- All blackfin specific gpio function names are replaced by the generic gpio APIs.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/cpu/Makefile
arch/blackfin/cpu/gpio.c
arch/blackfin/include/asm/gpio.h
arch/blackfin/include/asm/portmux.h
drivers/gpio/Makefile
drivers/gpio/adi_gpio2.c [new file with mode: 0644]
include/configs/bf548-ezkit.h
include/configs/bf609-ezkit.h
include/configs/bfin_adi_common.h