ARM: tegra11x: fast cluster power down control
authorBo Yan <byan@nvidia.com>
Mon, 15 Oct 2012 05:37:02 +0000 (22:37 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:38:39 +0000 (12:38 -0700)
commitb35f78ca5335a039a74524923be65b27977de2d9
treef8865ac8f5b2eb76413cc433f1feda3d2d900a75
parent7e9b2c897a96e12f52fdc2e715290d41652d40d1
ARM: tegra11x: fast cluster power down control

Currently, we are using "power_gating" to control what power down
mode to choose for fast cluster. With this change, a new sysfs
node "fast_cluster_power_down_mode" is used for that purpose. This
node is an unsigned integer with only 2 LSB used. '00' means power
gating CPU only, '01' means power gating non-CPU partition as well,
'10' means rail-gating the entire fast cluster, '11' means emulation
mode, which shall not be selected in production environment.

Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/144769
(cherry picked from commit 08cf1b25cbcfbb46822f76d08313ed1a9be6fc28)

Change-Id: I1a8a79cbd9f1f3ddce0b0f3d42fb3747284ac58e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146486
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit

Rebase-Id: R619facf202528adc6cfab1c93d482671a5e415b0
arch/arm/mach-tegra/cpuidle-t11x.c
arch/arm/mach-tegra/sleep.h