summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-12 13:57:03 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-25 14:18:30 -0700
commite89026c0e2393a555c718054be07db2152b81f2e (patch)
tree53f0ef3187665d7434088752e4856b05e269112b /include/linux
parent8a53f7d7fa27c7df54ac05d0a28750cfbf4114ba (diff)
usb: dwc3: Add support handle type-c plug orientation
Register callbacks for plug orientations in order to cache the current plug orientation reported by extcon. This allows super speed phy driver to configure the appropriate lane upon phy initialization. Change-Id: I906005680b4cc90cc38dc3d403beebf7aa515ad7 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/msm_hsusb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h
index b1a0cfd6a8ce..89effb61d153 100644
--- a/include/linux/usb/msm_hsusb.h
+++ b/include/linux/usb/msm_hsusb.h
@@ -174,6 +174,8 @@ struct msm_usb_cable {
#define PHY_CHARGER_CONNECTED BIT(3)
#define PHY_VBUS_VALID_OVERRIDE BIT(4)
#define DEVICE_IN_SS_MODE BIT(5)
+#define PHY_LANE_A BIT(6)
+#define PHY_LANE_B BIT(7)
#define USB_NUM_BUS_CLOCKS 3