diff options
author | Aamir Bohra <aamir.bohra@intel.com> | 2020-05-26 14:52:31 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-28 09:49:14 +0000 |
commit | 316c180c413d08713795c7ae943b84d799deedfd (patch) | |
tree | cdf620516c89a06e81c85f551c4f97c4fc19af50 | |
parent | 1b35ec97cc54337680e239c7ad10fa1acc716a2f (diff) | |
download | coreboot-316c180c413d08713795c7ae943b84d799deedfd.tar.gz coreboot-316c180c413d08713795c7ae943b84d799deedfd.tar.bz2 coreboot-316c180c413d08713795c7ae943b84d799deedfd.zip |
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>
-rw-r--r-- | src/soc/intel/jasperlake/acpi/gpio.asl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/intel/jasperlake/acpi/gpio.asl b/src/soc/intel/jasperlake/acpi/gpio.asl index 60951f0b6b60..f8b180df11f6 100644 --- a/src/soc/intel/jasperlake/acpi/gpio.asl +++ b/src/soc/intel/jasperlake/acpi/gpio.asl @@ -115,19 +115,19 @@ Method (GPID, 1, Serialized) { Switch (ToInteger (Arg0)) { - Case (0) { + Case (COMM_0) { Local0 = PID_GPIOCOM0 } - Case (1) { + Case (COMM_1) { Local0 = PID_GPIOCOM1 } - Case (2) { + Case (COMM_2) { Local0 = PID_GPIOCOM2 } - Case (4) { + Case (COMM_4) { Local0 = PID_GPIOCOM4 } - Case (5) { + Case (COMM_5) { Local0 = PID_GPIOCOM5 } Default { |