Attention is currently required from: Furquan Shaikh, Tony Huang, Keith Tzeng, Wisley Chen.

Tony Huang uploaded patch set #2 to this change.

View Change

drivers/i2c/generic: Set SW0 to 3 for wake device

If device is supported as a wake source, _S0W should be set to 3.
This ensures that the device is put into D3hot by the OSPM.
The power resource is not turned off.
Hence, it still is capable of waking.

If _S0W is set to 4,
the power resource is turned off when device is put into D3cold by the OSPM.

The devices we are currently looking at for touchscreen/touchpad
do not really support auxiliary power and so do not support wake from D3cold.

BUG=b:186070097
TEST=build and check device wake state SW0 set to 3 in ssdt table.

Change-Id: I34e4b2350875530d3337be700276bcc4fb1f810a
Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com>
---
M Documentation/acpi/devicetree.md
M src/drivers/i2c/generic/generic.c
2 files changed, 3 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/52847/2

To view, visit change 52847. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I34e4b2350875530d3337be700276bcc4fb1f810a
Gerrit-Change-Number: 52847
Gerrit-PatchSet: 2
Gerrit-Owner: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Keith Tzeng <keith.tzeng@quanta.corp-partner.google.com>
Gerrit-Reviewer: Sam McNally <sammc@google.com>
Gerrit-Reviewer: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Furquan Shaikh <furquan@google.com>
Gerrit-Attention: Tony Huang <tony-huang@quanta.corp-partner.google.com>
Gerrit-Attention: Keith Tzeng <keith.tzeng@quanta.corp-partner.google.com>
Gerrit-Attention: Wisley Chen <wisley.chen@quanta.corp-partner.google.com>
Gerrit-MessageType: newpatchset