From 29f3a88d9ff1e54a0f2e04c430ee4c639e97d65f Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Thu, 5 Aug 2021 09:37:52 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56834 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/drivers/uart/acpi/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c index d4b14aac04..3081182042 100644 --- a/src/drivers/uart/acpi/acpi.c +++ b/src/drivers/uart/acpi/acpi.c @@ -89,7 +89,7 @@ static void uart_acpi_fill_ssdt(const struct device *dev) /* Wake capabilities */ 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); };