summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-loki-power.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-08-29 22:17:03 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:45:01 -0700
commitec467aeb068a30453f0458f2d4e9236e4159e75f (patch)
tree70334751a8f61273f7a785427b726373d84698ae /arch/arm/mach-tegra/board-loki-power.c
parentd44c23c66e24a0b2d954a12c641b8eb605ad2855 (diff)
ARM: tegra: properly configure Palmas pins for ID/VBUS detection
T124 platforms like Ardbeg, Loki, TN8 uses the PMIC for detecting VBUS and ID pins. Configure the pins of Palmas to set these pins in proper option. Change-Id: Ida8f6cdad0ceddad0c3c8295be7da101864ab3a1 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/268023
Diffstat (limited to 'arch/arm/mach-tegra/board-loki-power.c')
-rw-r--r--arch/arm/mach-tegra/board-loki-power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-loki-power.c b/arch/arm/mach-tegra/board-loki-power.c
index a1b793fc2c55..7fd5da35470c 100644
--- a/arch/arm/mach-tegra/board-loki-power.c
+++ b/arch/arm/mach-tegra/board-loki-power.c
@@ -304,7 +304,7 @@ static struct palmas_reg_init *loki_reg_init[PALMAS_NUM_REGS] = {
static struct palmas_pinctrl_config palmas_pincfg[] = {
PALMAS_PINMUX("powergood", "powergood", NULL, NULL),
PALMAS_PINMUX("vac", "vac", NULL, NULL),
- PALMAS_PINMUX("gpio0", "gpio", NULL, NULL),
+ PALMAS_PINMUX("gpio0", "id", "pull-up", NULL),
PALMAS_PINMUX("gpio1", "gpio", NULL, NULL),
PALMAS_PINMUX("gpio2", "gpio", NULL, NULL),
PALMAS_PINMUX("gpio3", "gpio", NULL, NULL),