summaryrefslogtreecommitdiff
path: root/include/linux/tegra-powergate.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-16 17:19:02 (GMT)
committerStephen Warren <swarren@nvidia.com>2013-10-18 22:28:11 (GMT)
commitbd6a9ddcb9f2cb19dae0509341a4cbaf40dc66f0 (patch)
treeaebb18fb92d014c6fbfd51bdfabe8de2ae66e5e6 /include/linux/tegra-powergate.h
parentf0ea2e0bb8f01fc36e32402a479b16ad032da081 (diff)
downloadlinux-fsl-qoriq-bd6a9ddcb9f2cb19dae0509341a4cbaf40dc66f0.tar.xz
ARM: tegra: Add Tegra114 powergate support
Extend the list of power gates found on Tegra114. Note that there are now holes in the list, so perhaps a simple array is no longer the best data structure to represent it. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'include/linux/tegra-powergate.h')
-rw-r--r--include/linux/tegra-powergate.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/tegra-powergate.h b/include/linux/tegra-powergate.h
index 55c29a8..c98cfa4 100644
--- a/include/linux/tegra-powergate.h
+++ b/include/linux/tegra-powergate.h
@@ -34,8 +34,15 @@ struct clk;
#define TEGRA_POWERGATE_CPU3 11
#define TEGRA_POWERGATE_CELP 12
#define TEGRA_POWERGATE_3D1 13
+#define TEGRA_POWERGATE_CPU0 14
+#define TEGRA_POWERGATE_C0NC 15
+#define TEGRA_POWERGATE_C1NC 16
+#define TEGRA_POWERGATE_DIS 18
+#define TEGRA_POWERGATE_DISB 19
+#define TEGRA_POWERGATE_XUSBA 20
+#define TEGRA_POWERGATE_XUSBB 21
+#define TEGRA_POWERGATE_XUSBC 22
-#define TEGRA_POWERGATE_CPU0 TEGRA_POWERGATE_CPU
#define TEGRA_POWERGATE_3D0 TEGRA_POWERGATE_3D
int tegra_powergate_is_powered(int id);