linux-stable/include/linux/usb
Baolin Wang a9081a008f usb: phy: Add USB charger support
This patch introduces the usb charger support based on usb phy that
makes an enhancement to a power driver. The basic conception of the
usb charger is that, when one usb charger is added or removed by
reporting from the extcon device state change, the usb charger will
report to power user to set the current limitation.

Power user can register a notifiee on the usb phy by issuing
usb_register_notifier() to get notified by charger status changes
or charger current changes.

we can notify what current to be drawn to power user according to
different charger type, and now we have 2 methods to get charger type.
One is get charger type from extcon subsystem, which also means the
charger state changes. Another is we can get the charger type from
USB controller detecting or PMIC detecting, and the charger state
changes should be told by issuing usb_phy_set_charger_state().

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-08-15 15:05:01 +03:00
..
association.h
atmel_usba_udc.h
audio-v2.h include: usb: audio: specify exact endiannes of descriptors 2017-07-18 09:33:06 +03:00
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h cdc_ncm: Set NTB format again after altsetting switch for Huawei devices 2017-07-14 08:15:05 -07:00
ch9.h
chipidea.h
composite.h
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: core: unmap request from DMA only if previously mapped 2017-08-15 14:18:54 +03:00
gadget_configfs.h
gpio_vbus.h
hcd.h usb: Fix typo in the definition of Endpoint[out]Request 2017-06-13 10:48:24 +02:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h
musb-ux500.h
musb.h
net2280.h
of.h
ohci_pdriver.h
otg-fsm.h
otg.h
phy.h usb: phy: Add USB charger support 2017-08-15 15:05:01 +03:00
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h
tegra_usb_phy.h
tilegx.h
typec.h usb: typec: Add a sysfs node to manage port type 2017-06-03 18:02:58 +09:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h cdc-ether: divorce initialisation with a filter reset and a generic method 2017-05-23 11:01:28 -04:00
wusb-wa.h
wusb.h
xhci-dbgp.h