coreboot-kgpe-d16/src/mainboard/google/volteer
Venkata Krishna Nimmagadda eb148d88d1 mb/google/volteer: Work around TPM issue by enabling GPIO PM in S0ix
Setting the default values for GPIO community power management, causes
issues in detecting TPM interrupts. So to avoid that GPIO PM has to be
disabled in devicetree. But for S0ix it is needed. This patch implements
a workaround in ASL code to enable GPIO PM on S0ix entry and disable it
on S0ix exit.

This patch adds the following three platform specific methods.

1. MS0X to enable power management features for GPIO communities on
entry and on exit, it disables them.

2. MPTS to enable power management features for GPIO communities when
preparing to sleep.

3. MWAK to disable power management features for GPIO communities on
waking up.

BUG=b:148892882
BRANCH=none
TEST="Boot with this change on volteer proto1 and check for GPIO
community config with debugger"

Signed-off-by: Venkata Krishna Nimmagadda <venkata.krishna.nimmagadda@intel.com>
Change-Id: If522c82c0069a4bf5738beb73a2b4f11ed6f51d3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40261
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-by: Venkata Krishna Nimmagadda <Venkata.krishna.nimmagadda@intel.com>
Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-04-29 03:01:37 +00:00
..
spd mb/google/volteer: fix incorrect fields in SPDs 2020-04-14 09:50:41 +00:00
variants mb/google/volteer: move mipi_camera.asl to variants folders 2020-04-28 20:50:25 +00:00
board_info.txt
bootblock.c mainboard/google: Remove copyright notices 2020-03-18 16:44:31 +00:00
chromeos.c mainboard/google: Remove copyright notices 2020-03-18 16:44:31 +00:00
chromeos.fmd
dsdt.asl mb/google/volteer: Work around TPM issue by enabling GPIO PM in S0ix 2020-04-29 03:01:37 +00:00
ec.c mainboard/google: Remove copyright notices 2020-03-18 16:44:31 +00:00
Kconfig mb/google/volteer: move mipi_camera.asl to variants folders 2020-04-28 20:50:25 +00:00
Kconfig.name mb/google/volteer: move mipi_camera.asl to variants folders 2020-04-28 20:50:25 +00:00
mainboard.asl mb/google/volteer: Work around TPM issue by enabling GPIO PM in S0ix 2020-04-29 03:01:37 +00:00
mainboard.c Trim .acpi_fill_ssdt_generator and .acpi_inject_dsdt_generator 2020-04-02 20:30:22 +00:00
Makefile.inc mainboard/google: Remove copyright notices 2020-03-18 16:44:31 +00:00
romstage.c mb/google/volteer: implement mainboard_get_dram_part_num() 2020-04-28 20:50:00 +00:00
smihandler.c mainboard/google: Remove copyright notices 2020-03-18 16:44:31 +00:00