diff options
| author | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
| commit | 79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch) | |
| tree | 5e0fa7156acb75ba603022bc807df8f2fedb97a8 /include/linux/usb/msm_hsusb.h | |
| parent | 721b51fcf91898299d96f4b72cb9434cda29dce6 (diff) | |
| parent | 8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff) | |
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
Diffstat (limited to 'include/linux/usb/msm_hsusb.h')
| -rw-r--r-- | include/linux/usb/msm_hsusb.h | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/usb/msm_hsusb.h b/include/linux/usb/msm_hsusb.h index e55a1504266e..8c8f6854c993 100644 --- a/include/linux/usb/msm_hsusb.h +++ b/include/linux/usb/msm_hsusb.h @@ -128,7 +128,7 @@ struct msm_otg_platform_data {   */  struct msm_usb_cable {  	struct notifier_block		nb; -	struct extcon_specific_cable_nb conn; +	struct extcon_dev		*extcon;  };  /** @@ -155,6 +155,10 @@ struct msm_usb_cable {   *	starting controller using usbcmd run/stop bit.   * @vbus: VBUS signal state trakining, using extcon framework   * @id: ID signal state trakining, using extcon framework + * @switch_gpio: Descriptor for GPIO used to control external Dual + *               SPDT USB Switch. + * @reboot: Used to inform the driver to route USB D+/D- line to Device + *	    connector   */  struct msm_otg {  	struct usb_phy phy; @@ -188,6 +192,9 @@ struct msm_otg {  	struct msm_usb_cable vbus;  	struct msm_usb_cable id; + +	struct gpio_desc *switch_gpio; +	struct notifier_block reboot;  };  #endif  |