From fa06e1f393c1a9c644b8731b8fde17af10dd9907 Mon Sep 17 00:00:00 2001 From: michael_chen Date: Tue, 9 Oct 2018 12:58:44 +0800 Subject: rammus: Fix power leakage Modify PMIC and GPIO setting to fix power leakage. Dependent on EE request: 1. Init PMIC Discharge control register. 1.1. Discharge control register 1 (0x3C) = 0x00. 1.2. Discharge control register 2 (0x3D) = 0x55. 1.3. Discharge control register 3 (0x3E) = 0x44. 1.4. Discharge control register 4 (0x3F) = 0x04. 2. Remove gpio "TP_INT_CONN" GPIO_PULL_UP configuration. BUG=b:117194355 BRANCH=ToT TEST=Manual EE measure power and check it is improve. Change-Id: I8b0e5ff479fee0ebcc26e9e57073ec6b5fc8868f Signed-off-by: michael_chen Reviewed-on: https://chromium-review.googlesource.com/1253369 Commit-Ready: michael chen Tested-by: michael chen Reviewed-by: Zhuohao Lee --- board/rammus/gpio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/rammus/gpio.inc') diff --git a/board/rammus/gpio.inc b/board/rammus/gpio.inc index fd0f8d5e14..b3f6e6ac97 100644 --- a/board/rammus/gpio.inc +++ b/board/rammus/gpio.inc @@ -61,7 +61,7 @@ GPIO(BRD_ID_EN, PIN(0, 2), GPIO_OUT_LOW) /* Enable f /* Reserved, for the lid accelerator interrupt */ GPIO(LID_ACCEL_INT_L, PIN(D, 2), GPIO_INPUT | GPIO_SEL_1P8V | GPIO_PULL_UP) /* LID Accelerator interrupt */ /* Reserved, changing touchpad interrupt behavior for wakeup */ -GPIO(TP_INT_CONN, PIN(C, 2), GPIO_INPUT | GPIO_PULL_UP) /* Touchpad interrupt */ +GPIO(TP_INT_CONN, PIN(C, 2), GPIO_INPUT) /* Touchpad interrupt */ /* Reserved, output low to enable touchpad interrupt by default */ GPIO(TP_INT_EN, PIN(A, 1), GPIO_OUT_LOW) /* Enable Touchpad interrupt */ -- cgit v1.2.1