diff options
author | Tim Van Patten <timvp@google.com> | 2022-04-13 11:59:12 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-04-14 22:31:11 +0000 |
commit | e229c6005f0db9b3fb80eaf9a76aea33143ca0a2 (patch) | |
tree | 61531384f55226cd9d665de04257596f6e5e5dcb | |
parent | 3d4665cc71229d0d404035217b6796adc94c9567 (diff) |
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 <timvp@google.com>
Change-Id: I72f6b28671efddfbef53f328d904a05f73f39efa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63559
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
-rw-r--r-- | src/mainboard/google/guybrush/variants/baseboard/devicetree.cb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |