diff options
author | Sean Rhodes <sean@starlabs.systems> | 2024-08-29 20:29:44 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-10-14 15:32:06 +0000 |
commit | 229d8fa2868a36ded96910df3291de36bfc096f3 (patch) | |
tree | 453c15458482f391d225db890aab840328e7932e /src/drivers/usb/acpi/chip.h | |
parent | bede28b17df3aa3af4adc9c2396abd4070785cda (diff) |
drivers/usb/acpi: Add AOLD Method for Intel Bluetooth
Add AOLD Method, which returns an integer based on
whether Audio Offload is enabled. Leave the existing
control of Audio Offload in `soc/soc_chip.h`. Add
`cnvi_bt_audio_offload` in the USB ACPI `chip.h` to
control the aforementioned return value.
The value in `soc/soc_chip.h` and `chip.h` should
match.
Change-Id: Idb804fb1cf0edef4a98479a6261ca68255dbf075
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84134
Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/usb/acpi/chip.h')
-rw-r--r-- | src/drivers/usb/acpi/chip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/usb/acpi/chip.h b/src/drivers/usb/acpi/chip.h index 5e41d24f50..afd99715b9 100644 --- a/src/drivers/usb/acpi/chip.h +++ b/src/drivers/usb/acpi/chip.h @@ -49,6 +49,7 @@ struct drivers_usb_acpi_config { /* Intel Bluetooth */ bool is_intel_bluetooth; + bool cnvi_bt_audio_offload; /* GPIO used to take device out of reset or to put it into reset. */ struct acpi_gpio reset_gpio; @@ -87,7 +88,7 @@ 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); +void acpi_device_intel_bt(unsigned int reset_gpio, bool audio_offload); void acpi_device_intel_bt_common(void); #endif /* __USB_ACPI_CHIP_H__ */ |