From 8800dc7798603c72b18eaead553e25e632e111b2 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Tue, 15 Apr 2025 19:58:49 +0100 Subject: [PATCH] drivers/usb/intel_bluetooth: Add HotPlugSupportInD3 DSD Property Add a DSD with the HotPlugSupportInD3, as when it RTD3, the device will appear as not-present. This will cause Windows to constantly try to enable it, causing an endless loop of the device becoming visible. Test=build and boot `starlabs/starlite_adl`, check Bluetooth is always visible in device manager. Change-Id: I51a2c764ebe8b98b137eb0c98cfdcf2de6f4b86c Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/87324 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/drivers/usb/acpi/intel_bluetooth.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/drivers/usb/acpi/intel_bluetooth.c b/src/drivers/usb/acpi/intel_bluetooth.c index 6da937af34..acefffc041 100644 --- a/src/drivers/usb/acpi/intel_bluetooth.c +++ b/src/drivers/usb/acpi/intel_bluetooth.c @@ -53,6 +53,23 @@ void acpi_device_intel_bt(const struct acpi_gpio *enable_gpio, */ acpigen_write_name_integer("_S0W", ACPI_DEVICE_SLEEP_D3_HOT); +/* + * Name (_DSD, Package (0x02) + * { + * ToUUID ("6211e2c0-58a3-4af3-90e1-927a4e0c55a4") + * Package (0x01) + * { + * Package (0x02) + * { + * "HotPlugSupportInD3", + * One + * } + * } + * }) + * + */ + acpi_device_add_hotplug_support_in_d3(NULL); + /* * Name (RDLY, 0x69) */