summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@gmail.com>2015-07-09 07:18:39 (GMT)
committerFelipe Balbi <balbi@ti.com>2015-07-29 14:59:20 (GMT)
commit5d701cef9b40188c11c39be3a401bc4feeb154b8 (patch)
treed5c16267ce06abb29c9b75ca7b77feb2a66414fa /include/uapi
parent8486a0bba6fc13ae60a8e402cf77c60a7d4e7a04 (diff)
downloadlinux-5d701cef9b40188c11c39be3a401bc4feeb154b8.tar.xz
usb: add USB_OTG_ADP definition
Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes. Signed-off-by: Macpaul Lin <macpaul@gmail.com> Signed-off-by: Li Jun <jun.li@freescale.com> Acked-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/usb/ch9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch9.h b/include/uapi/linux/usb/ch9.h
index aec6899..f7adc6e 100644
--- a/include/uapi/linux/usb/ch9.h
+++ b/include/uapi/linux/usb/ch9.h
@@ -688,6 +688,7 @@ struct usb_otg20_descriptor {
/* from usb_otg_descriptor.bmAttributes */
#define USB_OTG_SRP (1 << 0)
#define USB_OTG_HNP (1 << 1) /* swap host/device roles */
+#define USB_OTG_ADP (1 << 2) /* support ADP */
/*-------------------------------------------------------------------------*/