[U-Boot] [PATCH v3 0/6] Tegra30: MMC: Add DT-based MMC driver for Tegra30/Cardhu

Tom Warren
2013-03-07T21:47:52Z

This patchset adds SDMMC device-tree support to the Tegra30 dts files,
and enables the Tegra MMC driver on Tegra30 Cardhu.

I've tested this on my Cardhu-A04 and everything works fine,
including card detect. All Tegra boards also build w/o error, and
Seaboard MMC functionality is unchanged.

Changes in v2:
- Use mmc_id instead of base address in pad_init_mmc
- Remove all TEGRA_SDMMCx_BASE defines, no longer used
- Add/use compatible entry for Tegra30 SDMMC driver
Changes in v3:
- Remove GP SDIO pad cfg writes - done in pinmux/padctrl init tables

Tom Warren (6):
Tegra30: fdt: Add SDMMC (sdhci) nodes for T30 boards (Cardhu for now)
Tegra: MMC: Added/update SDMMC registers/base addresses for T20/T30
Tegra30: MMC: Add SD bus power-rail and SDMMC pad init routines
mmc: Tegra: Add SD bus power/voltage function and MMC pad init call.
Tegra30: mmc: Add Tegra30 SDMMC compatible entry to fdtdec & driver
Tegra30: MMC: Enable DT MMC driver support for Tegra30 Cardhu boards

arch/arm/dts/tegra30.dtsi | 32 ++++++++++++++
arch/arm/include/asm/arch-tegra/tegra_mmc.h | 35 ++++++++++++---
board/nvidia/cardhu/cardhu.c | 51 +++++++++++++++++++++
board/nvidia/common/board.c | 31 +++++++++++++-
board/nvidia/dts/tegra30-cardhu.dts | 15 ++++++
drivers/mmc/tegra_mmc.c | 63 +++++++++++++++++++++++---
include/configs/cardhu.h | 20 ++++++++-
include/configs/tegra30-common.h | 3 +
include/fdtdec.h | 3 +-
lib/fdtdec.c | 1 +
10 files changed, 237 insertions(+), 17 deletions(-)