coreboot/src/soc
Shaunak Saha 33a1a76237 UPSTREAM: soc/apollolake: Set up GPIO_TIER1_SCI_EN properly
Currently we are setting the gpio_tier1_sci in smihandler before
going to S3. But this won't work for S0iX as it happens from Linux
kernel and SMI handler is not involved in that flow. We need to
set this bit i.e. bit 15 in ACPI gpe0a register at 0x430h. The Linux
kernel before going to sleep checks what values are passed through
ASL as wake events (through _PRW), keeps those enabled only and
clears other bits in gpe0 enable registers. So we need to inform
the kernel to keep gpio_tier_sci also set as these are needed for
any wake event. This patch adds ASL code for sleep button device with
HID id PNP0C0E. We are adding _PRW method for sleep button device
with this patch.

BUG=chrome-os-partner:56483
BRANCH=None

TEST=System resumes from S3 on lidopen, powerbutton and USB wake.
     Also from S0iX system is resuming for WIFI wake.

Signed-off-by: Shaunak Saha <shaunak.saha@intel.com>
Reviewed-on: https://review.coreboot.org/16564
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>

Change-Id: Ie8517cad9cd37c25788c22250894d4f9db344ff9
Reviewed-on: https://chromium-review.googlesource.com/385915
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2016-09-15 13:42:02 -07:00
..
broadcom/cygnus UPSTREAM: soc/broadcom/cygnus/ddr_init.c: Correct typo in POWER ON and POWER OK. 2016-09-04 23:28:27 -07:00
dmp/vortex86ex UPSTREAM: src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-08-04 23:37:59 -07:00
imgtec/pistachio drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
intel UPSTREAM: soc/apollolake: Set up GPIO_TIER1_SCI_EN properly 2016-09-15 13:42:02 -07:00
marvell UPSTREAM: soc/marvell/mvmap2315: Add DDR driver 2016-09-13 22:20:58 -07:00
mediatek/mt8173 UPSTREAM: src/soc: Add required space before opening parenthesis '(' 2016-09-04 19:36:49 -07:00
nvidia UPSTREAM: commonlib: move DIV_ROUND macros from nvidia/tegra 2016-09-08 17:57:23 -07:00
qualcomm UPSTREAM: src/soc: Add required space before opening parenthesis '(' 2016-09-04 19:36:49 -07:00
rdc/r8610 rdc/r8610: Move to src/soc 2016-05-05 20:08:58 +02:00
rockchip rockchip: rk3399: improve write leveling flow 2016-09-13 22:22:02 -07:00
samsung UPSTREAM: src/soc: Capitalize CPU, ACPI, RAM and ROM 2016-08-04 23:37:59 -07:00
ucb/riscv UPSTREAM: soc/ucb/riscv: select BOOTBLOCK_CONSOLE 2016-08-15 18:36:13 -07:00