forked from system76/ec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to partially power platform while off (VccPRIM and VDD5), in order to keep the USB-A and USB-C ports powered. This allows using the laptop as a power bank while it is off. Refactor the power sequencing code to make it easier to partially power the platform instead of only going full on or full off. Power draw measured at USB-C plug is 0.161W, so we still get weeks of standby. Tested only on V540TU so far. Both USB-C ports work, and the right USB-A port works in BC 1.2 SDP mode. Left USB-A port does not work, but that's expected. Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
- Loading branch information
Showing
5 changed files
with
119 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters