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

Tom Warren twarren.nvidia at gmail.com
Tue Feb 5 01:02:55 CET 2013


Folks with Tegra20-based boards (Compulab, Avionics Design, etc.) -
please check my DT node settings for address, GPIOs (CD, WP, and
power, if utilized), and width. I tried to keep everything the same as
the tegra_mmc_init() function args that were removed, plus integrating
what was in the Linux kernel DTS files for your board(s). Please also
do a quick functional test to ensure everything still works as before
with the MMC devices on your board(s).

Stephen, please check the boards you are familiar with (Whistler,
PAZ00, Trimslice, Harmony) that I may not have here in AZ.

Thanks,

Tom

On Mon, Feb 4, 2013 at 4:48 PM, Tom Warren <twarren.nvidia at gmail.com> wrote:
> 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.
>
> Tom Warren (2):
>   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/tegra20.dtsi                         |   12 ++
>  arch/arm/include/asm/arch-tegra/mmc.h             |    2 +-
>  arch/arm/include/asm/arch-tegra/tegra_mmc.h       |   12 +-
>  board/avionic-design/common/tamonten.c            |    4 +-
>  board/avionic-design/dts/tegra20-medcom-wide.dts  |    9 +
>  board/avionic-design/dts/tegra20-plutux.dts       |    9 +
>  board/avionic-design/dts/tegra20-tec.dts          |    9 +
>  board/compal/dts/tegra20-paz00.dts                |   22 +++-
>  board/compal/paz00/paz00.c                        |   14 +-
>  board/compulab/dts/tegra20-trimslice.dts          |   17 ++
>  board/compulab/trimslice/trimslice.c              |   10 +-
>  board/nvidia/dts/tegra20-harmony.dts              |   21 +++
>  board/nvidia/dts/tegra20-seaboard.dts             |   19 ++-
>  board/nvidia/dts/tegra20-ventana.dts              |   23 +++
>  board/nvidia/dts/tegra20-whistler.dts             |   16 ++
>  board/nvidia/harmony/harmony.c                    |   12 +-
>  board/nvidia/seaboard/seaboard.c                  |   14 +-
>  board/nvidia/whistler/whistler.c                  |    4 +-
>  board/toradex/colibri_t20_iris/colibri_t20_iris.c |    2 +-
>  board/toradex/dts/tegra20-colibri_t20_iris.dts    |    8 +
>  drivers/mmc/tegra_mmc.c                           |  186 ++++++++++++++-------
>  include/fdtdec.h                                  |    1 +
>  lib/fdtdec.c                                      |    1 +
>  23 files changed, 322 insertions(+), 105 deletions(-)
>


More information about the U-Boot mailing list