usb: penwell_otg: add charging current negotiation and notification support
authorHao Wu <hao.wu@intel.com>
Thu, 25 Aug 2011 11:20:35 +0000 (12:20 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:38:25 +0000 (12:38 -0800)
commit37255e279cf1aefeb429a15fd1c214da5d958091
tree1f851f6b75f62ac65e84af5a8f9786894c71e621
parente38d262bd423c5c028ec53021acff5ae4dd4cd69
usb: penwell_otg: add charging current negotiation and notification support

This patch adds charging current negotiation in Transceiver driver for
SDP/CDP/DCP cases and it also provides notification/query interfaces to
Battery driver for charging current information notification.

*It requires device controller/gadget driver modification to fully
support SDP/CDP cases.

Change-Id: I2d7db99bf16423d308a738bdc25206d9a90e2db4
Signed-off-by: Hao Wu <hao.wu@intel.com>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
drivers/usb/otg/penwell_otg.c
include/linux/usb/intel_mid_otg.h
include/linux/usb/penwell_otg.h