forked from rockchip-linux/kernel
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: updated charger with power switching
Added power switching for USB. Due to HW design faults it is not perfect. HW design faults: - USB-ID of microUSB for HOST and OTG is connected together - USB power is connected together - unsolved USB-charger vs. DCDC booster from battery (no HW interlock) Due to this faults, very limited functions: - USB-charger connected to (any) USB, later second USB can used as USB-device, powered from USB-charger - USB-device connected to (any or both) USB, powered from DCDC booster - USB-device connected to (any) USB and later connected USB-charger, powered from DCDC booster and USB-charger simultaneously !!! - added one per hour shutdown DCDC booster and test if USB-charger is present (it restarts USB-device) it starts charging after this test - USB-charger and USB-device connected and later remove USB-charger, switch to DCDC booster (it restarts USB-device) - USB-host can be connected only to USB-OTG (left, next to audio)
- Loading branch information
Showing
3 changed files
with
223 additions
and
92 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
Oops, something went wrong.