summaryrefslogtreecommitdiff
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-19 13:56:25 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-24 17:55:03 -0700
commitd920806870fdb511b977c9f9ac65883d8b33b73e (patch)
tree21b603fe4e7c9c7953a45526e831ee68fc912beb /include/linux/extcon.h
parentcf5a63247918eee80769b660e08a55cc4a1b47a1 (diff)
extcon: Add support for USB connector speed
This allows extcon to notify the USB controller driver to enumerate host/peripheral in high or super speed mode. Change-Id: I425087a02b680a5a1bc0579fd4d1410eb92d8e4c Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r--include/linux/extcon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index faf9ae79ca3c..e1360198955a 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -58,6 +58,9 @@
/* connector orientation 0 - CC1, 1 - CC2 */
#define EXTCON_USB_CC 28
+/* connector speed 0 - High Speed, 1 - super speed */
+#define EXTCON_USB_SPEED 29
+
/* Display external connector */
#define EXTCON_DISP_HDMI 40 /* High-Definition Multimedia Interface */
#define EXTCON_DISP_MHL 41 /* Mobile High-Definition Link */