RE: [PATCH 3/8] ti816evm: Add support for musb interface

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

 



Hi,
> > > Adding musb support in ti816 EVM board file.
> > >
> > > Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
> > > Signed-off-by: Ravi Babu <ravibabu@xxxxxx>
> > > Acked-by: Felipe Balbi <balbi@xxxxxx>
> >
> > This patch can result in a merge conflict, therefore I think
> > this one should be taken through Tony's tree.
> >
> > Also you should work together with Hemant Pedanekar and
> > someone of you should rebase on top of the other otherwise
> > one of the patches (yours or Hemant's) possibly will not apply.
> 
> Ok sure. I will submit the patches (v5) after creating it on top of
> Hemant's and Vaibhav's patches.

Here is the v5 of this patch created against latest Hemant's patch set.

--------------------------------------------------------
>From 3006845992157acc4a2b44d0be119e22bb34d1f4 Mon Sep 17 00:00:00 2001
From: Ravi Babu <ravibabu@xxxxxx>
Date: Wed, 17 Aug 2011 17:58:02 +0530
Subject: [PATCH 3/8 v5] ti816evm: Add support for musb interface

Adding musb support in ti816 EVM board file.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx>
Signed-off-by: Ravi Babu <ravibabu@xxxxxx>
Acked-by: Felipe Balbi <balbi@xxxxxx>
---
 arch/arm/mach-omap2/board-ti8168evm.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c
index b858921..cab909f 100644
--- a/arch/arm/mach-omap2/board-ti8168evm.c
+++ b/arch/arm/mach-omap2/board-ti8168evm.c
@@ -23,6 +23,14 @@
 #include <plat/irqs.h>
 #include <plat/board.h>
 #include <plat/common.h>
+#include <plat/usb.h>
+
+static struct omap_musb_board_data musb_board_data = {
+       .set_phy_power  = ti81xx_musb_phy_power,
+       .interface_type = MUSB_INTERFACE_ULPI,
+       .mode           = MUSB_OTG,
+       .power          = 500,
+};

 static struct omap_board_config_kernel ti81xx_evm_config[] __initdata = {
 };
@@ -33,6 +41,7 @@ static void __init ti81xx_evm_init(void)
        omap_sdrc_init(NULL, NULL);
        omap_board_config = ti81xx_evm_config;
        omap_board_config_size = ARRAY_SIZE(ti81xx_evm_config);
+       usb_musb_init(&musb_board_data);
 }

 MACHINE_START(TI8168EVM, "ti8168evm")
--
1.6.2.4
--------------------------------------------------------

> 
> Thanks,
> Ajay
> >
> > > ---
> > >  arch/arm/mach-omap2/board-ti8168evm.c |    9 +++++++++
> > >  1 files changed, 9 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-
> > omap2/board-ti8168evm.c
> > > index 2c243df..1f3d423 100644
> > > --- a/arch/arm/mach-omap2/board-ti8168evm.c
> > > +++ b/arch/arm/mach-omap2/board-ti8168evm.c
> > > @@ -23,6 +23,14 @@
> > >  #include <plat/irqs.h>
> > >  #include <plat/board.h>
> > >  #include <plat/common.h>
> > > +#include <plat/usb.h>
> > > +
> > > +static struct omap_musb_board_data musb_board_data = {
> > > +	.set_phy_power	= ti81xx_musb_phy_power,
> > > +	.interface_type	= MUSB_INTERFACE_ULPI,
> > > +	.mode           = MUSB_OTG,
> > > +	.power		= 500,
> > > +};
> > >
> > >  static struct omap_board_config_kernel ti8168_evm_config[]
> __initdata
> > = {
> > >  };
> > > @@ -33,6 +41,7 @@ static void __init ti8168_evm_init(void)
> > >  	omap_sdrc_init(NULL, NULL);
> > >  	omap_board_config = ti8168_evm_config;
> > >  	omap_board_config_size = ARRAY_SIZE(ti8168_evm_config);
> > > +	usb_musb_init(&musb_board_data);
> > >  }
> > >
> > >  static void __init ti8168_evm_map_io(void)
> >
> > --
> > Regards,
> > Igor.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux