Thread (15 messages) 15 messages, 5 authors, 2016-06-21

RE: [RESEND PATCH v11 2/4] gadget: Support for the usb charger framework

From: Jun Li <hidden>
Date: 2016-06-13 15:15:18
Also in: lkml

Hi
-----Original Message-----
From: linux-usb-owner@vger.kernel.org [mailto:linux-usb-
owner@vger.kernel.org] On Behalf Of Baolin Wang
Sent: Monday, June 13, 2016 4:47 PM
To: balbi@kernel.org; gregkh@linuxfoundation.org; sre@kernel.org;
dbaryshkov@gmail.com; dwmw2@infradead.org
Cc: robh@kernel.org; m.szyprowski@samsung.com; ruslan.bilovol@gmail.com;
peter.chen@freescale.com; stern@rowland.harvard.edu; r.baldyga@samsung.com;
yoshihiro.shimoda.uh@renesas.com; lee.jones@linaro.org; broonie@kernel.org;
ckeepax@opensource.wolfsonmicro.com; patches@opensource.wolfsonmicro.com;
baolin.wang@linaro.org; linux-pm@vger.kernel.org; linux-
usb@vger.kernel.org; device-mainlining@lists.linuxfoundation.org; linux-
kernel@vger.kernel.org
Subject: [RESEND PATCH v11 2/4] gadget: Support for the usb charger
framework

For supporting the usb charger, it adds the usb_charger_init() and
usb_charger_exit() functions for usb charger initialization and exit.

It will report to the usb charger when the gadget state is changed, then
the usb charger can do the power things.

Signed-off-by: Baolin Wang <redacted>
Reviewed-by: Li Jun <redacted>
Tested-by: Li Jun <redacted>
---
 drivers/usb/gadget/udc/udc-core.c |   11 +++++++++++
 include/linux/usb/gadget.h        |   11 +++++++++++
 2 files changed, 22 insertions(+)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help