summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/powergate-ops-t1xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/powergate-ops-t1xx.h')
-rw-r--r--arch/arm/mach-tegra/powergate-ops-t1xx.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate-ops-t1xx.h b/arch/arm/mach-tegra/powergate-ops-t1xx.h
new file mode 100644
index 000000000000..4b9528e7374a
--- /dev/null
+++ b/arch/arm/mach-tegra/powergate-ops-t1xx.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+ *
+ * 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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef __POWERGATE_OPS_T1XX_H__
+#define __POWERGATE_OPS_T1XX_H__
+
+/* Common APIs for tegra1xx SoCs */
+int tegra1xx_powergate(int id, struct powergate_partition_info *pg_info);
+int tegra1xx_unpowergate(int id, struct powergate_partition_info *pg_info);
+
+#endif /* __POWERGATE_OPS_T1XX_H__ */