From: make shi Date: Wed, 29 Aug 2012 09:53:38 +0000 (+0800) Subject: ENGR00221716-02 Mx6 USB host: add port speed define MACRO to arc_otg.h X-Git-Tag: v3.0.35-fsl~524 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b01e1b833756f00be458b5a86c1b0e91e7816f44;p=karo-tx-linux.git ENGR00221716-02 Mx6 USB host: add port speed define MACRO to arc_otg.h Add port speed define MACRO to arc_otg.h. Signed-off-by: make shi --- diff --git a/arch/arm/plat-mxc/include/mach/arc_otg.h b/arch/arm/plat-mxc/include/mach/arc_otg.h index bdb6b252b356..f2bb01c6a8c9 100755 --- a/arch/arm/plat-mxc/include/mach/arc_otg.h +++ b/arch/arm/plat-mxc/include/mach/arc_otg.h @@ -246,6 +246,11 @@ extern void __iomem *imx_otg_base; #define PORTSC_PTS_SERIAL (3 << 30) /* serial */ #define PORTSC_STS (1 << 29) /* serial xcvr select */ #define PORTSC_PTW (1 << 28) /* UTMI width */ +#define PORTSC_PORT_SPEED_FULL (0x0<<26) +#define PORTSC_PORT_SPEED_LOW (0x1<<26) +#define PORTSC_PORT_SPEED_HIGH (0x2<<26) +#define PORTSC_PORT_SPEED_UNDEF (0x3<<26) +#define PORTSC_PORT_SPEED_MASK (0x3<<26) #define PORTSC_HSIC_MODE (1 << 25) /* Only for HSIC */ #define PORTSC_PHCD (1 << 23) /* Low Power Suspend */ #define PORTSC_WKDC (1 << 21) /* wakeup on discnt*/