From f124b88cfbc990be0c34b0edc82b7ba870828f2e Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Fri, 26 May 2017 15:47:57 -0700 Subject: mb/google/eve: Add power controls to touchscreen device Instead of having the SMI handler power off the touchscreen on the way into suspend add power resource controls to the ACPI device so the power is managed by the kernel instead of the BIOS. BUG=b:35581264 TEST=manual testing on Eve to ensure that the touchscreen is still functional at boot and after suspend/resume, and that it does not draw power in suspend. Change-Id: Id9a98807d24bbc7dff32408f3d113f6fad5bc023 Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/19946 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/google/eve/smihandler.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mainboard/google/eve/smihandler.c') diff --git a/src/mainboard/google/eve/smihandler.c b/src/mainboard/google/eve/smihandler.c index 879131c220..493a3349e5 100644 --- a/src/mainboard/google/eve/smihandler.c +++ b/src/mainboard/google/eve/smihandler.c @@ -29,7 +29,6 @@ void mainboard_smi_espi_handler(void) static void mainboard_gpio_smi_sleep(u8 slp_typ) { /* Power down the rails on any sleep type */ - gpio_set(EN_PP3300_DX_TOUCH, 0); gpio_set(EN_PP3300_DX_CAM, 0); } -- cgit v1.2.3