msm: 8930: Increase pull-up strength for pmic gpio-keys
Increase the pull up strength (current source pulls) from
1.5uA to 30uA for devices (MTP and XPM) which do not have
external pull-ups.
Change-Id: I8c95fb7127c04f4029bc85270a3b31935ad8a588
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930-pmic.c b/arch/arm/mach-msm/board-8930-pmic.c
index e19cde0..beec7fd 100644
--- a/arch/arm/mach-msm/board-8930-pmic.c
+++ b/arch/arm/mach-msm/board-8930-pmic.c
@@ -89,10 +89,10 @@
/* Initial pm8038 GPIO configurations */
static struct pm8xxx_gpio_init pm8038_gpios[] __initdata = {
/* keys GPIOs */
- PM8XXX_GPIO_INPUT(3, PM_GPIO_PULL_UP_1P5),
- PM8XXX_GPIO_INPUT(8, PM_GPIO_PULL_UP_1P5),
- PM8XXX_GPIO_INPUT(10, PM_GPIO_PULL_UP_1P5),
- PM8XXX_GPIO_INPUT(11, PM_GPIO_PULL_UP_1P5),
+ PM8XXX_GPIO_INPUT(3, PM_GPIO_PULL_UP_30),
+ PM8XXX_GPIO_INPUT(8, PM_GPIO_PULL_UP_30),
+ PM8XXX_GPIO_INPUT(10, PM_GPIO_PULL_UP_30),
+ PM8XXX_GPIO_INPUT(11, PM_GPIO_PULL_UP_30),
};
/* Initial pm8038 MPP configurations */