Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b1eaca7e authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Stephen Boyd
Browse files

USB: dwc3: msm: Add support for Userspace charger detection



The userspace charger detection takes place when a standard dedicated
charger is connected.  We handover the detection part to userspace
after detecting the dedicated charger.  Create a character device
called /dev/usb_ext_chg to expose hardware register access and a
mechanism to vote against low power mode.  Add POWER_SUPPLY_PROP_TYPE
property to power_supply_property array to send charger type information
in power supply uevent.

Change-Id: Iff6a7b7e7d0cccaef3f77d0cdc10fff5b9f1732c
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 1a962758
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment