From e229c6005f0db9b3fb80eaf9a76aea33143ca0a2 Mon Sep 17 00:00:00 2001 From: Tim Van Patten Date: Wed, 13 Apr 2022 11:59:12 -0600 Subject: mb/google/guybrush: Set BT USB to use GPIO for status Set the BT USB device to use GPIO for the power status. This causes an ACPI `_STA()` function to be generated that returns the power status of the BT USB device, rather than always returning `0x1`. This `_STA()` function can be used during boot to skip enabling the device (and performing the associated sleep) if the device is already powered on. BRANCH=None BUG=b:225022810 TEST=Dump SSDT table for guybrush Signed-off-by: Tim Van Patten Change-Id: I72f6b28671efddfbef53f328d904a05f73f39efa Reviewed-on: https://review.coreboot.org/c/coreboot/+/63559 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/mainboard/google/guybrush/variants/baseboard/devicetree.cb | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb index a9b0a154a1..696e16dbfe 100644 --- a/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/guybrush/variants/baseboard/devicetree.cb @@ -321,6 +321,7 @@ chip soc/amd/cezanne # TODO(rrangel): Find data sheet register "enable_delay_ms" = "500" register "enable_off_delay_ms" = "10" + register "use_gpio_for_status" = "true" device ref usb2_port6 on end end end -- cgit v1.2.3