summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powergate-t12x.c
diff options
context:
space:
mode:
authorAntti P Miettinen <amiettinen@nvidia.com>2013-11-19 15:53:37 +0200
committerAntti Miettinen <amiettinen@nvidia.com>2013-11-21 04:44:34 -0800
commit9ecd5335ae93865e31ad80e5fd3ebd4c4ce4f73b (patch)
treedea6d98c01e5160e5fcb83b270183a71d967dccc /arch/arm/mach-tegra/powergate-t12x.c
parent1349110739618e4d0e6f7309f9eaebfa4d97a87a (diff)
ARM: tegra12: power: Add CPU partition IDs
Useful for testing/debugging. Change-Id: I32c9ec531b37493d28a1c252120bc91eb2cc7be9 Reviewed-on: http://git-master/r/332944 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/powergate-t12x.c')
-rw-r--r--arch/arm/mach-tegra/powergate-t12x.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate-t12x.c b/arch/arm/mach-tegra/powergate-t12x.c
index 842642f8761e..9e90e6dd403b 100644
--- a/arch/arm/mach-tegra/powergate-t12x.c
+++ b/arch/arm/mach-tegra/powergate-t12x.c
@@ -77,6 +77,41 @@ static struct tegra12x_powergate_mc_client_info tegra12x_pg_mc_info[] = {
[3] = MC_CLIENT_LAST,
},
},
+ [TEGRA_POWERGATE_CPU1] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_CPU2] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_CPU3] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_CELP] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_CPU0] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_C0NC] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
+ [TEGRA_POWERGATE_C1NC] = {
+ .hot_reset_clients = {
+ [0] = MC_CLIENT_LAST,
+ },
+ },
[TEGRA_POWERGATE_DISA] = {
.hot_reset_clients = {
[0] = MC_CLIENT_DC,
@@ -167,6 +202,13 @@ static struct powergate_partition_info tegra12x_powergate_partition_info[] = {
[3] = { .clk_name = "csi", .clk_type = CLK_AND_RST },
},
},
+ [TEGRA_POWERGATE_CPU1] = { .name = "cpu1" },
+ [TEGRA_POWERGATE_CPU2] = { .name = "cpu2" },
+ [TEGRA_POWERGATE_CPU3] = { .name = "cpu3" },
+ [TEGRA_POWERGATE_CELP] = { .name = "celp" },
+ [TEGRA_POWERGATE_CPU0] = { .name = "cpu0" },
+ [TEGRA_POWERGATE_C0NC] = { .name = "c0nc" },
+ [TEGRA_POWERGATE_C1NC] = { .name = "c1nc" },
[TEGRA_POWERGATE_DISA] = {
.name = "disa",
.clk_info = {