mmc: Tegra: Add SD bus power/voltage function and MMC pad init call.
authorTom Warren <twarren@nvidia.com>
Tue, 26 Feb 2013 19:31:26 +0000 (12:31 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:44 +0000 (11:06 -0700)
commit2d348a1652f1d1211ab82cb0c7a57a3362830d71
tree2b68b6eda66126221d7985e83c31d1f0828da2c1
parent190be1f9b74b0c8c2f1b2735774a6536758837af
mmc: Tegra: Add SD bus power/voltage function and MMC pad init call.

Tegra30 requires the SD Bus Voltage & Power bits be set in the SD
Power Control register. Tegra20 works w/o them set, but do it anyway
for those SoCs as it's part of the SD spec. Also call a common
board pad init routine (pad_init_mmc) in mmc_reset(), used by
Tegra30 only for now.

Note that Tegra20 SD/MMC HW differs enough from Tegra20 that a
new compatible entry is used in the fdt compat_names/id tables.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
drivers/mmc/tegra_mmc.c