[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191002112545.58481-1-icenowy@aosc.io>
Date: Wed, 2 Oct 2019 19:25:43 +0800
From: Icenowy Zheng <icenowy@...c.io>
To: Sebastian Reichel <sre@...nel.org>, Chen-Yu Tsai <wens@...e.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-sunxi@...glegroups.com, Icenowy Zheng <icenowy@...c.io>
Subject: [PATCH 0/2] Enable USB BC detection to raise AXP813 Vbus current
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
Powered by blists - more mailing lists