diff options
author | Li Jun <jun.li@nxp.com> | 2019-09-09 08:41:41 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2019-11-18 09:45:30 +0100 |
commit | 93c2c7330a3b6d973cd82dfd7bcbd6df035752f6 (patch) | |
tree | df38e078eda515d23a96f2765091abb0c3fa3bbd /drivers/usb/chipidea/ci_hdrc_imx.h | |
parent | usb: chipidea: udc: protect usb interrupt enable (diff) | |
download | linux-93c2c7330a3b6d973cd82dfd7bcbd6df035752f6.tar.xz linux-93c2c7330a3b6d973cd82dfd7bcbd6df035752f6.zip |
usb: chipidea: imx: enable vbus and id wakeup only for OTG events
If ID or VBUS is from external block, don't enable its wakeup
because it isn't used at all.
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb/chipidea/ci_hdrc_imx.h')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_imx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.h b/drivers/usb/chipidea/ci_hdrc_imx.h index c842e03f8767..de2aac9a2868 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.h +++ b/drivers/usb/chipidea/ci_hdrc_imx.h @@ -22,6 +22,8 @@ struct imx_usbmisc_data { unsigned int evdo:1; /* set external vbus divider option */ unsigned int ulpi:1; /* connected to an ULPI phy */ unsigned int hsic:1; /* HSIC controlller */ + unsigned int ext_id:1; /* ID from exteranl event */ + unsigned int ext_vbus:1; /* Vbus from exteranl event */ }; int imx_usbmisc_init(struct imx_usbmisc_data *data); |