linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tidspbridge git repository
@ 2009-03-23  7:41 ameya.palande
  2009-03-23  7:44 ` Menon, Nishanth
  2009-03-23 19:47 ` Tony Lindgren
  0 siblings, 2 replies; 11+ messages in thread
From: ameya.palande @ 2009-03-23  7:41 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, hiroshi.doyu

Hi Tony,

I have collected latest patches for tidspbridge at:
git://gitorious.org/tidspbridge/mainline.git 

Branch is: tidspbridge

It is based on your pm branch.
Can you pull it to your tidspbridge branch?

Thanks!

Cheers,
Ameya.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: tidspbridge git repository
  2009-03-23  7:41 tidspbridge git repository ameya.palande
@ 2009-03-23  7:44 ` Menon, Nishanth
  2009-03-23  7:58   ` Ameya Palande
  2009-03-23 19:47 ` Tony Lindgren
  1 sibling, 1 reply; 11+ messages in thread
From: Menon, Nishanth @ 2009-03-23  7:44 UTC (permalink / raw)
  To: ameya.palande, tony; +Cc: linux-omap, hiroshi.doyu

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of ameya.palande@nokia.com
> Sent: Monday, March 23, 2009 9:42 AM
> To: tony@atomide.com
> Cc: linux-omap@vger.kernel.org; hiroshi.doyu@nokia.com
> Subject: tidspbridge git repository
> 
> I have collected latest patches for tidspbridge at:
> git://gitorious.org/tidspbridge/mainline.git
> 
> Branch is: tidspbridge
> 
> It is based on your pm branch.
Is'nt the old PM branch moved to Kevin's tree[1]?
Regards,
Nishanth Menon
Ref:
[1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=shortlog;h=pm-2.6.28

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-23  7:44 ` Menon, Nishanth
@ 2009-03-23  7:58   ` Ameya Palande
  2009-03-23  8:55     ` Menon, Nishanth
  0 siblings, 1 reply; 11+ messages in thread
From: Ameya Palande @ 2009-03-23  7:58 UTC (permalink / raw)
  To: Menon, Nishanth
  Cc: ameya.palande, tony, linux-omap, hiroshi.doyu, Kevin Hilman

On Mon, Mar 23, 2009 at 9:44 AM, Menon, Nishanth <nm@ti.com> wrote:
>> -----Original Message-----
>> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
>> owner@vger.kernel.org] On Behalf Of ameya.palande@nokia.com
>> Sent: Monday, March 23, 2009 9:42 AM
>> To: tony@atomide.com
>> Cc: linux-omap@vger.kernel.org; hiroshi.doyu@nokia.com
>> Subject: tidspbridge git repository
>>
>> I have collected latest patches for tidspbridge at:
>> git://gitorious.org/tidspbridge/mainline.git
>>
>> Branch is: tidspbridge
>>
>> It is based on your pm branch.
> Is'nt the old PM branch moved to Kevin's tree[1]?
> Regards,
> Nishanth Menon
> Ref:
> [1] http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=shortlog;h=pm-2.6.28
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

When I try to fetch pm-2.6.28 from Kevin's tree I always get
following error:

error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under
http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c
while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81.
fatal: Fetch failed.

Command string:
git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
pm-2.6.28:pm-2.6.28

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: tidspbridge git repository
  2009-03-23  7:58   ` Ameya Palande
@ 2009-03-23  8:55     ` Menon, Nishanth
  2009-03-23 11:22       ` Ameya Palande
  0 siblings, 1 reply; 11+ messages in thread
From: Menon, Nishanth @ 2009-03-23  8:55 UTC (permalink / raw)
  To: Ameya Palande; +Cc: ameya.palande, tony, linux-omap, hiroshi.doyu, Kevin Hilman


> -----Original Message-----
> From: Ameya Palande [mailto:2ameya@gmail.com]
> Sent: Monday, March 23, 2009 9:58 AM
> 
> When I try to fetch pm-2.6.28 from Kevin's tree I always get
> following error:
> 
> error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under
> http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
> Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c
> while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81.
> fatal: Fetch failed.
> 
> Command string:
> git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-
> omap-pm.git
> pm-2.6.28:pm-2.6.28
> 
Git protocol works... http seems broken..


Regards,
Nishanth Menon

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-23  8:55     ` Menon, Nishanth
@ 2009-03-23 11:22       ` Ameya Palande
  2009-03-23 12:15         ` Menon, Nishanth
  0 siblings, 1 reply; 11+ messages in thread
From: Ameya Palande @ 2009-03-23 11:22 UTC (permalink / raw)
  To: Menon, Nishanth
  Cc: ameya.palande, tony, linux-omap, hiroshi.doyu, Kevin Hilman

On Mon, Mar 23, 2009 at 10:55 AM, Menon, Nishanth <nm@ti.com> wrote:
>
>> -----Original Message-----
>> From: Ameya Palande [mailto:2ameya@gmail.com]
>> Sent: Monday, March 23, 2009 9:58 AM
>>
>> When I try to fetch pm-2.6.28 from Kevin's tree I always get
>> following error:
>>
>> error: Unable to find 58d4e18530da1ca4020c1046709b7d8cdadc639c under
>> http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
>> Cannot obtain needed blob 58d4e18530da1ca4020c1046709b7d8cdadc639c
>> while processing commit a0c296df7fc41bd1e3f209c1bece0ba2ec30bc81.
>> fatal: Fetch failed.
>>
>> Command string:
>> git fetch http://www.kernel.org/pub/scm/linux/kernel/git/khilman/linux-
>> omap-pm.git
>> pm-2.6.28:pm-2.6.28
>>
> Git protocol works... http seems broken..
>
>
> Regards,
> Nishanth Menon
>

Thanks Nishant!
tidspbridge patchset is now rebased on kevin's pm-2.6.28 branch.

Cheers,
Ameya.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* RE: tidspbridge git repository
  2009-03-23 11:22       ` Ameya Palande
@ 2009-03-23 12:15         ` Menon, Nishanth
  0 siblings, 0 replies; 11+ messages in thread
From: Menon, Nishanth @ 2009-03-23 12:15 UTC (permalink / raw)
  To: Ameya Palande; +Cc: ameya.palande, tony, linux-omap, hiroshi.doyu, Kevin Hilman

> -----Original Message-----
> From: Ameya Palande [mailto:2ameya@gmail.com]
> Sent: Monday, March 23, 2009 1:23 PM

> tidspbridge patchset is now rebased on kevin's pm-2.6.28 branch.

Thanks. Just for everyone's reference, project link is [1], and git link is [2]

Steps to get the latest tidspbridge based on linux-omap-pm (2.6.28):
git clone git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git
git checkout -b  pm-2.6.28 --track origin/pm-2.6.28
git fetch git://gitorious.org/tidspbridge/mainline.git tidspbridge:tidspbridge
git checkout tidspbridge

Just did a basic compile and insmod+rmmod. No data transfers :(...

Regards,
Nishanth Menon
Ref:
[1] http://gitorious.org/projects/tidspbridge/repos/mainline/logs/tidspbridge
[2] git://gitorious.org/tidspbridge/mainline.git

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-23  7:41 tidspbridge git repository ameya.palande
  2009-03-23  7:44 ` Menon, Nishanth
@ 2009-03-23 19:47 ` Tony Lindgren
  2009-03-24 23:27   ` Felipe Contreras
  2009-03-27 13:06   ` Ameya Palande
  1 sibling, 2 replies; 11+ messages in thread
From: Tony Lindgren @ 2009-03-23 19:47 UTC (permalink / raw)
  To: ameya.palande; +Cc: linux-omap, hiroshi.doyu

* ameya.palande@nokia.com <ameya.palande@nokia.com> [090323 00:42]:
> Hi Tony,
> 
> I have collected latest patches for tidspbridge at:
> git://gitorious.org/tidspbridge/mainline.git 
> 
> Branch is: tidspbridge
> 
> It is based on your pm branch.
> Can you pull it to your tidspbridge branch?

What dependencies are there to the PM branch?

To me it sounds like you should rebase your tidspbridge branch
against the mainline kernel as the drivers should be arch
independent.

If something is missing from the mainline kernel to rebase and
compile tidspbridge against the mainline, we need to fix those
issues.

Regards,

Tony

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-23 19:47 ` Tony Lindgren
@ 2009-03-24 23:27   ` Felipe Contreras
  2009-03-27 13:06   ` Ameya Palande
  1 sibling, 0 replies; 11+ messages in thread
From: Felipe Contreras @ 2009-03-24 23:27 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: ameya.palande, linux-omap, hiroshi.doyu

On Mon, Mar 23, 2009 at 9:47 PM, Tony Lindgren <tony@atomide.com> wrote:
> * ameya.palande@nokia.com <ameya.palande@nokia.com> [090323 00:42]:
>> Hi Tony,
>>
>> I have collected latest patches for tidspbridge at:
>> git://gitorious.org/tidspbridge/mainline.git
>>
>> Branch is: tidspbridge
>>
>> It is based on your pm branch.
>> Can you pull it to your tidspbridge branch?
>
> What dependencies are there to the PM branch?
>
> To me it sounds like you should rebase your tidspbridge branch
> against the mainline kernel as the drivers should be arch
> independent.
>
> If something is missing from the mainline kernel to rebase and
> compile tidspbridge against the mainline, we need to fix those
> issues.

Last time I tried it worked fine, with one minor issue:
http://github.com/felipec/linux-omap/commit/1ae534c0ab22e57dd986c50adddc83e2ec42f970

Btw, it seems the 2.6.28-omap1 tag didn't have the defconfig updated.

-- 
Felipe Contreras

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-23 19:47 ` Tony Lindgren
  2009-03-24 23:27   ` Felipe Contreras
@ 2009-03-27 13:06   ` Ameya Palande
  2009-03-27 16:50     ` Tony Lindgren
  1 sibling, 1 reply; 11+ messages in thread
From: Ameya Palande @ 2009-03-27 13:06 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, Doyu Hiroshi (Nokia-D/Helsinki), Nishanth Menon

Hi Tony,

ext Tony Lindgren wrote:
> * ameya.palande@nokia.com <ameya.palande@nokia.com> [090323 00:42]:
>> Hi Tony,
>>
>> I have collected latest patches for tidspbridge at:
>> git://gitorious.org/tidspbridge/mainline.git 
>>
>> Branch is: tidspbridge
>>
>> It is based on your pm branch.
>> Can you pull it to your tidspbridge branch?
> 
> What dependencies are there to the PM branch?
> 
> To me it sounds like you should rebase your tidspbridge branch
> against the mainline kernel as the drivers should be arch
> independent.
> 
> If something is missing from the mainline kernel to rebase and
> compile tidspbridge against the mainline, we need to fix those
> issues.
> 
> Regards,
> 
> Tony

I have rebased tidspbridge patches on top of current pm branch.
Currently bridge depends on some pm features which are not yet in
mainline.

But at least now it can be compiled for your latest pm branch which
I guess is in turn based on 2.6.29

Here is the git URL:
git://gitorious.org/tidspbridge/mainline.git

Branch is: tidspbridge-2.6.29-pm

Thanks!

Cheers,
Ameya.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-27 13:06   ` Ameya Palande
@ 2009-03-27 16:50     ` Tony Lindgren
  2009-04-27  2:30       ` Gregoire Gentil
  0 siblings, 1 reply; 11+ messages in thread
From: Tony Lindgren @ 2009-03-27 16:50 UTC (permalink / raw)
  To: Ameya Palande; +Cc: linux-omap, Doyu Hiroshi (Nokia-D/Helsinki), Nishanth Menon

* Ameya Palande <ameya.palande@nokia.com> [090327 06:06]:
> Hi Tony,
> 
> ext Tony Lindgren wrote:
> > * ameya.palande@nokia.com <ameya.palande@nokia.com> [090323 00:42]:
> >> Hi Tony,
> >>
> >> I have collected latest patches for tidspbridge at:
> >> git://gitorious.org/tidspbridge/mainline.git 
> >>
> >> Branch is: tidspbridge
> >>
> >> It is based on your pm branch.
> >> Can you pull it to your tidspbridge branch?
> > 
> > What dependencies are there to the PM branch?
> > 
> > To me it sounds like you should rebase your tidspbridge branch
> > against the mainline kernel as the drivers should be arch
> > independent.
> > 
> > If something is missing from the mainline kernel to rebase and
> > compile tidspbridge against the mainline, we need to fix those
> > issues.
> > 
> > Regards,
> > 
> > Tony
> 
> I have rebased tidspbridge patches on top of current pm branch.
> Currently bridge depends on some pm features which are not yet in
> mainline.

Can you please describe what those dependencies are? We should fix
those so we don't have dependencies.
 
> But at least now it can be compiled for your latest pm branch which
> I guess is in turn based on 2.6.29
> 
> Here is the git URL:
> git://gitorious.org/tidspbridge/mainline.git
> 
> Branch is: tidspbridge-2.6.29-pm

The thing is that in order to do the development in parallel, we want
to base all the branches against the mainline kernel. Otherwise we'll
have unnecessary dependencies between the branches.

Tony

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: tidspbridge git repository
  2009-03-27 16:50     ` Tony Lindgren
@ 2009-04-27  2:30       ` Gregoire Gentil
  0 siblings, 0 replies; 11+ messages in thread
From: Gregoire Gentil @ 2009-04-27  2:30 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Ameya Palande, linux-omap, Doyu Hiroshi (Nokia-D/Helsinki),
	Nishanth Menon

[-- Attachment #1: Type: text/plain, Size: 4251 bytes --]

On Fri, 2009-03-27 at 09:50 -0700, Tony Lindgren wrote:
> * Ameya Palande <ameya.palande@nokia.com> [090327 06:06]:
> > Hi Tony,
> > 
> > ext Tony Lindgren wrote:
> > > * ameya.palande@nokia.com <ameya.palande@nokia.com> [090323 00:42]:
> > >> Hi Tony,
> > >>
> > >> I have collected latest patches for tidspbridge at:
> > >> git://gitorious.org/tidspbridge/mainline.git 
> > >>
> > >> Branch is: tidspbridge
> > >>
> > >> It is based on your pm branch.
> > >> Can you pull it to your tidspbridge branch?
> > > 
> > > What dependencies are there to the PM branch?
> > > 
> > > To me it sounds like you should rebase your tidspbridge branch
> > > against the mainline kernel as the drivers should be arch
> > > independent.
> > > 
> > > If something is missing from the mainline kernel to rebase and
> > > compile tidspbridge against the mainline, we need to fix those
> > > issues.
> > > 
> > > Regards,
> > > 
> > > Tony
> > 
> > I have rebased tidspbridge patches on top of current pm branch.
> > Currently bridge depends on some pm features which are not yet in
> > mainline.
> 
> Can you please describe what those dependencies are? We should fix
> those so we don't have dependencies.
>  
> > But at least now it can be compiled for your latest pm branch which
> > I guess is in turn based on 2.6.29
> > 
> > Here is the git URL:
> > git://gitorious.org/tidspbridge/mainline.git
> > 
> > Branch is: tidspbridge-2.6.29-pm
> 
> The thing is that in order to do the development in parallel, we want
> to base all the branches against the mainline kernel. Otherwise we'll
> have unnecessary dependencies between the branches.
> 
> Tony
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
I agree with Tony. It would be great to avoid any dependency against a
specific branch. We managed to compile tidspbridge against 2.6.29 MASTER
(not PM branch) and it seems to work with the attached patch. It has
been tested on Beagleaboard,

Grégoire



>From 0b791888bcaa083983d6a04746c3a93b4e2c30b5 Mon Sep 17 00:00:00 2001
From: Tim Yamin <plasm@roo.me.uk>
Date: Sun, 26 Apr 2009 19:10:54 -0700
Subject: [PATCH] Make a few small changes so dspbridge compiles clean
against a non-pm tree.

Signed-off-by: Tim Yamin <plasm@roo.me.uk>
---
 arch/arm/mach-omap2/dspbridge.c         |    8 +++++---
 drivers/dsp/bridge/rmgr/drv_interface.c |    2 ++
 drivers/dsp/bridge/rmgr/proc.c          |    1 -
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-omap2/dspbridge.c
b/arch/arm/mach-omap2/dspbridge.c
index 43283c9..221e8ff 100644
--- a/arch/arm/mach-omap2/dspbridge.c
+++ b/arch/arm/mach-omap2/dspbridge.c
@@ -12,19 +12,21 @@
  */
 
 #include <linux/platform_device.h>
-
-#include <mach/omap-pm.h>
-
 #include <dspbridge/host_os.h>
 
 static struct platform_device *dspbridge_pdev;
 
+#ifdef CONFIG_BRIDGE_DVFS
+#include <mach/omap-pm.h>
 static struct dspbridge_platform_data dspbridge_pdata __initdata = {
 	.dsp_set_min_opp = omap_pm_dsp_set_min_opp,
 	.dsp_get_opp	 = omap_pm_dsp_get_opp,
 	.cpu_set_freq	 = omap_pm_cpu_set_freq,
 	.cpu_get_freq	 = omap_pm_cpu_get_freq,
 };
+#else
+static struct dspbridge_platform_data dspbridge_pdata;
+#endif
 
 static int __init dspbridge_init(void)
 {
diff --git a/drivers/dsp/bridge/rmgr/drv_interface.c
b/drivers/dsp/bridge/rmgr/drv_interface.c
index 9466409..4aa7de6 100755
--- a/drivers/dsp/bridge/rmgr/drv_interface.c
+++ b/drivers/dsp/bridge/rmgr/drv_interface.c
@@ -100,8 +100,10 @@
 #include <dspbridge/dbreg.h>
 #endif
 
+#ifdef CONFIG_BRIDGE_DVFS
 #include <mach/omap-pm.h>
 #include <mach-omap2/omap3-opp.h>
+#endif
 
 #define BRIDGE_NAME "C6410"
 /*  ----------------------------------- Globals */
diff --git a/drivers/dsp/bridge/rmgr/proc.c
b/drivers/dsp/bridge/rmgr/proc.c
index 59073dd..332e01a 100644
--- a/drivers/dsp/bridge/rmgr/proc.c
+++ b/drivers/dsp/bridge/rmgr/proc.c
@@ -145,7 +145,6 @@
 /*  ----------------------------------- This */
 #include <dspbridge/proc.h>
 #include <dspbridge/pwr.h>
-#include <mach-omap2/omap3-opp.h>
 
 #ifndef RES_CLEANUP_DISABLE
 #include <dspbridge/resourcecleanup.h>
-- 
1.5.6.3



[-- Attachment #2: 0001-Make-a-few-small-changes-so-dspbridge-compiles-clean.patch --]
[-- Type: application/mbox, Size: 2152 bytes --]

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-04-27  2:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23  7:41 tidspbridge git repository ameya.palande
2009-03-23  7:44 ` Menon, Nishanth
2009-03-23  7:58   ` Ameya Palande
2009-03-23  8:55     ` Menon, Nishanth
2009-03-23 11:22       ` Ameya Palande
2009-03-23 12:15         ` Menon, Nishanth
2009-03-23 19:47 ` Tony Lindgren
2009-03-24 23:27   ` Felipe Contreras
2009-03-27 13:06   ` Ameya Palande
2009-03-27 16:50     ` Tony Lindgren
2009-04-27  2:30       ` Gregoire Gentil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).