arm: tegra: sd: enable sd dpd
authorWen Yi <wyi@nvidia.com>
Thu, 21 Jun 2012 04:42:13 +0000 (21:42 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:13:47 +0000 (12:13 -0700)
commit4da7bcd347d07cd5173edda98bc4e87c5350f353
treec6899d8ea76abff143a92298f59c90c844ed92fd
parent0a16926a3453ce393798d17ac4660728078939d1
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>

Rebase-Id: Rd4728fda7b23fa349f48b19c054ed412bf10e089
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