public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* nvec TODO
@ 2011-08-01 10:45 Russell King - ARM Linux
       [not found] ` <20110801104549.GG15578-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-01 10:45 UTC (permalink / raw)
  To: Greg KH, Marc Dietrich
  Cc: Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

Greg,

A small patch to add something to this staging drivers todo list which
I just noticed.  BTW, why isn't there any easy way to find a list of
addresses to copy against stuff in staging?  I hope I have everyone...

The note is about something which should be easy enough to fix by people
who know the Tegra stuff (it probably involves changes outside of this
driver to fix.)

8<-------
From: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
Staging: Add clk API note to nvec/TODO

Add a note about the abuse of the clk API to the nvec/TODO list.

Signed-off-by: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
--- 
 drivers/staging/nvec/TODO |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/nvec/TODO b/drivers/staging/nvec/TODO
index 77b47f7..649d6b7 100644
--- a/drivers/staging/nvec/TODO
+++ b/drivers/staging/nvec/TODO
@@ -4,5 +4,7 @@ ToDo list (incomplete, unordered)
 	- add compile as module support
 	- move nvec devices to mfd cells?
 	- adjust to kernel style
-
-
+	- fix clk usage
+	  should not be using clk_get_sys(), but clk_get(&pdev->dev, conn)
+	  where conn is either NULL if the device only has one clock, or
+	  the device specific name if it has multiple clocks.

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

* Re: nvec TODO
       [not found] ` <20110801104549.GG15578-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
@ 2011-08-01 11:28   ` Marc Dietich
       [not found]     ` <201108011328.29440.marvin24-Mmb7MZpHnFY@public.gmane.org>
  2011-08-01 16:53   ` Greg KH
  1 sibling, 1 reply; 8+ messages in thread
From: Marc Dietich @ 2011-08-01 11:28 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Greg KH, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, ac100-+ipbUBPD95tH4x6Dk/4f9A

Hi Russell, Greg,

> Greg,
> 
> A small patch to add something to this staging drivers todo list which
> I just noticed.  BTW, why isn't there any easy way to find a list of
> addresses to copy against stuff in staging?  I hope I have everyone...

the Tegra/Nvidia/Google people are not involved in this driver development. The 
hw was used in the first generation Android devices only and became kind of 
obsolete (in kernels > .32 released by NV), but still there are a handfull older 
devices using it. That's why some community people (ml: 
ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt@public.gmane.org, irc:#ac100 on freenode) try to port it to newer 
kernels. 

> The note is about something which should be easy enough to fix by people
> who know the Tegra stuff (it probably involves changes outside of this
> driver to fix.)

I'll post some update to the driver soon (V2 of the patches I already submitted, 
http://driverdev.linuxdriverproject.org/pipermail/devel/2011-July/018751.html). 
In fact, the clock stuff should be done by the i2c-tegra driver and not in nvec 
itself. I hope I have time to prepare a corresponding patch for the next merge 
window (kernel 3.2). So the patch below is not needed anymore. 

Thanks

Marc


> 8<-------
> From: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
> Staging: Add clk API note to nvec/TODO
> 
> Add a note about the abuse of the clk API to the nvec/TODO list.
> 
> Signed-off-by: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
> ---
>  drivers/staging/nvec/TODO |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/nvec/TODO b/drivers/staging/nvec/TODO
> index 77b47f7..649d6b7 100644
> --- a/drivers/staging/nvec/TODO
> +++ b/drivers/staging/nvec/TODO
> @@ -4,5 +4,7 @@ ToDo list (incomplete, unordered)
>  	- add compile as module support
>  	- move nvec devices to mfd cells?
>  	- adjust to kernel style
> -
> -
> +	- fix clk usage
> +	  should not be using clk_get_sys(), but clk_get(&pdev->dev, conn)
> +	  where conn is either NULL if the device only has one clock, or
> +	  the device specific name if it has multiple clocks.

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

* Re: nvec TODO
       [not found]     ` <201108011328.29440.marvin24-Mmb7MZpHnFY@public.gmane.org>
@ 2011-08-01 11:46       ` Russell King - ARM Linux
  2011-08-01 11:48       ` Russell King - ARM Linux
  1 sibling, 0 replies; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-01 11:46 UTC (permalink / raw)
  To: Marc Dietich
  Cc: Greg KH, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, ac100-+ipbUBPD95tH4x6Dk/4f9A

On Mon, Aug 01, 2011 at 01:28:28PM +0200, Marc Dietich wrote:
> Hi Russell, Greg,
> 
> > Greg,
> > 
> > A small patch to add something to this staging drivers todo list which
> > I just noticed.  BTW, why isn't there any easy way to find a list of
> > addresses to copy against stuff in staging?  I hope I have everyone...
> 
> the Tegra/Nvidia/Google people are not involved in this driver development. The 
> hw was used in the first generation Android devices only and became kind of 
> obsolete (in kernels > .32 released by NV), but still there are a handfull older 
> devices using it. That's why some community people (ml: 
> ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt@public.gmane.org, irc:#ac100 on freenode) try to port it to newer 
> kernels. 

That reinforces my point - there's no way to know who should be copied
with mails for stuff in staging.

> > The note is about something which should be easy enough to fix by people
> > who know the Tegra stuff (it probably involves changes outside of this
> > driver to fix.)
> 
> I'll post some update to the driver soon (V2 of the patches I already submitted, 
> http://driverdev.linuxdriverproject.org/pipermail/devel/2011-July/018751.html). 
> In fact, the clock stuff should be done by the i2c-tegra driver and not in nvec 
> itself. I hope I have time to prepare a corresponding patch for the next merge 
> window (kernel 3.2). So the patch below is not needed anymore. 

Good news.

Thanks.

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

* Re: nvec TODO
       [not found]     ` <201108011328.29440.marvin24-Mmb7MZpHnFY@public.gmane.org>
  2011-08-01 11:46       ` Russell King - ARM Linux
@ 2011-08-01 11:48       ` Russell King - ARM Linux
       [not found]         ` <20110801114844.GB19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-01 11:48 UTC (permalink / raw)
  To: Marc Dietich
  Cc: Greg KH, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, Aug 01, 2011 at 01:28:28PM +0200, Marc Dietich wrote:
> Hi Russell, Greg,
> 
> > Greg,
> > 
> > A small patch to add something to this staging drivers todo list which
> > I just noticed.  BTW, why isn't there any easy way to find a list of
> > addresses to copy against stuff in staging?  I hope I have everyone...
> 
> the Tegra/Nvidia/Google people are not involved in this driver development. The 
> hw was used in the first generation Android devices only and became kind of 
> obsolete (in kernels > .32 released by NV), but still there are a handfull older 
> devices using it. That's why some community people (ml: 
> ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt@public.gmane.org, irc:#ac100 on freenode) try to port it to newer 
> kernels. 

And...

  ac100-+ipbUBPD95tH4x6Dk/4f9A@public.gmane.org
    SMTP error from remote mail server after RCPT TO:<ac100-+ipbUBPD95tH4x6Dk/4f9A@public.gmane.org>:
    host mx.launchpad.net [91.189.90.7]: 550 Unrouteable address

so that list is dead.

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

* Re: nvec TODO
       [not found]         ` <20110801114844.GB19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
@ 2011-08-01 12:27           ` Marc Dietich
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Dietich @ 2011-08-01 12:27 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Greg KH, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt

> On Mon, Aug 01, 2011 at 01:28:28PM +0200, Marc Dietich wrote:
> > Hi Russell, Greg,
> > 
> > > Greg,
> > > 
> > > A small patch to add something to this staging drivers todo list which
> > > I just noticed.  BTW, why isn't there any easy way to find a list of
> > > addresses to copy against stuff in staging?  I hope I have everyone...
> > 
> > the Tegra/Nvidia/Google people are not involved in this driver
> > development. The hw was used in the first generation Android devices
> > only and became kind of obsolete (in kernels > .32 released by NV), but
> > still there are a handfull older devices using it. That's why some
> > community people (ml:
> > ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt@public.gmane.org, irc:#ac100 on freenode) try to port it to
> > newer kernels.
> 
> And...
> 
>   ac100-+ipbUBPD95tH4x6Dk/4f9A@public.gmane.org
>     SMTP error from remote mail server after RCPT TO:<ac100-+ipbUBPD95tH4x6Dk/4f9A@public.gmane.org>:
>     host mx.launchpad.net [91.189.90.7]: 550 Unrouteable address
> 
> so that list is dead.

It's not dead, it's just my brain which is. The correct address is 
ac100-oU9gvf+ajcQ97yFScArB1dHuzzzSOjJt@public.gmane.org (and subscribers only, you know). Sorry for the 
inconvenience. I'll add this address to the readme. Also note that this address 
is given in the copyright notice in the lastest patches.

Marc

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

* Re: nvec TODO
       [not found] ` <20110801104549.GG15578-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
  2011-08-01 11:28   ` Marc Dietich
@ 2011-08-01 16:53   ` Greg KH
       [not found]     ` <20110801165316.GA2366-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Greg KH @ 2011-08-01 16:53 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Marc Dietrich, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, Aug 01, 2011 at 11:45:49AM +0100, Russell King - ARM Linux wrote:
> Greg,
> 
> A small patch to add something to this staging drivers todo list which
> I just noticed.  BTW, why isn't there any easy way to find a list of
> addresses to copy against stuff in staging?  I hope I have everyone...

We have MAINTAINERS entries for almost all staging drivers and of
course, scripts/get_maintainer.pl should show you everyone involved.

thanks,

greg k-h

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

* Re: nvec TODO
       [not found]     ` <20110801165316.GA2366-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2011-08-01 17:06       ` Russell King - ARM Linux
       [not found]         ` <20110801170616.GD19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2011-08-01 17:06 UTC (permalink / raw)
  To: Greg KH
  Cc: Marc Dietrich, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, Aug 01, 2011 at 09:53:16AM -0700, Greg KH wrote:
> On Mon, Aug 01, 2011 at 11:45:49AM +0100, Russell King - ARM Linux wrote:
> > Greg,
> > 
> > A small patch to add something to this staging drivers todo list which
> > I just noticed.  BTW, why isn't there any easy way to find a list of
> > addresses to copy against stuff in staging?  I hope I have everyone...
> 
> We have MAINTAINERS entries for almost all staging drivers and of
> course, scripts/get_maintainer.pl should show you everyone involved.

Not in this case.

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

* Re: nvec TODO
       [not found]         ` <20110801170616.GD19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
@ 2011-08-01 17:21           ` Greg KH
  0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2011-08-01 17:21 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Marc Dietrich, Colin Cross, Erik Gilling, Olof Johansson,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, Aug 01, 2011 at 06:06:16PM +0100, Russell King - ARM Linux wrote:
> On Mon, Aug 01, 2011 at 09:53:16AM -0700, Greg KH wrote:
> > On Mon, Aug 01, 2011 at 11:45:49AM +0100, Russell King - ARM Linux wrote:
> > > Greg,
> > > 
> > > A small patch to add something to this staging drivers todo list which
> > > I just noticed.  BTW, why isn't there any easy way to find a list of
> > > addresses to copy against stuff in staging?  I hope I have everyone...
> > 
> > We have MAINTAINERS entries for almost all staging drivers and of
> > course, scripts/get_maintainer.pl should show you everyone involved.
> 
> Not in this case.

Ick, you are right.  Marc, please update the TODO file with the correct
information, as well as providing a MAINTAINERS entry.

thanks,

greg k-h

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

end of thread, other threads:[~2011-08-01 17:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01 10:45 nvec TODO Russell King - ARM Linux
     [not found] ` <20110801104549.GG15578-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-08-01 11:28   ` Marc Dietich
     [not found]     ` <201108011328.29440.marvin24-Mmb7MZpHnFY@public.gmane.org>
2011-08-01 11:46       ` Russell King - ARM Linux
2011-08-01 11:48       ` Russell King - ARM Linux
     [not found]         ` <20110801114844.GB19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-08-01 12:27           ` Marc Dietich
2011-08-01 16:53   ` Greg KH
     [not found]     ` <20110801165316.GA2366-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2011-08-01 17:06       ` Russell King - ARM Linux
     [not found]         ` <20110801170616.GD19079-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2011-08-01 17:21           ` Greg KH

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