[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210222115149.3606776-1-raychi@google.com>
Date: Mon, 22 Feb 2021 19:51:47 +0800
From: Ray Chi <raychi@...gle.com>
To: balbi@...nel.org, gregkh@...uxfoundation.org
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
kyletso@...gle.com, badhri@...gle.com, Ray Chi <raychi@...gle.com>
Subject: [PATCH 0/2] an additional path to control charging current
Currently, VBUS draw callback does no action when the
generic PHYs are used. The patches add an additional path
to control charging current through power supply property
POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT.
Ray Chi (2):
usb: dwc3: add a power supply for current control
usb: dwc3: add an alternate path in vbus_draw callback
drivers/usb/dwc3/core.c | 15 +++++++++++++++
drivers/usb/dwc3/core.h | 4 ++++
drivers/usb/dwc3/gadget.c | 10 +++++++++-
3 files changed, 28 insertions(+), 1 deletion(-)
--
2.30.0.617.g56c4b15f3c-goog
Powered by blists - more mailing lists