soc/intel/jasperlake: Correct GPIO community PID configuration

Current implementation returns the incorrect GPIO community PID.
The GPIO community index 3 should return PID for COMM_4 and index
4 should return PID for COMM_5.

TEST=Verify GPIO PM bits are correctly set through MS0x ACPI method.

Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
Change-Id: I3da4945e93605a297baff076295433164fdf613d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41721
Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Aamir Bohra 2020-05-26 14:52:31 +05:30 committed by Patrick Georgi
parent 1b35ec97cc
commit 316c180c41
1 changed files with 5 additions and 5 deletions

View File

@ -115,19 +115,19 @@ Method (GPID, 1, Serialized)
{ {
Switch (ToInteger (Arg0)) Switch (ToInteger (Arg0))
{ {
Case (0) { Case (COMM_0) {
Local0 = PID_GPIOCOM0 Local0 = PID_GPIOCOM0
} }
Case (1) { Case (COMM_1) {
Local0 = PID_GPIOCOM1 Local0 = PID_GPIOCOM1
} }
Case (2) { Case (COMM_2) {
Local0 = PID_GPIOCOM2 Local0 = PID_GPIOCOM2
} }
Case (4) { Case (COMM_4) {
Local0 = PID_GPIOCOM4 Local0 = PID_GPIOCOM4
} }
Case (5) { Case (COMM_5) {
Local0 = PID_GPIOCOM5 Local0 = PID_GPIOCOM5
} }
Default { Default {