summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm-t2.c
diff options
context:
space:
mode:
authorBitan Biswas <bbiswas@nvidia.com>2011-12-30 18:10:36 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2012-01-04 11:44:36 +0530
commit8de2ce3de0a3463516c30a6d6891d6716218e819 (patch)
tree03d161e5630f07be16caf98b358de789e018e185 /arch/arm/mach-tegra/pm-t2.c
parentd42874773d71b8f71225adba714f6d12ccacd31f (diff)
arm: tegra: power: io dpd APIs defined
Defined IO deep power down(DPD) APIs for tegra drivers - tegra_io_dpd_get - returns dpd handle tegra_io_dpd_enable - enable driver dpd tegra_io_dpd_disable - disables driver dpd bug 919993 Change-Id: I45976b41dca0e3e9266ace86393ef4db8b20c97b Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/72737 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pm-t2.c')
-rw-r--r--arch/arm/mach-tegra/pm-t2.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm-t2.c b/arch/arm/mach-tegra/pm-t2.c
index 0fbc433c2773..7ddbb2125595 100644
--- a/arch/arm/mach-tegra/pm-t2.c
+++ b/arch/arm/mach-tegra/pm-t2.c
@@ -24,10 +24,13 @@
#include <linux/gpio.h>
#include <linux/init.h>
#include <linux/io.h>
+#include <linux/module.h>
#include <mach/iomap.h>
#include <mach/irqs.h>
+#include "pm.h"
+
#define PMC_SCRATCH3 0x5c
#define PMC_SCRATCH5 0x64
#define PMC_SCRATCH6 0x68
@@ -353,3 +356,21 @@ void __init tegra2_lp0_suspend_init(void)
}
wmb();
}
+
+struct tegra_io_dpd *tegra_io_dpd_get(struct device *dev)
+{
+ return NULL;
+}
+EXPORT_SYMBOL(tegra_io_dpd_get);
+
+void tegra_io_dpd_enable(struct tegra_io_dpd *hnd)
+{
+ return;
+}
+EXPORT_SYMBOL(tegra_io_dpd_enable);
+
+void tegra_io_dpd_disable(struct tegra_io_dpd *hnd)
+{
+ return;
+}
+EXPORT_SYMBOL(tegra_io_dpd_disable);