]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: add a power supply for current control
authorRay Chi <raychi@google.com>
Mon, 22 Feb 2021 11:51:48 +0000 (19:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:37:14 +0000 (09:37 +0100)
commit1906017f887d3fbaa7af87126fc5170feeda3b83
tree9d43115af749f47e1e09de0fa654897fc073fb32
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
usb: dwc3: add a power supply for current control

Currently, VBUS draw callback does no action when the
generic PHYs are used. This patch adds an additional
path to control charging current through power supply
interface.

Signed-off-by: Ray Chi <raychi@google.com>
Link: https://lore.kernel.org/r/20210222115149.3606776-2-raychi@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h