diff options
author | Eric Lai <ericr_lai@compal.corp-partner.google.com> | 2020-10-28 11:46:02 +0800 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2020-10-30 20:20:47 +0000 |
commit | b3e9aaf62b5608781bf59e282ec220cb4424d152 (patch) | |
tree | 1e4bbe9151e337da7c73a36d1e621175b7daf60f /src/mainboard/google/octopus/variants/fleex/overridetree.cb | |
parent | 70907b00e6b16f7bf6407c3f58a06473209a1843 (diff) |
mb/google/octopus/var/fleex: Disable XHCI LFPS power management by sku
LTE module Fibocom L850-GL is lost after idle overnight,
with this workaround, host will not initiate U3 wakeup
at the same time with device, which will avoid the race condition.
If this option is set in the devicetree, the bits[7:4] in XHCI MMIO BAR +
offset 0x80A4 (PMCTRL_REG) will be updated from default 9 to 0.
BUG=b:169645448
BRANCH=octopus
TEST=build coreboot with DisableXhciLfpsPM being set to 1 and flash
the image to the device. Run following command to check if
bits[7:4] is set 0:
>iotools mmio_read32 "XHCI MMIO BAR + 0x80A4"
Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I3a04320b0e2441dce540a5afdc461f12de45c41b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46868
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marco Chen <marcochen@google.com>
Diffstat (limited to 'src/mainboard/google/octopus/variants/fleex/overridetree.cb')
-rw-r--r-- | src/mainboard/google/octopus/variants/fleex/overridetree.cb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/google/octopus/variants/fleex/overridetree.cb b/src/mainboard/google/octopus/variants/fleex/overridetree.cb index 679b101037..2fd554ff88 100644 --- a/src/mainboard/google/octopus/variants/fleex/overridetree.cb +++ b/src/mainboard/google/octopus/variants/fleex/overridetree.cb @@ -84,6 +84,10 @@ chip soc/intel/apollolake }, }" + # Disable compliance mode + register "DisableComplianceMode" = "1" + register "disable_xhci_lfps_pm" = "0" + device domain 0 on device pci 16.0 on chip drivers/i2c/hid @@ -181,7 +185,4 @@ chip soc/intel/apollolake end end # - I2C 7 end - - # Disable compliance mode - register "DisableComplianceMode" = "1" end |