From 300fbc502be1376f932fb0cccb71eae96a176895 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 10 Sep 2024 14:37:29 -0600 Subject: mb/google/brox: Set PCIE WLAN bluetooth companion device To publish the Bluetooth Regulator Domain Settings under the right ACPI device scope, the wifi generic driver requires the bluetooth companion to be set accordingly. BUG=b:362672785 TEST=Build Brox firmware and boot to OS. Ensure that the BRDS table is populated under the right ACPI device scope. Scope (\_SB.PCI0.XHCI.RHUB.HS10) { Name (BRDS, Package (0x02) { 0x00000001, Package (0x0A) { 0x00000012, 0x00000001, 0x00000001, 0x7C, 0x70, 0x70, 0x70, 0x70, 0x70, 0x70 } }) } Change-Id: I9a74a995bca8d412b85c243c7f2f98c9917b5e76 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/84296 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: Bob Moragues --- src/mainboard/google/brox/variants/brox/overridetree.cb | 1 + src/mainboard/google/brox/variants/jubilant/overridetree.cb | 1 + src/mainboard/google/brox/variants/lotso/overridetree.cb | 1 + 3 files changed, 3 insertions(+) diff --git a/src/mainboard/google/brox/variants/brox/overridetree.cb b/src/mainboard/google/brox/variants/brox/overridetree.cb index 79771eb2db..8207ad6519 100644 --- a/src/mainboard/google/brox/variants/brox/overridetree.cb +++ b/src/mainboard/google/brox/variants/brox/overridetree.cb @@ -287,6 +287,7 @@ chip soc/intel/alderlake chip drivers/wifi/generic register "wake" = "GPE0_DW0_03" register "add_acpi_dma_property" = "true" + use usb2_port10 as bluetooth_companion device pci 00.0 on probe WIFI_BT WIFI_BT_PCIE end diff --git a/src/mainboard/google/brox/variants/jubilant/overridetree.cb b/src/mainboard/google/brox/variants/jubilant/overridetree.cb index 2e7234dbd4..b88e959637 100644 --- a/src/mainboard/google/brox/variants/jubilant/overridetree.cb +++ b/src/mainboard/google/brox/variants/jubilant/overridetree.cb @@ -289,6 +289,7 @@ chip soc/intel/alderlake chip drivers/wifi/generic register "wake" = "GPE0_DW0_03" register "add_acpi_dma_property" = "true" + use usb2_port10 as bluetooth_companion device pci 00.0 on probe WIFI_BT WIFI_BT_PCIE probe unprovisioned diff --git a/src/mainboard/google/brox/variants/lotso/overridetree.cb b/src/mainboard/google/brox/variants/lotso/overridetree.cb index 2970635b63..79bdb260ad 100644 --- a/src/mainboard/google/brox/variants/lotso/overridetree.cb +++ b/src/mainboard/google/brox/variants/lotso/overridetree.cb @@ -340,6 +340,7 @@ chip soc/intel/alderlake chip drivers/wifi/generic register "wake" = "GPE0_DW0_03" register "add_acpi_dma_property" = "true" + use usb2_port10 as bluetooth_companion device pci 00.0 on end end chip soc/intel/common/block/pcie/rtd3 -- cgit v1.2.3