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 ebe76d1e874aabbb183bf6fe43dd948c1360431b..f392af641657d78f5be0294cc162c4c294c4f5d2 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 55069af4f67dd88b69230c659e67c8b821713de0..606eb36b9d6ea2ce31d9d9082d0c8de9ac5512d4 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 923383386aa18cee70cd86efb4db19fe5017e8a1..a05c967a24cfc22046fde2709da087a6c30bfef1 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 f60c333fec667ea8c88f0023659e8d2ae9dcab8e..dbb6b1d83f6dc7a2d0dc1861f23d0856a1170bd0 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 06919db00a7419df563e40a00ac65ca5220caa7c..6fcfb9187c357bcf1b69f5ae821fec5386f6dc6b 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 = {