From ec467aeb068a30453f0458f2d4e9236e4159e75f Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Thu, 29 Aug 2013 22:17:03 +0530 Subject: 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 Reviewed-on: http://git-master/r/268023 --- arch/arm/mach-tegra/board-loki-power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-tegra/board-loki-power.c') 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), -- cgit v1.2.3