From 4eaf7f525a0874a1eff0f5666004896cc5c89fa3 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 4 Oct 2018 20:03:53 +1300 Subject: 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 Reviewed-by: York Sun --- include/fsl_usb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fsl_usb.h') diff --git a/include/fsl_usb.h b/include/fsl_usb.h index e9e1dd6905..c0f076b06d 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); -- cgit v1.2.3