[U-Boot] [PATCH v7 0/4] Tegra: MMC: Add DT support for MMC to T20 boards

Tom Warren twarren.nvidia at gmail.com
Thu Feb 21 23:31:26 CET 2013


This patchset adds device-tree support to the Tegra MMC driver.
All device config is done via properties in the DT files instead
of hard-coded config options/function arguments.

I've tested this on my Seaboard and everything works fine,
including card detect. For the other T20 boards, I've used
the Linux kernel DTS files for the sdhci nodes where there
wasn't one already, or expanded the info that was already
there. Everything builds fine, but I haven't tested anything
but Seaboard.

v2: Changes as per Stephen's & Simon's review
v3: Changes as per Stephen/Lucas/Thierry/Simon's feedback
v4: Additional changes as per Stephen/Lucas/Thierry/Simon
v5: Additional changes as per Stephen/Lucas/Andy
v6: Additional changes requested by Stephen/Thierry
v7: Additional changes requested by Stephen

Tom Warren (4):
  Tegra: fdt: Change /include/ to #include for C preprocessor
  Tegra: fdt: tamonten: Add common tamonten.dtsi file from linux
  Tegra: fdt: Add/enhance sdhci (mmc) nodes for all T20 DT files
  Tegra: MMC: Add DT support to MMC driver for all T20 boards

 arch/arm/dts/tegra114.dtsi                        |    2 +-
 arch/arm/dts/tegra20.dtsi                         |   18 +-
 arch/arm/dts/tegra30.dtsi                         |    2 +-
 arch/arm/include/asm/arch-tegra/mmc.h             |    2 +-
 arch/arm/include/asm/arch-tegra/tegra_mmc.h       |   13 +-
 board/avionic-design/common/tamonten.c            |   19 +-
 board/avionic-design/dts/tegra20-medcom-wide.dts  |    3 +-
 board/avionic-design/dts/tegra20-plutux.dts       |    3 +-
 board/avionic-design/dts/tegra20-tamonten.dtsi    |  489 +++++++++++++++++++++
 board/avionic-design/dts/tegra20-tec.dts          |    3 +-
 board/compal/dts/tegra20-paz00.dts                |   21 +-
 board/compal/paz00/paz00.c                        |   26 +-
 board/compulab/dts/tegra20-trimslice.dts          |   16 +-
 board/compulab/trimslice/trimslice.c              |   23 +-
 board/nvidia/common/board.c                       |   25 +
 board/nvidia/dts/tegra114-dalmore.dts             |    2 +-
 board/nvidia/dts/tegra20-harmony.dts              |   20 +-
 board/nvidia/dts/tegra20-seaboard.dts             |   14 +-
 board/nvidia/dts/tegra20-ventana.dts              |   17 +-
 board/nvidia/dts/tegra20-whistler.dts             |   15 +-
 board/nvidia/dts/tegra30-cardhu.dts               |    2 +-
 board/nvidia/harmony/harmony.c                    |   26 +-
 board/nvidia/seaboard/seaboard.c                  |   25 +-
 board/nvidia/whistler/whistler.c                  |   30 +-
 board/toradex/colibri_t20_iris/colibri_t20_iris.c |   11 +-
 board/toradex/dts/tegra20-colibri_t20_iris.dts    |    9 +-
 drivers/mmc/tegra_mmc.c                           |  179 +++++---
 dts/Makefile                                      |    3 +-
 include/fdtdec.h                                  |    1 +
 lib/fdtdec.c                                      |    1 +
 30 files changed, 786 insertions(+), 234 deletions(-)
 create mode 100644 board/avionic-design/dts/tegra20-tamonten.dtsi



More information about the U-Boot mailing list