OSDN Git Service

USB: Add driver to control USB fast charge for iOS devices
authorBastien Nocera <hadess@hadess.net>
Wed, 16 Oct 2019 09:39:33 +0000 (11:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Feb 2020 19:01:55 +0000 (11:01 -0800)
commit249fa8217b846a7c031b997bd4ea70d65d3ff774
tree0b6366f88a16c1b27e2b3c9e4d0fdee4f65f07a4
parent77419aa403ca1395f66e1e3de87743f54ba144b6
USB: Add driver to control USB fast charge for iOS devices

iOS devices will not draw more than 500mA unless instructed to do so.
Setting the charge type power supply property to "fast" tells the device
to start drawing more power, using the same procedure that official
"MFi" chargers would.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20191016093933.693-7-hadess@hadess.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/usb/misc/Kconfig
drivers/usb/misc/Makefile
drivers/usb/misc/apple-mfi-fastcharge.c [new file with mode: 0644]