aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/intel_mid_otg.h
diff options
context:
space:
mode:
authorHao Wu <hao.wu@intel.com>2010-12-09 10:37:44 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:44 +0000
commitcbaa7ebe95493a974598501175daf52d11904742 (patch)
tree65aa7ba48f09e562277f6ec910194371096c3f93 /include/linux/usb/intel_mid_otg.h
parent8f7d1b17ab0bce5338effae0cd7fd0d97e03a962 (diff)
downloadmrst-s0i3-test-cbaa7ebe95493a974598501175daf52d11904742.tar.gz
mrst-s0i3-test-cbaa7ebe95493a974598501175daf52d11904742.tar.xz
mrst-s0i3-test-cbaa7ebe95493a974598501175daf52d11904742.zip
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. Signed-off-by: Hao Wu <hao.wu@intel.com>
Diffstat (limited to 'include/linux/usb/intel_mid_otg.h')
-rw-r--r--include/linux/usb/intel_mid_otg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/intel_mid_otg.h b/include/linux/usb/intel_mid_otg.h
index a0ccf795f36..c9ec4169a9e 100644
--- a/include/linux/usb/intel_mid_otg.h
+++ b/include/linux/usb/intel_mid_otg.h
@@ -162,6 +162,8 @@ struct intel_mid_otg_xceiv *otg_to_mid_xceiv(struct otg_transceiver *otg)
#define MID_OTG_NOTIFY_HOSTREMOVE 0x0008
#define MID_OTG_NOTIFY_CLIENTADD 0x0009
#define MID_OTG_NOTIFY_CLIENTREMOVE 0x000a
+#define MID_OTG_NOTIFY_CLIENTFS 0x000b
+#define MID_OTG_NOTIFY_CLIENTHS 0x000c
static inline int
intel_mid_otg_register_notifier(struct intel_mid_otg_xceiv *iotg,