diff options
author | Cliff Cai <cliff.cai@analog.com> | 2010-01-21 23:02:46 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 09:40:15 -0400 |
commit | 85eb0e4b15efc8034cbae193c99536dae7896701 (patch) | |
tree | 5491cb13c49ada7a4d5ecebb21543412cccb0b30 | |
parent | def282d61578e157ed6362eaffafef8a13af10be (diff) |
Blackfin: mark MUSB VRSEL as active high for appropriate boards
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>
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/cm_bf548.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index ebe76d1e874a..f392af641657 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -98,6 +98,10 @@ static struct musb_hdrc_config musb_config = { | |||
98 | .num_eps = 8, | 98 | .num_eps = 8, |
99 | .dma_channels = 8, | 99 | .dma_channels = 8, |
100 | .gpio_vrsel = GPIO_PF11, | 100 | .gpio_vrsel = GPIO_PF11, |
101 | /* Some custom boards need to be active low, just set it to "0" | ||
102 | * if it is the case. | ||
103 | */ | ||
104 | .gpio_vrsel_active = 1, | ||
101 | }; | 105 | }; |
102 | 106 | ||
103 | static struct musb_hdrc_platform_data musb_plat = { | 107 | static struct musb_hdrc_platform_data musb_plat = { |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 55069af4f67d..606eb36b9d6e 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -62,6 +62,10 @@ static struct musb_hdrc_config musb_config = { | |||
62 | .num_eps = 8, | 62 | .num_eps = 8, |
63 | .dma_channels = 8, | 63 | .dma_channels = 8, |
64 | .gpio_vrsel = GPIO_PG13, | 64 | .gpio_vrsel = GPIO_PG13, |
65 | /* Some custom boards need to be active low, just set it to "0" | ||
66 | * if it is the case. | ||
67 | */ | ||
68 | .gpio_vrsel_active = 1, | ||
65 | }; | 69 | }; |
66 | 70 | ||
67 | static struct musb_hdrc_platform_data musb_plat = { | 71 | static struct musb_hdrc_platform_data musb_plat = { |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 923383386aa1..a05c967a24cf 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -102,6 +102,10 @@ static struct musb_hdrc_config musb_config = { | |||
102 | .num_eps = 8, | 102 | .num_eps = 8, |
103 | .dma_channels = 8, | 103 | .dma_channels = 8, |
104 | .gpio_vrsel = GPIO_PG13, | 104 | .gpio_vrsel = GPIO_PG13, |
105 | /* Some custom boards need to be active low, just set it to "0" | ||
106 | * if it is the case. | ||
107 | */ | ||
108 | .gpio_vrsel_active = 1, | ||
105 | }; | 109 | }; |
106 | 110 | ||
107 | static struct musb_hdrc_platform_data musb_plat = { | 111 | static struct musb_hdrc_platform_data musb_plat = { |
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index f60c333fec66..dbb6b1d83f6d 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c | |||
@@ -498,6 +498,10 @@ static struct musb_hdrc_config musb_config = { | |||
498 | .num_eps = 8, | 498 | .num_eps = 8, |
499 | .dma_channels = 8, | 499 | .dma_channels = 8, |
500 | .gpio_vrsel = GPIO_PH6, | 500 | .gpio_vrsel = GPIO_PH6, |
501 | /* Some custom boards need to be active low, just set it to "0" | ||
502 | * if it is the case. | ||
503 | */ | ||
504 | .gpio_vrsel_active = 1, | ||
501 | }; | 505 | }; |
502 | 506 | ||
503 | static struct musb_hdrc_platform_data musb_plat = { | 507 | static struct musb_hdrc_platform_data musb_plat = { |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 06919db00a74..6fcfb9187c35 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -603,6 +603,10 @@ static struct musb_hdrc_config musb_config = { | |||
603 | .num_eps = 8, | 603 | .num_eps = 8, |
604 | .dma_channels = 8, | 604 | .dma_channels = 8, |
605 | .gpio_vrsel = GPIO_PE7, | 605 | .gpio_vrsel = GPIO_PE7, |
606 | /* Some custom boards need to be active low, just set it to "0" | ||
607 | * if it is the case. | ||
608 | */ | ||
609 | .gpio_vrsel_active = 1, | ||
606 | }; | 610 | }; |
607 | 611 | ||
608 | static struct musb_hdrc_platform_data musb_plat = { | 612 | static struct musb_hdrc_platform_data musb_plat = { |