From e89026c0e2393a555c718054be07db2152b81f2e Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Thu, 12 May 2016 13:57:03 -0700 Subject: 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 --- include/linux/usb/msm_hsusb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux/usb') 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 -- cgit v1.2.3