mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
e9a1e9eb41143a30eae75b408fc85d5c652a8652
The USB controller should disable the PHY itself when usb is released, but from the power tests I ran it does not. This change adds a call in usb_release to deactivate the PHY. It looks like having the AP on vs off also makes a difference in power consumption. I am looking into that now, but until that is resolved turn of the AP off while testing this USB change to see the effects on power. BUG=chrome-os-partner:54331 BRANCH=none TEST=manual Without deactivating the PHY put cr50 into deep sleep on gru. run 'reboot ap-off' measure pp3300_haven_mw and it is around 4.5mW Add deactivating the PHY during usb_release. Put cr50 into deep sleep run 'reboot ap-off' measure the power and the average should be around 2mW Change-Id: I16e6885a4e40c78e81d9bbc42c9af79e5f55047e Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/362159 Commit-Ready: Dan Shi <dshi@google.com> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%