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)
commite9a20171dfa0aa134d2211126d1310f2daea52cf
tree15f03c9ff4428969d3de55b1ad465074c8fd4cd0
parent8bc1d21776bb012e41ed062c6d842cfe7c82998a
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