Tony Huang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52847 )
Change subject: drivers/i2c/generic: Set SW0 to 3 for wake device ......................................................................
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. But, power resource is not turned off. Hence, it still is capable of waking.
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 src/drivers/i2c/generic/generic.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/52847/1
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c index 1c7267e..c1695f2 100644 --- a/src/drivers/i2c/generic/generic.c +++ b/src/drivers/i2c/generic/generic.c @@ -98,7 +98,7 @@
/* Wake capabilities */ if (config->wake) { - acpigen_write_name_integer("_S0W", 4); + acpigen_write_name_integer("_S0W", 3); acpigen_write_PRW(config->wake, 3); }