public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
@ 2008-08-29  1:30 Ramirez Luna, Omar
  2008-08-29  5:03 ` Hiroshi DOYU
  0 siblings, 1 reply; 8+ messages in thread
From: Ramirez Luna, Omar @ 2008-08-29  1:30 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

Added the table end 'CMD_BASE_END_OFFSET' define in wcdioctl.h

Signed-off-by: Omar Ramirez Luna <x00omar@ti.com>
---

Index: omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h
===================================================================
--- omapkernel.orig/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:03:10.000000000 -0500
+++ omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:20:05.000000000 -0500
@@ -515,4 +515,5 @@
 #define CMD_CMM_GETINFO_OFFSET	  (CMD_CMM_BASE_OFFSET + 3)
 #define CMD_CMM_END_OFFSET	      CMD_CMM_GETINFO_OFFSET
 
+#define CMD_BASE_END_OFFSET	CMD_CMM_END_OFFSET
 #endif				/* WCDIOCTL_ */

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

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-08-29  1:30 [PATCH 2/3][OMAP 3/4]table end for wcd command definitions Ramirez Luna, Omar
@ 2008-08-29  5:03 ` Hiroshi DOYU
  2008-09-10  4:08   ` Hiroshi DOYU
  0 siblings, 1 reply; 8+ messages in thread
From: Hiroshi DOYU @ 2008-08-29  5:03 UTC (permalink / raw)
  To: x00omar; +Cc: linux-omap

Hi Omar,

I just noticed that the bridge specific header files are located
under "linux/arch/arm/plat-omap/include/mach/bridge/", but it may be
better to have them under "arch/arm/plat-omap/include/bridge/" because
those header files are not related to the omap archtecture so much and
mostly used for bridge specific purpose, although omap is the only
platform to have bridge with dsp;) For me, it would make more sense
logically, and also practically grepp'ing would work more nicely
without any fancy tools like specifiying the directories to search.

Any comments?

	Hiroshi DOYU

From: "ext Ramirez Luna, Omar" <x00omar@ti.com>
Subject: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
Date: Thu, 28 Aug 2008 20:30:44 -0500

> Added the table end 'CMD_BASE_END_OFFSET' define in wcdioctl.h
> 
> Signed-off-by: Omar Ramirez Luna <x00omar@ti.com>
> ---
> 
> Index: omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h
> ===================================================================
> --- omapkernel.orig/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:03:10.000000000 -0500
> +++ omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:20:05.000000000 -0500
> @@ -515,4 +515,5 @@
>  #define CMD_CMM_GETINFO_OFFSET	  (CMD_CMM_BASE_OFFSET + 3)
>  #define CMD_CMM_END_OFFSET	      CMD_CMM_GETINFO_OFFSET
>  
> +#define CMD_BASE_END_OFFSET	CMD_CMM_END_OFFSET
>  #endif				/* WCDIOCTL_ */
> --
> 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] 8+ messages in thread

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-08-29  5:03 ` Hiroshi DOYU
@ 2008-09-10  4:08   ` Hiroshi DOYU
  2008-09-10 15:44     ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Hiroshi DOYU @ 2008-09-10  4:08 UTC (permalink / raw)
  To: linux, tony; +Cc: linux-omap, x00omar, h-kanigeri2

Hi,

Although this TI bridge patches are not integrated and a bit
independent S/W component, it would be nice to get some comments just
on this bridge header file location from kernel maintainer's
perspective.

"arch/arm/plat-omap/include/mach/bridge"
  or "arch/arm/plat-omap/include/bridge"?

	 Hiroshi DOYU

From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
Date: Fri, 29 Aug 2008 08:03:13 +0300 (EEST)

> Hi Omar,
> 
> I just noticed that the bridge specific header files are located
> under "linux/arch/arm/plat-omap/include/mach/bridge/", but it may be
> better to have them under "arch/arm/plat-omap/include/bridge/" because
> those header files are not related to the omap archtecture so much and
> mostly used for bridge specific purpose, although omap is the only
> platform to have bridge with dsp;) For me, it would make more sense
> logically, and also practically grepp'ing would work more nicely
> without any fancy tools like specifiying the directories to search.
> 
> Any comments?
> 
> 	Hiroshi DOYU
> 
> From: "ext Ramirez Luna, Omar" <x00omar@ti.com>
> Subject: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> Date: Thu, 28 Aug 2008 20:30:44 -0500
> 
> > Added the table end 'CMD_BASE_END_OFFSET' define in wcdioctl.h
> > 
> > Signed-off-by: Omar Ramirez Luna <x00omar@ti.com>
> > ---
> > 
> > Index: omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h
> > ===================================================================
> > --- omapkernel.orig/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:03:10.000000000 -0500
> > +++ omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:20:05.000000000 -0500
> > @@ -515,4 +515,5 @@
> >  #define CMD_CMM_GETINFO_OFFSET	  (CMD_CMM_BASE_OFFSET + 3)
> >  #define CMD_CMM_END_OFFSET	      CMD_CMM_GETINFO_OFFSET
> >  
> > +#define CMD_BASE_END_OFFSET	CMD_CMM_END_OFFSET
> >  #endif				/* WCDIOCTL_ */
> > --
> > 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] 8+ messages in thread

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-09-10  4:08   ` Hiroshi DOYU
@ 2008-09-10 15:44     ` Tony Lindgren
  2008-09-10 19:38       ` Russell King - ARM Linux
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lindgren @ 2008-09-10 15:44 UTC (permalink / raw)
  To: Hiroshi DOYU; +Cc: linux, linux-omap, x00omar, h-kanigeri2

* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080909 21:08]:
> Hi,
> 
> Although this TI bridge patches are not integrated and a bit
> independent S/W component, it would be nice to get some comments just
> on this bridge header file location from kernel maintainer's
> perspective.
> 
> "arch/arm/plat-omap/include/mach/bridge"
>   or "arch/arm/plat-omap/include/bridge"?

How about put the bridge specific headers under include/linux/dspbridge?
Then you can have just the omap specific headers under
arch/arm/plat-omap/include/mach.

Tony


> 
> 	 Hiroshi DOYU
> 
> From: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
> Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> Date: Fri, 29 Aug 2008 08:03:13 +0300 (EEST)
> 
> > Hi Omar,
> > 
> > I just noticed that the bridge specific header files are located
> > under "linux/arch/arm/plat-omap/include/mach/bridge/", but it may be
> > better to have them under "arch/arm/plat-omap/include/bridge/" because
> > those header files are not related to the omap archtecture so much and
> > mostly used for bridge specific purpose, although omap is the only
> > platform to have bridge with dsp;) For me, it would make more sense
> > logically, and also practically grepp'ing would work more nicely
> > without any fancy tools like specifiying the directories to search.
> > 
> > Any comments?
> > 
> > 	Hiroshi DOYU
> > 
> > From: "ext Ramirez Luna, Omar" <x00omar@ti.com>
> > Subject: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> > Date: Thu, 28 Aug 2008 20:30:44 -0500
> > 
> > > Added the table end 'CMD_BASE_END_OFFSET' define in wcdioctl.h
> > > 
> > > Signed-off-by: Omar Ramirez Luna <x00omar@ti.com>
> > > ---
> > > 
> > > Index: omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h
> > > ===================================================================
> > > --- omapkernel.orig/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:03:10.000000000 -0500
> > > +++ omapkernel/arch/arm/plat-omap/include/mach/bridge/wcdioctl.h	2008-08-22 19:20:05.000000000 -0500
> > > @@ -515,4 +515,5 @@
> > >  #define CMD_CMM_GETINFO_OFFSET	  (CMD_CMM_BASE_OFFSET + 3)
> > >  #define CMD_CMM_END_OFFSET	      CMD_CMM_GETINFO_OFFSET
> > >  
> > > +#define CMD_BASE_END_OFFSET	CMD_CMM_END_OFFSET
> > >  #endif				/* WCDIOCTL_ */
> > > --
> > > 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] 8+ messages in thread

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-09-10 15:44     ` Tony Lindgren
@ 2008-09-10 19:38       ` Russell King - ARM Linux
  2008-09-11  3:21         ` Hiroshi DOYU
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2008-09-10 19:38 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Hiroshi DOYU, linux-omap, x00omar, h-kanigeri2

On Wed, Sep 10, 2008 at 08:44:14AM -0700, Tony Lindgren wrote:
> * Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080909 21:08]:
> > Hi,
> > 
> > Although this TI bridge patches are not integrated and a bit
> > independent S/W component, it would be nice to get some comments just
> > on this bridge header file location from kernel maintainer's
> > perspective.
> > 
> > "arch/arm/plat-omap/include/mach/bridge"
> >   or "arch/arm/plat-omap/include/bridge"?
> 
> How about put the bridge specific headers under include/linux/dspbridge?
> Then you can have just the omap specific headers under
> arch/arm/plat-omap/include/mach.

There's an advantage to having them under arch/arm/plat-omap/include/dspbridge
- it's portable.  If ever they need to become more visible, they can be easily
moved to arch/arm/include/dspbridge or include/dspbridge instead.

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

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-09-10 19:38       ` Russell King - ARM Linux
@ 2008-09-11  3:21         ` Hiroshi DOYU
  2008-09-11 18:47           ` Kanigeri, Hari
  0 siblings, 1 reply; 8+ messages in thread
From: Hiroshi DOYU @ 2008-09-11  3:21 UTC (permalink / raw)
  To: linux; +Cc: tony, linux-omap, x00omar, vikram.pandita, x0095840, h-kanigeri2

Thanks for your comments.

From: "ext Russell King - ARM Linux" <linux@arm.linux.org.uk>
Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
Date: Wed, 10 Sep 2008 20:38:30 +0100

> On Wed, Sep 10, 2008 at 08:44:14AM -0700, Tony Lindgren wrote:
> > * Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080909 21:08]:
> > > Hi,
> > > 
> > > Although this TI bridge patches are not integrated and a bit
> > > independent S/W component, it would be nice to get some comments just
> > > on this bridge header file location from kernel maintainer's
> > > perspective.
> > > 
> > > "arch/arm/plat-omap/include/mach/bridge"
> > >   or "arch/arm/plat-omap/include/bridge"?
> > 
> > How about put the bridge specific headers under include/linux/dspbridge?
> > Then you can have just the omap specific headers under
> > arch/arm/plat-omap/include/mach.
> 
> There's an advantage to having them under arch/arm/plat-omap/include/dspbridge
> - it's portable.  If ever they need to become more visible, they can be easily
> moved to arch/arm/include/dspbridge or include/dspbridge instead.

"arch/arm/plat-omap/include/dspbridge" sounds reasonable, at least,
for the meanwhile.

For this header file directory name, 'dsp' prefix is needed in
"include/'dsp'bridge" because "bridge" is too generic naming and,
instead, "drivers/'dsp'/bridge" has 'dsp' in its path already.

	Hiroshi DOYU



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

* RE: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-09-11  3:21         ` Hiroshi DOYU
@ 2008-09-11 18:47           ` Kanigeri, Hari
  2008-09-11 23:49             ` Hiroshi DOYU
  0 siblings, 1 reply; 8+ messages in thread
From: Kanigeri, Hari @ 2008-09-11 18:47 UTC (permalink / raw)
  To: Hiroshi DOYU, linux@arm.linux.org.uk
  Cc: tony@atomide.com, linux-omap@vger.kernel.org, Ramirez Luna, Omar,
	Pandita, Vikram, Guzman Lugo, Fernando

Thank you for suggesting this. We will make this change.

Thank you,
Best regards,
Hari

> -----Original Message-----
> From: Hiroshi DOYU [mailto:Hiroshi.DOYU@nokia.com]
> Sent: Wednesday, September 10, 2008 10:22 PM
> To: linux@arm.linux.org.uk
> Cc: tony@atomide.com; linux-omap@vger.kernel.org; Ramirez Luna, Omar;
> Pandita, Vikram; Guzman Lugo, Fernando; Kanigeri, Hari
> Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> 
> Thanks for your comments.
> 
> From: "ext Russell King - ARM Linux" <linux@arm.linux.org.uk>
> Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> Date: Wed, 10 Sep 2008 20:38:30 +0100
> 
> > On Wed, Sep 10, 2008 at 08:44:14AM -0700, Tony Lindgren wrote:
> > > * Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080909 21:08]:
> > > > Hi,
> > > >
> > > > Although this TI bridge patches are not integrated and a bit
> > > > independent S/W component, it would be nice to get some comments
> just
> > > > on this bridge header file location from kernel maintainer's
> > > > perspective.
> > > >
> > > > "arch/arm/plat-omap/include/mach/bridge"
> > > >   or "arch/arm/plat-omap/include/bridge"?
> > >
> > > How about put the bridge specific headers under
> include/linux/dspbridge?
> > > Then you can have just the omap specific headers under
> > > arch/arm/plat-omap/include/mach.
> >
> > There's an advantage to having them under arch/arm/plat-
> omap/include/dspbridge
> > - it's portable.  If ever they need to become more visible, they can be
> easily
> > moved to arch/arm/include/dspbridge or include/dspbridge instead.
> 
> "arch/arm/plat-omap/include/dspbridge" sounds reasonable, at least,
> for the meanwhile.
> 
> For this header file directory name, 'dsp' prefix is needed in
> "include/'dsp'bridge" because "bridge" is too generic naming and,
> instead, "drivers/'dsp'/bridge" has 'dsp' in its path already.
> 
> 	Hiroshi DOYU
> 
> 


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

* Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
  2008-09-11 18:47           ` Kanigeri, Hari
@ 2008-09-11 23:49             ` Hiroshi DOYU
  0 siblings, 0 replies; 8+ messages in thread
From: Hiroshi DOYU @ 2008-09-11 23:49 UTC (permalink / raw)
  To: h-kanigeri2; +Cc: linux, tony, linux-omap, x00omar, vikram.pandita, x0095840

JFYI, you can get all the updates against "l-o" from:

http://4869037.web.fc2.com/tidspbridge-20080911.tgz

which has already included the following changes too.

From: "ext Kanigeri, Hari" <h-kanigeri2@ti.com>
Subject: RE: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
Date: Thu, 11 Sep 2008 13:47:56 -0500

> Thank you for suggesting this. We will make this change.
> 
> Thank you,
> Best regards,
> Hari
> 
> > -----Original Message-----
> > From: Hiroshi DOYU [mailto:Hiroshi.DOYU@nokia.com]
> > Sent: Wednesday, September 10, 2008 10:22 PM
> > To: linux@arm.linux.org.uk
> > Cc: tony@atomide.com; linux-omap@vger.kernel.org; Ramirez Luna, Omar;
> > Pandita, Vikram; Guzman Lugo, Fernando; Kanigeri, Hari
> > Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> > 
> > Thanks for your comments.
> > 
> > From: "ext Russell King - ARM Linux" <linux@arm.linux.org.uk>
> > Subject: Re: [PATCH 2/3][OMAP 3/4]table end for wcd command definitions
> > Date: Wed, 10 Sep 2008 20:38:30 +0100
> > 
> > > On Wed, Sep 10, 2008 at 08:44:14AM -0700, Tony Lindgren wrote:
> > > > * Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [080909 21:08]:
> > > > > Hi,
> > > > >
> > > > > Although this TI bridge patches are not integrated and a bit
> > > > > independent S/W component, it would be nice to get some comments
> > just
> > > > > on this bridge header file location from kernel maintainer's
> > > > > perspective.
> > > > >
> > > > > "arch/arm/plat-omap/include/mach/bridge"
> > > > >   or "arch/arm/plat-omap/include/bridge"?
> > > >
> > > > How about put the bridge specific headers under
> > include/linux/dspbridge?
> > > > Then you can have just the omap specific headers under
> > > > arch/arm/plat-omap/include/mach.
> > >
> > > There's an advantage to having them under arch/arm/plat-
> > omap/include/dspbridge
> > > - it's portable.  If ever they need to become more visible, they can be
> > easily
> > > moved to arch/arm/include/dspbridge or include/dspbridge instead.
> > 
> > "arch/arm/plat-omap/include/dspbridge" sounds reasonable, at least,
> > for the meanwhile.
> > 
> > For this header file directory name, 'dsp' prefix is needed in
> > "include/'dsp'bridge" because "bridge" is too generic naming and,
> > instead, "drivers/'dsp'/bridge" has 'dsp' in its path already.
> > 
> > 	Hiroshi DOYU
> > 
> > 
> 

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

end of thread, other threads:[~2008-09-11 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29  1:30 [PATCH 2/3][OMAP 3/4]table end for wcd command definitions Ramirez Luna, Omar
2008-08-29  5:03 ` Hiroshi DOYU
2008-09-10  4:08   ` Hiroshi DOYU
2008-09-10 15:44     ` Tony Lindgren
2008-09-10 19:38       ` Russell King - ARM Linux
2008-09-11  3:21         ` Hiroshi DOYU
2008-09-11 18:47           ` Kanigeri, Hari
2008-09-11 23:49             ` Hiroshi DOYU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox