diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-20 00:24:45 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2015-09-24 10:56:02 +0200 |
commit | a257098741b441e6e84ffe97b7793c580642d502 (patch) | |
tree | 1b4aab3fda2cb0b9752105a6abfbf7c81a0e9eaa /include | |
parent | b4040c3816907f203d9fa7d3d24568e98c076848 (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.
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 ab94f78c4dd1..c22f68b9f69f 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -35,6 +35,7 @@ struct ci_hdrc_platform_data { void (*notify_event) (struct ci_hdrc *ci, unsigned event); struct regulator *reg_vbus; bool tpl_support; + struct extcon_dev *edev; }; /* Default offset of capability registers */ |