summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.h
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2011-04-04 15:42:46 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:55:05 -0700
commita5eddb5e742ab0216defc5a3f149028e349485ca (patch)
treea1134fa7b45fe677a403367615cd9b5dedfc0315 /arch/arm/mach-tegra/dvfs.h
parent95f83e00584930ce670db15ea44c849ec9055539 (diff)
ARM: tegra: power: Disallow LP2 when regulator is updating
Original-Change-Id: I8012de82dfd4c47628fb202ba5ba98f3d199035f Reviewed-on: http://git-master/r/26630 Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I17065422392d01509d2a745f2cb5d188450e32cb
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.h')
-rw-r--r--arch/arm/mach-tegra/dvfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.h b/arch/arm/mach-tegra/dvfs.h
index 6fbcad64fb5c..f33cb2c6408c 100644
--- a/arch/arm/mach-tegra/dvfs.h
+++ b/arch/arm/mach-tegra/dvfs.h
@@ -5,6 +5,8 @@
* Author:
* Colin Cross <ccross@google.com>
*
+ * Copyright (C) 2010-2011 NVIDIA Corporation.
+ *
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
@@ -47,6 +49,7 @@ struct dvfs_rail {
int nominal_millivolts;
int step;
bool disabled;
+ bool updating;
struct list_head node; /* node in dvfs_rail_list */
struct list_head dvfs; /* list head of attached dvfs clocks */
@@ -90,5 +93,6 @@ int tegra_dvfs_init_rails(struct dvfs_rail *dvfs_rails[], int n);
void tegra_dvfs_add_relationships(struct dvfs_relationship *rels, int n);
void tegra_dvfs_rail_enable(struct dvfs_rail *rail);
void tegra_dvfs_rail_disable(struct dvfs_rail *rail);
+bool tegra_dvfs_rail_updating(struct clk *clk);
#endif