ARM: tegra: add powergating trace event
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Fri, 27 Apr 2012 13:52:16 +0000 (16:52 +0300)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:00:04 +0000 (01:00 -0700)
commit2436e5e8a7c73bfc5da1081686c27b190da853e8
treecf2e3b3249fa16e73bf0449c57bb35d7a5310d85
parent9d62574eaacd3a443cd971ca5e76b850af301223
ARM: tegra: add powergating trace event

Add a trace event for powergating. The existing power_domain_target is used.
state 0 is used for off and state 1 is used for on. This patch only traces
non CPU domains. The powerstate of CPU domains is already traced using
power_start events.

bug 976845

Change-Id: Ic9503f7b42b35c0bf70c7b64a7f15c4960637200
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/99416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R97c6eeec3d158631fa968b194cc0fdcab724deab
arch/arm/mach-tegra/powergate.c