summaryrefslogtreecommitdiff
path: root/src/drivers/usb
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-10-02 12:43:06 +0100
committerMartin L Roth <gaumless@gmail.com>2024-10-14 15:34:49 +0000
commit2cd06b79b1f9a76b675af3bc2aeb1f559d484bcc (patch)
tree8ff49310cfd7a8f4a8aeb5c59a63f496dd0041e7 /src/drivers/usb
parent144baae28c84ffb821a9bb69faf012a483f972db (diff)
drivers/usb/acpi: Remove Tile Activation Method in Intel Bluetooth driver
Linux has never supported this feature, and according to our FAE, the Windows driver dropped support for it in 2022 so remove it. Change-Id: I4f0b6108bb5db657490a8b9395bb99378fc63c4d Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84624 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Diffstat (limited to 'src/drivers/usb')
-rw-r--r--src/drivers/usb/acpi/intel_bluetooth.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/drivers/usb/acpi/intel_bluetooth.c b/src/drivers/usb/acpi/intel_bluetooth.c
index 49b2138ba7..2cd06b22d9 100644
--- a/src/drivers/usb/acpi/intel_bluetooth.c
+++ b/src/drivers/usb/acpi/intel_bluetooth.c
@@ -6,12 +6,6 @@
/*
* Intel Bluetooth DSM
*
- * Check Tile Activation (2d19d3e1-5708-4696-bd5b-2c3dbae2d6a9)
- *
- * Arg2 == 0: Return a package with the following bits set
- * BIT(0) Indicates whether the device supports other functions
- * BIT(1) Check Tile Activation
- *
* Check/Set Reset Delay (aa10f4e0-81ac-4233-abf6-3b2ac50e28d9)
* Arg2 == 0: Return a package with the following bit set
* BIT(0) Indicates whether the device supports other functions
@@ -42,21 +36,7 @@ static void set_reset_delay(void *arg)
acpigen_write_store_op_to_namestr(ARG3_OP, "RDLY");
}
-static void get_feature_flag(void *arg)
-{
- acpigen_write_if_lequal_op_int(ARG1_OP, 0);
- {
- acpigen_write_return_singleton_buffer(0x03);
- }
- acpigen_write_else();
- {
- acpigen_write_return_singleton_buffer(0x00);
- }
- acpigen_pop_len();
-}
-
void (*uuid_callbacks1[])(void *) = { check_reset_delay, set_reset_delay };
-void (*uuid_callbacks2[])(void *) = { get_feature_flag };
void acpi_device_intel_bt(unsigned int reset_gpio, unsigned int enable_gpio, bool audio_offload)
{
@@ -93,27 +73,6 @@ void acpi_device_intel_bt(unsigned int reset_gpio, unsigned int enable_gpio, boo
* }
* Return (Zero)
* }
- * ElseIf ((Arg0 == ToUUID ("2d19d3e1-5708-4696-bd5b-2c3dbae2d6a9")))
- * {
- * If ((Arg2 == Zero))
- * {
- * If ((Arg1 == Zero))
- * {
- * Return (Buffer (One)
- * {
- * 0x00
- * })
- * }
- * Else
- * {
- * Return (Buffer (One)
- * {
- * 0x00
- * })
- * }
- * }
- * Return (Zero)
- * }
* Else
* {
* Return (Buffer (One)
@@ -125,7 +84,6 @@ void acpi_device_intel_bt(unsigned int reset_gpio, unsigned int enable_gpio, boo
*/
struct dsm_uuid uuid_callbacks[] = {
DSM_UUID("aa10f4e0-81ac-4233-abf6-3b2ac50e28d9", uuid_callbacks1, 2, NULL),
- DSM_UUID("2d19d3e1-5708-4696-bd5b-2c3dbae2d6a9", uuid_callbacks2, 1, NULL),
};
acpigen_write_dsm_uuid_arr(uuid_callbacks, ARRAY_SIZE(uuid_callbacks));