aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/gpio.c
diff options
context:
space:
mode:
authorMeera Ravindranath <meera.ravindranath@intel.com>2020-07-21 19:12:53 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-08-18 13:56:27 +0000
commitd980339aca2aa63a946696211645cdd4968f4bbe (patch)
tree2b936a253fdb4ea333cf65ea5869416a5ed718b4 /src/soc/intel/jasperlake/gpio.c
parent6aa6f1f874c26c7d47c579d5adca0d866b8b0ee4 (diff)
soc/intel/jasperlake: Fix PMC_GPE_DW mapping
PMC_GPE_DW mapping was not configured correctly and hence coreboot skipped programming Tier 1 GPIOs resulting in failure of S3 wake from Trackpad. TEST=System should wake from S3 via trackpad Change-Id: I59ce3720e0ffeefb2c9440bb300689def80211ea Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Diffstat (limited to 'src/soc/intel/jasperlake/gpio.c')
-rw-r--r--src/soc/intel/jasperlake/gpio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/jasperlake/gpio.c b/src/soc/intel/jasperlake/gpio.c
index 3b3b262996..22e73da195 100644
--- a/src/soc/intel/jasperlake/gpio.c
+++ b/src/soc/intel/jasperlake/gpio.c
@@ -182,14 +182,15 @@ const struct pmc_to_gpio_route *soc_pmc_gpio_routes(size_t *num)
static const struct pmc_to_gpio_route routes[] = {
{ PMC_GPP_A, GPP_A },
{ PMC_GPP_B, GPP_B },
+ { PMC_GPP_G, GPP_G },
+ { PMC_GPP_C, GPP_C },
{ PMC_GPP_R, GPP_R },
{ PMC_GPP_D, GPP_D },
{ PMC_GPP_S, GPP_S },
{ PMC_GPP_H, GPP_H },
+ { PMC_GPP_F, GPP_F },
{ PMC_GPD, GPP_GPD },
- { PMC_GPP_C, GPP_C },
- { PMC_GPP_E, GPP_E },
- { PMC_GPP_F, GPP_F }
+ { PMC_GPP_E, GPP_E }
};
*num = ARRAY_SIZE(routes);