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>
This commit is contained in:
parent
e4fcc3ba2c
commit
54fe9f62fc
|
@ -22,6 +22,7 @@
|
||||||
#define TOUCH_DISABLE GPP_C3
|
#define TOUCH_DISABLE GPP_C3
|
||||||
#define TOUCH_RESET GPP_B3
|
#define TOUCH_RESET GPP_B3
|
||||||
#define TOUCH_ENABLE GPP_B4
|
#define TOUCH_ENABLE GPP_B4
|
||||||
|
#define FP_PWR_ENABLE GPP_B11
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Elan touchscreen has higher delay requirements than the other
|
* Elan touchscreen has higher delay requirements than the other
|
||||||
|
@ -43,5 +44,7 @@ void variant_smi_sleep(u8 slp_typ)
|
||||||
/* EN_PP3300_DX_TOUCHSCREEN */
|
/* EN_PP3300_DX_TOUCHSCREEN */
|
||||||
gpio_set(TOUCH_ENABLE, 0);
|
gpio_set(TOUCH_ENABLE, 0);
|
||||||
mdelay(ELAN_ENABLE_OFF_DELAY);
|
mdelay(ELAN_ENABLE_OFF_DELAY);
|
||||||
|
/* PCH_FP_PWR_EN */
|
||||||
|
gpio_set(FP_PWR_ENABLE, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue