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

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

USB: msm_otg: 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.

CRs-Fixed: 500279
Change-Id: I538601a423e5bc87e98d29690c0da50b96f8e481
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent cf10d49d
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