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

Tom Warren twarren.nvidia at gmail.com
Tue Mar 5 17:29:39 CET 2013


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

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 +++++++++++--
 arch/arm/include/asm/arch-tegra30/gp_padctrl.h |    6 ++
 board/nvidia/cardhu/cardhu.c                   |   49 ++++++++++++++++++
 board/nvidia/common/board.c                    |   55 ++++++++++++++++++++-
 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 +
 11 files changed, 265 insertions(+), 17 deletions(-)



More information about the U-Boot mailing list