diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-16 10:45:50 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:03:18 +0200 |
commit | 1d46676256fe722fc11c266728f1f09de0943aa8 (patch) | |
tree | 0984e3accce1a38b4396ba5fa928349e428ef1e7 /include/linux | |
parent | 56d0696232fa2ba60006fcd05888e933ef9dc085 (diff) |
USB: Add support for USB OTG 2.0
OTG 2.0 support is provided in Kernel 3.0.
Srp related modifications are done in ab8500-usb.
ST-Ericsson ID: 401192
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10054
Change-Id: I1bf52c8d6f6c4b0bedf5e51004dc72bf52a68020
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49006
Reviewed-by: QATOOLS
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Conflicts:
drivers/usb/otg/ab8500-usb.c
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/gadget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 51c97812bf4..164c9a03052 100644 --- a/include/linux/usb/gadget.h +++ b/include/linux/usb/gadget.h @@ -536,6 +536,11 @@ struct usb_gadget { unsigned b_hnp_enable:1; unsigned a_hnp_support:1; unsigned a_alt_hnp_support:1; +#ifdef CONFIG_USB_OTG_20 + unsigned host_request:1; + unsigned otg_hnp_reqd:1; + unsigned otg_srp_reqd:1; +#endif const char *name; struct device dev; }; |