summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-07-12 16:16:14 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:43 -0800
commita822cff7d11d896ac63f16aa797a180ba35f1c2c (patch)
tree6f6e578359e7c9717059971edec3c3fed1232b20 /arch/arm/mach-tegra/board-ventana.c
parent89e04f1debe994d0161e9a519b53f74f9fd4d347 (diff)
arm: tegra: suspend: Add board specific suspend/resume calls
Adding board specific suspend and resume call apis through platform data. Added call of these function at appropriate stage of suspend/resume. Added mechanism to select the uart debug channel base address through variable so that board file can directly change this. bug 820536 bug 832273 Original-Change-Id: Ia9ff3b8a8d2faa1071a8ff634960e6a6c8a43d40 Reviewed-on: http://git-master/r/34494 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R6d7bfb3f8f9152779f5138cbcd1b7a9e9a9545df
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana.c')
-rw-r--r--arch/arm/mach-tegra/board-ventana.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana.c b/arch/arm/mach-tegra/board-ventana.c
index 5377a4b754f3..8d4f80febf51 100644
--- a/arch/arm/mach-tegra/board-ventana.c
+++ b/arch/arm/mach-tegra/board-ventana.c
@@ -56,6 +56,7 @@
#include "devices.h"
#include "gpio-names.h"
#include "wakeups-t2.h"
+#include "pm.h"
static struct tegra_utmip_config utmi_phy_config[] = {
[0] = {
@@ -211,6 +212,8 @@ static void __init uart_debug_init(void)
/* UARTD is the debug port. */
pr_info("Selecting UARTD as the debug console\n");
ventana_uart_devices[2] = &debug_uartd_device;
+ debug_uart_port_base = ((struct plat_serial8250_port *)(
+ debug_uartd_device.dev.platform_data))->mapbase;
debug_uart_clk = clk_get_sys("serial8250.0", "uartd");
/* Clock enable for the debug channel */