]> git.baikalelectronics.ru Git - kernel.git/commit
USB: otg: add notifier support
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 17 Dec 2009 11:01:36 +0000 (13:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:21 +0000 (14:53 -0800)
commitc25bd6244ee0c2151d49e5eb7c78f0049be6f7a5
tree15f03c9ff4428969d3de55b1ad465074c8fd4cd0
parent7fb3121e782decec7a26583c15e8f0d1c76c1b65
USB: otg: add notifier support

The notifier will be used to communicate usb events
to other drivers like the charger chip.

This can be used as source of information to kick
usb charger detection as described by the USB
Battery Charging Specification 1.1 and/or to
pass bMaxPower field of selected usb_configuration
to charger chip in order to use that information
as input current on the charging profile
setup.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/usb/otg.h