]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00221716-02 Mx6 USB host: add port speed define MACRO to arc_otg.h
authormake shi <b15407@freescale.com>
Wed, 29 Aug 2012 09:53:38 +0000 (17:53 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:20 +0000 (08:35 +0200)
Add port speed define MACRO to arc_otg.h.

Signed-off-by: make shi <b15407@freescale.com>
arch/arm/plat-mxc/include/mach/arc_otg.h

index bdb6b252b3567aaa291108c7a8f094ec88ecdd33..f2bb01c6a8c90d1ee0bc6e3031213ab64d515e7f 100755 (executable)
@@ -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*/