diff options
author | Li Jun <jun.li@freescale.com> | 2015-07-22 13:59:50 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2015-09-17 09:24:07 -0500 |
commit | f8ede93e68cdb3845cbd8970f2606fb7659628b1 (patch) | |
tree | ad9b870aa08459edb5f32a29e3e75d5d9d9dd3c4 /include | |
parent | 0e9a87bbd4f7d1c48e42c65aa94939a7283599dd (diff) |
MLK-11272 usb: chipidea: otg: data pulse detection work around for imx7d
i.MX7D has a silicon issue on full speed termination after A device ends
a session, which causes it can not detect data pulse from B device if
A device isn't in low power mode, this patch work around it by override
Termsel bit to be 1 for FS mode termination. After A device detects data
pulse or turns on vbus, this override will be cleared and disabled.
Signed-off-by: Li Jun <jun.li@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/chipidea.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h index e3ea5b5a2cad..3ac366dcf500 100644 --- a/include/linux/usb/chipidea.h +++ b/include/linux/usb/chipidea.h @@ -51,6 +51,8 @@ struct ci_hdrc_platform_data { #define CI_HDRC_IMX_ADP_IS_SENSE_INT 11 #define CI_HDRC_IMX_ADP_SENSE_CONNECTION 12 #define CI_HDRC_IMX_ADP_ATTACH_EVENT 13 +#define CI_HDRC_IMX_TERM_SELECT_OVERRIDE_FS 14 +#define CI_HDRC_IMX_TERM_SELECT_OVERRIDE_OFF 15 int (*notify_event)(struct ci_hdrc *ci, unsigned event); struct regulator *reg_vbus; struct usb_otg_caps ci_otg_caps; |