summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Pu <dpu@nvidia.com>2014-02-12 11:39:08 +0800
committerMartin Chi <mchi@nvidia.com>2014-02-13 19:07:54 -0800
commitcc61a14a09490692b7265b4adbbaaeeea2988f96 (patch)
treebf80184f10079f151fdfdd1cc758452dbf271e27 /arch
parentd2edce04556df9d4c3677bc1ba49ce2d6a3bf9dc (diff)
arm:tegra:TN7C:export GPIO_PQ1 for ril.
dynamically controls modem power supply circuit PSM/FCCM mode to balance power at light loading and acoustic. modem ril needs to enable PSM mode under light loading to reduce power consumption. Bug 1457733 Change-Id: I2fb9c736705dccbafd463b21983778c25a9b8d17 Signed-off-by: David Pu <dpu@nvidia.com> Reviewed-on: http://git-master/r/366250 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-tegranote7c.c2
-rw-r--r--arch/arm/mach-tegra/board-tegranote7c.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-tegranote7c.c b/arch/arm/mach-tegra/board-tegranote7c.c
index 85cf44613d10..1724d4958b4d 100644
--- a/arch/arm/mach-tegra/board-tegranote7c.c
+++ b/arch/arm/mach-tegra/board-tegranote7c.c
@@ -512,6 +512,7 @@ static struct gpio modem_gpios[] = { /* Nemo modem */
{MODEM_EN, GPIOF_OUT_INIT_HIGH, "MODEM EN"},
{MDM_RST, GPIOF_OUT_INIT_HIGH, "MODEM RESET"},
{MDM_APACK2, GPIOF_IN, "MODEM APACK2"},
+ {MDM_PWR_BOOST, GPIOF_OUT_INIT_HIGH, "MODEM BOOST"},
};
static struct tegra_usb_platform_data tegra_ehci2_hsic_baseband_pdata = {
@@ -553,6 +554,7 @@ static int baseband_init(void)
gpio_export(MODEM_EN, false);
gpio_export(MDM_RST, false);
gpio_export(MDM_APACK2, false);
+ gpio_export(MDM_PWR_BOOST, false);
return 0;
}
diff --git a/arch/arm/mach-tegra/board-tegranote7c.h b/arch/arm/mach-tegra/board-tegranote7c.h
index ceb5b8e6dd2c..8f7ef4e8926d 100644
--- a/arch/arm/mach-tegra/board-tegranote7c.h
+++ b/arch/arm/mach-tegra/board-tegranote7c.h
@@ -97,6 +97,7 @@
#define MDM_RST TEGRA_GPIO_PP0
#define MDM_COLDBOOT TEGRA_GPIO_PI5
#define MDM_APACK2 TEGRA_GPIO_PV0
+#define MDM_PWR_BOOST TEGRA_GPIO_PQ1
int tegranote7c_regulator_init(void);
int tegranote7c_power_off_init(void);