arm: tegra: sd: enable sd dpd
authorWen Yi <wyi@nvidia.com>
Thu, 21 Jun 2012 04:42:13 +0000 (21:42 -0700)
committerSimone Willett <swillett@nvidia.com>
Tue, 17 Jul 2012 00:20:28 +0000 (17:20 -0700)
commit5e07056dc8b922b8b43a01b60a949c1dda75d9a9
treebd8a99dc9e78be49ec0613779535f4dfdd2c466e
parent5a34d0584c5a45547c6733e177a0aa0c93dc1884
arm: tegra: sd: enable sd dpd

This is a WAR solution that allows for the turning on
SD DPD feature.

The original issue is that enabling SD DPD immediately after device comes
out of LP0 causes ULPI disconnect. The root cause of that is
not known.

The WAR is to delay the enabling of SD DPD for 100ms after
device comes out of LP0.

Bug 929628

Change-Id: I3c5e35ace422e5441535c2c0fe18545b53bbddc4
Signed-off-by: Wen Yi <wyi@nvidia.com>
(cherry picked from commit bffb7b917d52a3523af80db21322ec7ba5fd33f9)
Reviewed-on: http://git-master/r/113392
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/board-cardhu.c
arch/arm/mach-tegra/board-enterprise.c
arch/arm/mach-tegra/board-kai.c
arch/arm/mach-tegra/board-p1852.c
arch/arm/mach-tegra/include/mach/io_dpd.h
arch/arm/mach-tegra/pm-t2.c
arch/arm/mach-tegra/pm-t3.c
arch/arm/mach-tegra/pm.h