video: tegra: host: Add ISPB hotreset on powergate
Terje Bergstrom [Mon, 9 Sep 2013 08:37:13 +0000 (11:37 +0300)]
ISPB was not set to hotreset when power gating.

Bug 1355069

Change-Id: Ibdc53f4e9dea399e29660d75d361ab09359d96cf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/272006
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

arch/arm/mach-tegra/powergate-t12x.c

index 5d59136..c5a835d 100644 (file)
@@ -35,6 +35,7 @@ enum mc_client {
        MC_CLIENT_VIC           = 18,
        MC_CLIENT_XUSB_HOST     = 19,
        MC_CLIENT_XUSB_DEV      = 20,
+       MC_CLIENT_ISPB          = 35,
        MC_CLIENT_GPU           = 34,
        MC_CLIENT_LAST          = -1,
 };
@@ -70,8 +71,9 @@ static struct tegra12x_powergate_mc_client_info tegra12x_pg_mc_info[] = {
        [TEGRA_POWERGATE_VENC] = {
                .hot_reset_clients = {
                        [0] = MC_CLIENT_ISP,
-                       [1] = MC_CLIENT_VI,
-                       [2] = MC_CLIENT_LAST,
+                       [1] = MC_CLIENT_ISPB,
+                       [2] = MC_CLIENT_VI,
+                       [3] = MC_CLIENT_LAST,
                },
        },
        [TEGRA_POWERGATE_DISA] = {