ARM: tegra: add a sysfs to time to go suspend
authorAndy Park <andyp@nvidia.com>
Fri, 10 May 2013 23:49:40 +0000 (16:49 -0700)
committerHarshada Kale <hkale@nvidia.com>
Wed, 15 May 2013 10:44:51 +0000 (03:44 -0700)
commit342a55d81ca11eb5f7dfeca51bcd2addfc2392f1
treefc897cad99ed76234815a7d45f84687078336862
parent2061771cf4deec40d7683299e22c548c5076396d
ARM: tegra: add a sysfs to time to go suspend

measure the time from display control disabled to suspending core and
open an access to the data through sysfs. tegra_log_suspend_time
must be called from display control driver when disabled.

Bug 1279339
Bug 1252226

Change-Id: If70135639b2e1eea72d1189f8c5cd32ba7d11bf1
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/227681
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
arch/arm/mach-tegra/include/mach/dc.h
arch/arm/mach-tegra/pm.c