arm: tegra: sd: enable sd dpd
authorWen Yi <wyi@nvidia.com>
Thu, 21 Jun 2012 04:42:13 +0000 (21:42 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 17 Jul 2012 08:14:32 +0000 (13:14 +0530)
commitb2856dd0c3a87c0ac64358fd0e6b894b9b382d12
tree6041c59c1d8773c4c4c569d9a87d4a580be671d6
parent8033f14d6285f0d347046b7e2fd0e52b90abee96
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