]> 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)
commit43b142c3461b150854022bd6aacd47aca3b474c0
tree9d43115af749f47e1e09de0fa654897fc073fb32
parent219c9076286fd92026e818ab1375558e5b20649f
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