Tegra: MMC: Add DT support to MMC driver for all T20 boards
authorTom Warren <twarren.nvidia@gmail.com>
Thu, 21 Feb 2013 12:31:30 +0000 (12:31 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:42 +0000 (11:06 -0700)
commitc9aa831ee26f629fbd2df67cab8bb357777e2256
tree672911df17f77148a91ea272ef2b8dd5355dc678
parent126685ad44ad39895567884458b3a4581acf8902
Tegra: MMC: Add DT support to MMC driver for all T20 boards

tegra_mmc_init() now parses the DT info for bus width, WP/CD GPIOs, etc.
Tested on Seaboard, fully functional.

Tamonten boards (medcom-wide, plutux, and tec) use a different/new
dtsi file w/common settings.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
13 files changed:
arch/arm/include/asm/arch-tegra/mmc.h
arch/arm/include/asm/arch-tegra/tegra_mmc.h
board/avionic-design/common/tamonten.c
board/compal/paz00/paz00.c
board/compulab/trimslice/trimslice.c
board/nvidia/common/board.c
board/nvidia/harmony/harmony.c
board/nvidia/seaboard/seaboard.c
board/nvidia/whistler/whistler.c
board/toradex/colibri_t20_iris/colibri_t20_iris.c
drivers/mmc/tegra_mmc.c
include/fdtdec.h
lib/fdtdec.c