Blackfin: mark MUSB VRSEL as active high for appropriate boards
authorCliff Cai <cliff.cai@analog.com>
Fri, 22 Jan 2010 04:02:46 +0000 (04:02 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 21 May 2010 13:40:15 +0000 (09:40 -0400)
These boards all have the GPIO VRSEL hooked up as an active high.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf527/boards/cm_bf527.c
arch/blackfin/mach-bf527/boards/ezbrd.c
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf548/boards/cm_bf548.c
arch/blackfin/mach-bf548/boards/ezkit.c

index ebe76d1..f392af6 100644 (file)
@@ -98,6 +98,10 @@ static struct musb_hdrc_config musb_config = {
        .num_eps        = 8,
        .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PF11,
+       /* Some custom boards need to be active low, just set it to "0"
+        * if it is the case.
+        */
+       .gpio_vrsel_active      = 1,
 };
 
 static struct musb_hdrc_platform_data musb_plat = {
index 55069af..606eb36 100644 (file)
@@ -62,6 +62,10 @@ static struct musb_hdrc_config musb_config = {
        .num_eps        = 8,
        .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PG13,
+       /* Some custom boards need to be active low, just set it to "0"
+        * if it is the case.
+        */
+       .gpio_vrsel_active      = 1,
 };
 
 static struct musb_hdrc_platform_data musb_plat = {
index 9233833..a05c967 100644 (file)
@@ -102,6 +102,10 @@ static struct musb_hdrc_config musb_config = {
        .num_eps        = 8,
        .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PG13,
+       /* Some custom boards need to be active low, just set it to "0"
+        * if it is the case.
+        */
+       .gpio_vrsel_active      = 1,
 };
 
 static struct musb_hdrc_platform_data musb_plat = {
index f60c333..dbb6b1d 100644 (file)
@@ -498,6 +498,10 @@ static struct musb_hdrc_config musb_config = {
        .num_eps        = 8,
        .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PH6,
+       /* Some custom boards need to be active low, just set it to "0"
+        * if it is the case.
+        */
+       .gpio_vrsel_active      = 1,
 };
 
 static struct musb_hdrc_platform_data musb_plat = {
index 06919db..6fcfb91 100644 (file)
@@ -603,6 +603,10 @@ static struct musb_hdrc_config musb_config = {
        .num_eps        = 8,
        .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PE7,
+       /* Some custom boards need to be active low, just set it to "0"
+        * if it is the case.
+        */
+       .gpio_vrsel_active      = 1,
 };
 
 static struct musb_hdrc_platform_data musb_plat = {