lkml.org 
[lkml]   [2019]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Enable USB BC detection to raise AXP813 Vbus current
Date
Unlike previous AXP PMICs, the AXP813 PMIC (and AXP803) supports port
detection defined in USB Battery Charging Specification 1.2, and sets
the real Vbus current based on a pre-defined value (which is the
original Vbus current limitation field) and the port status. However,
the detection needs manual activision. If it's not active, the PMIC will
assume a SDP and limit the Vbus current to 500mA.

This patchset contains two patches, one enables the USB BC 1.2
detection, the other exports the real applied Vbus limitation.

Icenowy Zheng (2):
power: supply: axp20x_usb_power: enable USB BC detection on AXP813
power: supply: axp20x_usb_power: add applied max Vbus support for
AXP813

drivers/power/supply/axp20x_usb_power.c | 140 +++++++++++++++++++++++-
1 file changed, 137 insertions(+), 3 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-10-02 13:27    [W:0.046 / U:22.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site