[PATCH 8/8] musb: set 'extvbus = 0' for Blackfin boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Default value of 'extvbus' is being set as '0' to maintain the
current programming state of all Blackfin musb boards.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
---
 arch/blackfin/mach-bf527/boards/cm_bf527.c |    6 ++++++
 arch/blackfin/mach-bf527/boards/ezbrd.c    |    6 ++++++
 arch/blackfin/mach-bf527/boards/ezkit.c    |    6 ++++++
 arch/blackfin/mach-bf548/boards/cm_bf548.c |    6 ++++++
 arch/blackfin/mach-bf548/boards/ezkit.c    |    6 ++++++
 5 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index f1996b1..48e1591 100644
--- a/arch/blackfin/mach-bf527/boards/cm_bf527.c
+++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c
@@ -104,6 +104,11 @@ static struct musb_hdrc_config musb_config = {
 	.gpio_vrsel	= GPIO_PF11,
 };
 
+/* musb board specific details */
+static struct musb_hdrc_board_data musb_bdata = {
+	.extvbus = 0,
+};
+
 static struct musb_hdrc_platform_data musb_plat = {
 #if defined(CONFIG_USB_MUSB_OTG)
 	.mode		= MUSB_OTG,
@@ -113,6 +118,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.config		= &musb_config,
+	.board_data	= &musb_bdata,
 };
 
 static u64 musb_dmamask = ~(u32)0;
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c
index cad23b1..bc56ea9 100644
--- a/arch/blackfin/mach-bf527/boards/ezbrd.c
+++ b/arch/blackfin/mach-bf527/boards/ezbrd.c
@@ -64,6 +64,11 @@ static struct musb_hdrc_config musb_config = {
 	.gpio_vrsel	= GPIO_PG13,
 };
 
+/* musb board specific details */
+static struct musb_hdrc_board_data musb_bdata = {
+	.extvbus = 0,
+};
+
 static struct musb_hdrc_platform_data musb_plat = {
 #if defined(CONFIG_USB_MUSB_OTG)
 	.mode		= MUSB_OTG,
@@ -73,6 +78,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.config		= &musb_config,
+	.board_data	= &musb_bdata,
 };
 
 static u64 musb_dmamask = ~(u32)0;
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index f09665f..c99e8f2 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -102,6 +102,11 @@ static struct musb_hdrc_config musb_config = {
 	.gpio_vrsel	= GPIO_PG13,
 };
 
+/* musb board specific details */
+static struct musb_hdrc_board_data musb_bdata = {
+	.extvbus = 0,
+};
+
 static struct musb_hdrc_platform_data musb_plat = {
 #if defined(CONFIG_USB_MUSB_OTG)
 	.mode		= MUSB_OTG,
@@ -111,6 +116,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.config		= &musb_config,
+	.board_data	= &musb_bdata,
 };
 
 static u64 musb_dmamask = ~(u32)0;
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c
index ccdcd6d..f745ab3 100644
--- a/arch/blackfin/mach-bf548/boards/cm_bf548.c
+++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c
@@ -333,6 +333,11 @@ static struct musb_hdrc_config musb_config = {
 	.gpio_vrsel	= GPIO_PH6,
 };
 
+/* musb board specific details */
+static struct musb_hdrc_board_data musb_bdata = {
+	.extvbus = 0,
+};
+
 static struct musb_hdrc_platform_data musb_plat = {
 #if defined(CONFIG_USB_MUSB_OTG)
 	.mode		= MUSB_OTG,
@@ -342,6 +347,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.config		= &musb_config,
+	.board_data	= &musb_bdata,
 };
 
 static u64 musb_dmamask = ~(u32)0;
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c
index 1a5286b..00995e8 100644
--- a/arch/blackfin/mach-bf548/boards/ezkit.c
+++ b/arch/blackfin/mach-bf548/boards/ezkit.c
@@ -435,6 +435,11 @@ static struct musb_hdrc_config musb_config = {
 	.gpio_vrsel	= GPIO_PE7,
 };
 
+/* musb board specific details */
+static struct musb_hdrc_board_data musb_bdata = {
+	.extvbus = 0,
+};
+
 static struct musb_hdrc_platform_data musb_plat = {
 #if defined(CONFIG_USB_MUSB_OTG)
 	.mode		= MUSB_OTG,
@@ -444,6 +449,7 @@ static struct musb_hdrc_platform_data musb_plat = {
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.config		= &musb_config,
+	.board_data	= &musb_bdata,
 };
 
 static u64 musb_dmamask = ~(u32)0;
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux