From 76021a92054a71d249f28e5d1788c3afe51ad7ae Mon Sep 17 00:00:00 2001
From: Subrata Banik <subratabanik@google.com>
Date: Fri, 9 Aug 2024 14:38:18 +0530
Subject: mb/google/rex/var/rex0: 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:345373187
TEST=Build and test on google/rex0, check BRDS is shown in SSDT.

Change-Id: I28541e7a23dd486d3e0ec38ee89e1ab13595fc72

Change-Id: I82f6290cb1934e2c0597286702f93e3789e8f345
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83844
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: YH Lin <yueherngl@google.com>
---
 src/mainboard/google/rex/variants/rex0/overridetree.cb | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb
index 1d1957a692..2119fe9a6d 100644
--- a/src/mainboard/google/rex/variants/rex0/overridetree.cb
+++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb
@@ -746,6 +746,7 @@ chip soc/intel/meteorlake
 			chip drivers/wifi/generic
 				register "wake" = "GPE0_DW2_09"
 				register "add_acpi_dma_property" = "true"
+				use usb2_port10 as bluetooth_companion
 				device pci 00.0 on
 					probe WIFI WIFI_PCIE
 				end
-- 
cgit v1.2.3