soc/intel/cnvi: Add _S0W to ensure CNVi isn't put into D3 Cold
All CNVi modules, integrated or dedicated only support D3 Hot so add _S0W to limit the sleep state. Intel document #559910 details this. Change-Id: I1541cebc022adc927a9cd883500320e9ef82359f Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83558 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
This commit is contained in:
parent
9394bace4e
commit
1d535eb467
1 changed files with 12 additions and 0 deletions
|
|
@ -86,6 +86,18 @@ static void cnvw_fill_ssdt(const struct device *dev)
|
|||
acpigen_write_field("CWAR", fields2, ARRAY_SIZE(fields2),
|
||||
FIELD_BYTEACC | FIELD_NOLOCK | FIELD_PRESERVE);
|
||||
|
||||
/*
|
||||
* Method (_S0W, 0, NotSerialized) // _S0W: S0 Device Wake State
|
||||
* {
|
||||
* Return (ACPI_DEVICE_SLEEP_D3_HOT)
|
||||
* }
|
||||
*/
|
||||
acpigen_write_method("_S0W", 0);
|
||||
{
|
||||
acpigen_write_return_integer(ACPI_DEVICE_SLEEP_D3_HOT);
|
||||
}
|
||||
acpigen_pop_len();
|
||||
|
||||
acpigen_write_scope_end();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue