coreboot-kgpe-d16/src/mainboard
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
..
51nb src/mb: Remove unneeded spaces before/after tabs 2020-04-10 22:30:06 +00:00
adlink
amd src/mb: Remove unneeded spaces before/after tabs 2020-04-10 22:30:06 +00:00
aopen mainboard/aopen: Use SPDX for GPL-2.0-only files 2020-04-06 13:39:53 +00:00
apple mainboard/apple: Use SPDX for GPL-2.0-only files 2020-04-04 15:35:32 +00:00
asrock nb/intel/haswell: Deprecate WDB params in pei_data 2020-04-22 13:46:42 +00:00
asus asus/p2b-ls: Replicate OEM GPO configuration 2020-04-25 15:24:20 +00:00
bap mainboard/bap: Use SPDX for GPL-2.0-only files 2020-04-04 15:06:12 +00:00
biostar src/mainboard: Const'ify pci_devfn_t devices 2020-04-23 22:21:11 +00:00
cavium mainboard/cavium: Use SPDX for GPL-2.0-only files 2020-04-06 13:40:04 +00:00
compulab mainboard/compulab: Use SPDX for GPL-2.0-only files 2020-04-04 15:08:13 +00:00
elmex mainboard/elmex: Use SPDX for GPL-2.0-only files 2020-04-04 15:07:17 +00:00
emulation src/mainboard: Const'ify pci_devfn_t devices 2020-04-23 22:21:11 +00:00
facebook mb/facebook/monolith: Add fmd files for 6MB BIOS area 2020-04-14 09:49:10 +00:00
foxconn mainboard/foxconn: Use SPDX for GPL-2.0-only files 2020-04-04 15:43:43 +00:00
getac device: Constify struct device * parameter to write_acpi_tables 2020-04-28 19:21:49 +00:00
gigabyte mb/gigabyte/ga-g41m-es2l: Remove unused variable 'dev' 2020-04-23 22:20:31 +00:00
gizmosphere mainboard/gizmosphere: Use SPDX for GPL-2.0-only files 2020-04-04 15:49:42 +00:00
google mb/google/volteer: Work around TPM issue by enabling GPIO PM in S0ix 2020-04-29 03:01:37 +00:00
hp mainboard/hp: Use SPDX for GPL-2.0-only files 2020-04-04 15:54:55 +00:00
ibase mainboard/ibase: Use SPDX for GPL-2.0-only files 2020-04-04 15:56:44 +00:00
intel device: Constify struct device * parameter to write_acpi_tables 2020-04-28 19:21:49 +00:00
jetway mainboard/jetway: Use SPDX for GPL-2.0-only files 2020-04-06 13:38:55 +00:00
kontron mb/kontron/ktqm77: Extend SATA CMOS option with "legacy" mode 2020-04-15 21:10:46 +00:00
lenovo device: Constify struct device * parameter to acpi_fill_ssdt() 2020-04-28 19:50:26 +00:00
libretrend fsp2_0: Clean up around config FSP_USE_REPO 2020-04-05 23:26:04 +00:00
lippert mainboard/lippert: Use SPDX for GPL-2.0-only files 2020-04-05 17:45:36 +00:00
msi mainboard/msi: Use SPDX for GPL-2.0-only files 2020-04-04 16:25:29 +00:00
ocp mb/ocp/tiogapass: Pull POST complete pin 2020-04-18 03:39:49 +00:00
opencellular mainboard/opencellular: Use SPDX for GPL-2.0-only files 2020-04-05 17:46:05 +00:00
packardbell mainboard/packardbell: Use SPDX for GPL-2.0-only files 2020-04-04 16:27:44 +00:00
pcengines Do not select USE_BLOBS 2020-04-15 19:11:08 +00:00
portwell mainboard/portwell: Use SPDX for GPL-2.0-only files 2020-04-04 15:00:48 +00:00
protectli fsp2_0: Clean up around config FSP_USE_REPO 2020-04-05 23:26:04 +00:00
purism mainboard/purism: Use SPDX for GPL-2.0-only files 2020-04-04 16:29:58 +00:00
razer fsp2_0: Clean up around config FSP_USE_REPO 2020-04-05 23:26:04 +00:00
roda src/mainboard: Use 'const' to set pnp_devfn_t statically 2020-04-14 09:56:33 +00:00
samsung src/mainboard: Const'ify pci_devfn_t devices 2020-04-23 22:21:11 +00:00
sapphire mainboard/sapphire: Use SPDX for GPL-2.0-only files 2020-04-04 15:25:36 +00:00
scaleway mainboard/scaleway: Use SPDX for GPL-2.0-only files 2020-04-06 13:39:32 +00:00
siemens mainboard/siemens: Use SPDX for GPL-2.0-only files 2020-04-04 16:30:51 +00:00
sifive mainboard/sifive: Use SPDX for GPL-2.0-only files 2020-04-04 15:19:45 +00:00
supermicro nb/intel/haswell: Deprecate WDB params in pei_data 2020-04-22 13:46:42 +00:00
system76 Do not select USE_BLOBS 2020-04-15 19:11:08 +00:00
ti mainboard/ti: Use SPDX for GPL-2.0-only files 2020-04-04 15:22:06 +00:00
up Do not select USE_BLOBS 2020-04-15 19:11:08 +00:00
Kconfig