From 9354307157c88a1972bb77b020f40983d36fd9cc Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Fri, 4 Feb 2022 16:55:11 -0700 Subject: mb/google/guybrush: Fix trackpad SCI config Trackpad GPIO configuration does not align with the IRQ configuration in the devicetree. Configure the trackpad GPIO to generate SCI on falling edge. BUG=None TEST=Build and boot to OS in Nipperkin. Ensure the trackpad is functional. Suspend the device and wake it using trackpad. Perform suspend/resume sequence for 100 iterations. Signed-off-by: Karthikeyan Ramasubramanian Change-Id: If4324e09535d2676c8a8c6643604227eeaba0fe8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61645 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel Reviewed-by: Jon Murphy Reviewed-by: Rob Barnes --- src/mainboard/google/guybrush/variants/baseboard/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mainboard/google/guybrush/variants/baseboard/gpio.c b/src/mainboard/google/guybrush/variants/baseboard/gpio.c index fbbe1f93c4..fff98d2d87 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/gpio.c +++ b/src/mainboard/google/guybrush/variants/baseboard/gpio.c @@ -28,7 +28,7 @@ static const struct soc_amd_gpio base_gpio_table[] = { /* EN_PWR_WWAN_X */ PAD_GPO(GPIO_8, HIGH), /* SOC_TCHPAD_INT_ODL */ - PAD_SCI(GPIO_9, PULL_NONE, EDGE_HIGH), + PAD_SCI(GPIO_9, PULL_NONE, EDGE_LOW), /* S0A3 */ PAD_NF(GPIO_10, S0A3, PULL_NONE), /* SOC_FP_RST_L */ -- cgit v1.2.3