summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRen Kuo <ren.kuo@quanta.corp-partner.google.com>2019-01-14 19:53:53 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-01-23 14:40:36 +0000
commit54fe9f62fc7168eb5ccacaaf02f95d3581ea254a (patch)
tree4d68cbda98e34cf7c044a1dcd78f763f0d238012 /src
parente4fcc3ba2c3054d0c1fd097b70fc4f68b655ce6b (diff)
mb/google/poppy/variants/nami: close the FP power in S5
close the FP module power in power off (s5) BUG=122887366 BRANCH=Nami TEST= build test firmware and measure the fp power enable pin Change-Id: I80ddfbf1edf7c6435d263d5f5e0edb8b8701817d Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/30910 Reviewed-by: Shelley Chen <shchen@google.com> Reviewed-by: Vincent Wang <vwang@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/poppy/variants/nami/smihandler.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/smihandler.c b/src/mainboard/google/poppy/variants/nami/smihandler.c
index b29e8ccb56..6816508f24 100644
--- a/src/mainboard/google/poppy/variants/nami/smihandler.c
+++ b/src/mainboard/google/poppy/variants/nami/smihandler.c
@@ -22,6 +22,7 @@
#define TOUCH_DISABLE GPP_C3
#define TOUCH_RESET GPP_B3
#define TOUCH_ENABLE GPP_B4
+#define FP_PWR_ENABLE GPP_B11
/*
* Elan touchscreen has higher delay requirements than the other
@@ -43,5 +44,7 @@ void variant_smi_sleep(u8 slp_typ)
/* EN_PP3300_DX_TOUCHSCREEN */
gpio_set(TOUCH_ENABLE, 0);
mdelay(ELAN_ENABLE_OFF_DELAY);
+ /* PCH_FP_PWR_EN */
+ gpio_set(FP_PWR_ENABLE, 0);
}
}