drivers/usb/intel_bluetooth: Advertise D2 for S0W

Bluetooth only signal wake while in USB suspend (D2). It is not possible
for it to wake when in D3 (low-power mode) so D3 is incorrect.

Change-Id: I1c2052507dfae235140e667b9a5580b4a7a8cb5d
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90609
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Sean Rhodes 2025-12-23 20:13:56 +00:00 committed by Matt DeVillier
commit 4631f94e51

View file

@ -50,29 +50,9 @@ void acpi_device_intel_bt(const struct acpi_gpio *enable_gpio,
bool audio_offload)
{
/*
* Name (_S0W, 3)
* Name (_S0W, 2)
*/
if (get_uint_option("bluetooth_rtd3", 1))
acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_HOT);
else
acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D0);
/*
* Name (_DSD, Package (0x02)
* {
* ToUUID ("6211e2c0-58a3-4af3-90e1-927a4e0c55a4")
* Package (0x01)
* {
* Package (0x02)
* {
* "HotPlugSupportInD3",
* One
* }
* }
* })
*
*/
acpi_device_add_hotplug_support_in_d3(NULL);
acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D2);
/*
* Name (RDLY, 0x69)