aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_usb.h
diff options
context:
space:
mode:
authorChris Packham2018-10-04 20:03:53 +1300
committerYork Sun2018-10-29 13:13:05 -0700
commit4eaf7f525a0874a1eff0f5666004896cc5c89fa3 (patch)
tree551c1b5d786f0f8fc0182361ad98f591c6a71481 /include/fsl_usb.h
parent454cf76184c65426b68033a23da086e73663f2fc (diff)
fsl/usb: Workaround for USB erratum-A005275
Workaround makes FS as default mode on all affected socs. Add support to check erratum-A005275 validity for an soc. This info is required to determine whether a given soc is affected by this erratum. Add quirk for this erratum "has_fsl_erratum_a005275" . This quirk is used to enable workaround for the errata Force FS mode as default by: - making EPS as FS - setting PFSC bit to disable HS chirping This workaround can be disabled by mentioning "no_erratum_a005275" in hwconfig string Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/fsl_usb.h')
-rw-r--r--include/fsl_usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fsl_usb.h b/include/fsl_usb.h
index e9e1dd69053..c0f076b06da 100644
--- a/include/fsl_usb.h
+++ b/include/fsl_usb.h
@@ -87,6 +87,7 @@ struct ccsr_usb_phy {
/* USB Erratum Checking code */
#if defined(CONFIG_PPC) || defined(CONFIG_ARM)
bool has_dual_phy(void);
+bool has_erratum_a005275(void);
bool has_erratum_a006261(void);
bool has_erratum_a007075(void);
bool has_erratum_a007798(void);