summaryrefslogtreecommitdiff
path: root/src/drivers/usb/acpi/chip.h
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-10-02 13:41:11 +0100
committerMartin L Roth <gaumless@gmail.com>2024-10-14 15:34:21 +0000
commit144baae28c84ffb821a9bb69faf012a483f972db (patch)
tree4f6ba6af2fd50e1d3edd6c5c5c182173d9d0401b /src/drivers/usb/acpi/chip.h
parentd842e94d35de386cd27fcb3bfca9dd05767c2c77 (diff)
drivers/usb/acpi: Add support for RTD3 for Intel Bluetooth
Add support for RTD3 for Intel Bluetooth. This is done by controlling the enable GPIO (GPP_VGPIO_0 for most SOCs) that exists on all wireless cards since Jefferson Peak. The exception is GalePeak2, which uses VSEC and this driver doesn't support that. Change-Id: Ibea97ab0ae0a9f1eb6aaca43d831bb4ce7bdc02e Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84626 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Diffstat (limited to 'src/drivers/usb/acpi/chip.h')
-rw-r--r--src/drivers/usb/acpi/chip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drivers/usb/acpi/chip.h b/src/drivers/usb/acpi/chip.h
index afd99715b9..a27ce4468c 100644
--- a/src/drivers/usb/acpi/chip.h
+++ b/src/drivers/usb/acpi/chip.h
@@ -88,7 +88,9 @@ struct drivers_usb_acpi_config {
bool usb_acpi_get_pld(const struct device *usb_device, struct acpi_pld *pld);
/* Intel Bluetooth */
-void acpi_device_intel_bt(unsigned int reset_gpio, bool audio_offload);
-void acpi_device_intel_bt_common(void);
+void acpi_device_intel_bt(unsigned int reset_gpio,
+ unsigned int enable_gpio,
+ bool audio_offload);
+void acpi_device_intel_bt_common(unsigned int enable_gpio);
#endif /* __USB_ACPI_CHIP_H__ */