diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-20 00:24:45 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-12-26 14:48:13 +0100 |
commit | ef8aa6790398c976204c56b1536652ac8f510331 (patch) | |
tree | 40a9e67cb3a103ce7db765ab458cd54c3e27b6d4 /include | |
parent | a9c74fc52003271bb6d575eb2cd30d8b6d2bbe29 (diff) |
usb: chipidea: use extcon framework for ID and VBUS detection
Rather than relying on special USB/PHY pins/registers use the generic
extcon framework with its extcon-usb-gpio implementation to detect ID
and VBUS changes.
(cherry picked from commit a257098741b441e6e84ffe97b7793c580642d502)
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/chipidea.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index 3ac366dcf500..7339bd9f2ba1 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -60,6 +60,7 @@ struct ci_hdrc_platform_data { u32 ahbburst_config; u32 burst_length; u32 phy_clkgate_delay_us; + struct extcon_dev *edev; }; /* Default offset of capability registers */ |