drivers/uart/acpi: Update _S0W return value to D3hot

In order to support wake from D3cold, most devices require extra
circuitry and possibly out-of-band communications to the host.
Therefore, assume that most UARTs that do have wake capabilities support
wake from D3hot rather than D3cold.

BUG=b:187228954
TEST=compile

Change-Id: I24d6d0e81d980fc9c910d8f47f557c88990b6400
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56834
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Tim Wawrzynczak 2021-08-05 09:37:52 -06:00
parent 04c71deceb
commit 29f3a88d9f
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ static void uart_acpi_fill_ssdt(const struct device *dev)
/* Wake capabilities */ /* Wake capabilities */
if (config->wake) { if (config->wake) {
acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_COLD); acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_HOT);
acpigen_write_PRW(config->wake, SLP_TYP_S3); acpigen_write_PRW(config->wake, SLP_TYP_S3);
}; };