diff options
author | Mayuresh Kulkarni <mkulkarni@nvidia.com> | 2013-05-14 17:44:47 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:26:07 -0700 |
commit | 24c2ac991bde376f87a28e1bc90badaec9507c99 (patch) | |
tree | da215bc870d496ba76505b5d0fcc3348bebf7c3d /arch/arm/mach-tegra/powergate-priv.h | |
parent | ac6e3d425d14684b76f81bd09a82266c381c302d (diff) |
ARM: tegra: add support for powergate skip list
- the idea is to add the power gate ids to a skip list
and expose this list via pg_ops
- the core code checks if current id is in skip list.
if it is then, it skips power gate or ungate operation
of the current id
bug 1249871
Change-Id: I3df270cfe1c853b554086688b485562a211ec2a5
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/228373
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/powergate-priv.h')
-rw-r--r-- | arch/arm/mach-tegra/powergate-priv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate-priv.h b/arch/arm/mach-tegra/powergate-priv.h index dd427b07ba1b..faa6ee8305ad 100644 --- a/arch/arm/mach-tegra/powergate-priv.h +++ b/arch/arm/mach-tegra/powergate-priv.h @@ -103,7 +103,10 @@ struct powergate_ops { int (*powergate_mc_flush_done)(int id); int (*powergate_init_refcount)(void); + bool (*powergate_check_clamping)(int id); + + bool (*powergate_skip)(int id); }; void get_clk_info(struct powergate_partition_info *pg_info); |