From b01e1b833756f00be458b5a86c1b0e91e7816f44 Mon Sep 17 00:00:00 2001 From: make shi Date: Wed, 29 Aug 2012 17:53:38 +0800 Subject: [PATCH] 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 --- arch/arm/plat-mxc/include/mach/arc_otg.h | 5 +++++ 1 file changed, 5 insertions(+) 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*/ -- 2.39.5