Re: [PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir

2010-08-27 Thread Ming Lei
2010/8/28 Greg KH : > On Fri, Aug 27, 2010 at 10:34:45PM +0530, Gadiyar, Anand wrote: >> tom.leim...@gmail.com wrote: >> > >> > From: Ming Lei >> > >> > All hcd's debugfs entries are under usb debugfs root dir already, >> > so musb should not be a exception. >> > >> > Signed-off-by: Ming Lei >> >

Re: [PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread Ming Lei
2010/8/28 Mike Frysinger : > On Friday, August 27, 2010 07:37:20 tom.leim...@gmail.com wrote: >> From: Ming Lei >> >> This patch fixes one infinite hang of bulk IN transfer in double buffer >> case, the hang can be observed easily by test #6 of usbtest if musb is >> configured as g_zero and fifo m

Re: [PATCH 04/13] OMAP: Introduce API to return a device list associated with a voltage domain

2010-08-27 Thread Kevin Hilman
On Fri, 2010-08-27 at 17:52 -0700, Kevin Hilman wrote: > Thara Gopinath writes: > > > This patch adds an API in the opp layer that > > can be used by the voltage layer to get a list of all the > > scalable devices belonging to a particular voltage domain. > > This API is to be typically called on

Re: [PATCH 04/13] OMAP: Introduce API to return a device list associated with a voltage domain

2010-08-27 Thread Kevin Hilman
Thara Gopinath writes: > This patch adds an API in the opp layer that > can be used by the voltage layer to get a list of all the > scalable devices belonging to a particular voltage domain. > This API is to be typically called only once by the voltage > layer per voltage domain instance and the

Re: [PATCH 01/13] OMAP: Introduce a user list for each voltage domain instance in the voltage driver.

2010-08-27 Thread Kevin Hilman
Thara Gopinath writes: > This patch introduces a user list of devices associated with each > voltage domain instance. The user list is implemented using plist > structure with priority node populated with the voltage values. > This patch also adds an API which will take in a device and > requeste

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Kevin Hilman
Amit Kucheria writes: > On 10 Aug 28, vishwanath.sripa...@linaro.org wrote: >> From: Vishwanath BS >> >> This patch has instrumentation code for measuring latencies for >> various CPUIdle C states for OMAP. Idea here is to capture the >> timestamp at various phases of CPU Idle and then compute

Re: [PATCH 2/9] omap: mux: Add new style pin multiplexing code for omap3

2010-08-27 Thread Tony Lindgren
* Cousson, Benoit [100827 02:17]: > On 8/27/2010 4:29 AM, rockefeller wrote: > > > >Because "muxname.mode7" in in RAM is modifiable, after function call > >to function1(), the *pine_mux_name will be "muxname" and therefore when > >calls to function2() to try to set this pin in mode7 with value 0x0

omap_hsmmc.c: use resource_size()

2010-08-27 Thread Chris Ball
Use resource_size(). Signed-off-by: Chris Ball --- drivers/mmc/host/omap_hsmmc.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4a8776f..077bbdb 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/dri

omap.c: use resource_size()

2010-08-27 Thread Chris Ball
Use resource_size(). Signed-off-by: Chris Ball --- drivers/mmc/host/omap.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index d98ddcf..23ce2f1 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c @@

Re: NAND ECC in linux-omap

2010-08-27 Thread Vimal Singh
Adding LO and MTD list too for more comments. On Sat, Aug 28, 2010 at 1:40 AM, Vimal Singh wrote: > On Sat, Aug 28, 2010 at 12:00 AM, Cliff Brake wrote: >> On Fri, Aug 27, 2010 at 2:29 PM, Cliff Brake wrote: >>> On Fri, Aug 27, 2010 at 11:13 AM, Ghorai, Sukumar wrote: > -Original

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Amit Kucheria
On 10 Aug 28, vishwanath.sripa...@linaro.org wrote: > From: Vishwanath BS > > This patch has instrumentation code for measuring latencies for > various CPUIdle C states for OMAP. Idea here is to capture the > timestamp at various phases of CPU Idle and then compute the sw > latency for various c

Re: [PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread Mike Frysinger
On Friday, August 27, 2010 07:37:20 tom.leim...@gmail.com wrote: > From: Ming Lei > > This patch fixes one infinite hang of bulk IN transfer in double buffer > case, the hang can be observed easily by test #6 of usbtest if musb is > configured as g_zero and fifo mode 3 is taken to enable double f

Re: [PATCH] mmci-omap: Use resource_size

2010-08-27 Thread Chris Ball
Hi, On Thu, May 06, 2010 at 10:04:19AM +0200, Tobias Klauser wrote: > Use the resource_size function instead of manually calculating the > resource size. This reduces the chance of introducing off-by-one > errors. > > Signed-off-by: Tobias Klauser > --- > drivers/mmc/host/omap.c |4 ++-- >

Re: [PATCH v8 0/2] sDMA descriptor autoloading feature

2010-08-27 Thread Chris Ball
Hi Venkatraman, On Thu, Apr 29, 2010 at 11:04:34PM +0530, Venkatraman S wrote: > This patch series is the introduction of new sDMA feature: descriptor > autoloading (v8) and it's adoption by the OMAP HSMMC driver. > >The previous version (v7) was blocked on achieving proper interrupt > sy

Re: [PATCH 01/03] omap hsmmc: prevent race between dma and hsmmc callback

2010-08-27 Thread Chris Ball
Hi, Looks like the discussion on this patch stopped: do we think there's a race worth fixing here? On Wed, Mar 10, 2010 at 07:41:38PM +0530, Venkatraman S wrote: > See previous post http://patchwork.kernel.org/patch/82907/ > Rebased to 2.6.34-rc1 and fixed comment alignment. > > CC: Adrian Hunte

Re: [PATCH 0/2] mmc: omap_hsmmc: support SDIO cards (#2)

2010-08-27 Thread Chris Ball
Hi David, On Mon, Feb 22, 2010 at 02:24:17PM +, David Vrabel wrote: > These patches add support for SDIO cards to the omap_hsmmc driver. > Power management changes to prevent SDIO cards from being turned off > and losing all state, and card interrupts. > > I've been unable to test these exact

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Kevin Hilman
vishwanath.sripa...@linaro.org writes: > From: Vishwanath BS > > This patch has instrumentation code for measuring latencies for > various CPUIdle C states for OMAP. Idea here is to capture the > timestamp at various phases of CPU Idle and then compute the sw > latency for various c states. For

Re: OMAP4430 Public TRM is Available Now!

2010-08-27 Thread Felipe Balbi
Hi, On 08/27/2010 08:19 PM, Jayabharath Goluguri wrote: > I would like to inform you all of the availability of the OMAP4430 > Silicon Rev2.0 Public TRM. > > Direct Link: > http://focus.ti.com/pdfs/wtbu/OMAP4430_ES2.0_Public_TRM_vJ.pdf > (Caution: 44MB PDF) cool, thanks :-) (wow, 5000+ pages)

Re: [PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir

2010-08-27 Thread Greg KH
On Fri, Aug 27, 2010 at 10:34:45PM +0530, Gadiyar, Anand wrote: > tom.leim...@gmail.com wrote: > > > > From: Ming Lei > > > > All hcd's debugfs entries are under usb debugfs root dir already, > > so musb should not be a exception. > > > > Signed-off-by: Ming Lei > > --- > > drivers/usb/musb/m

OMAP4430 Public TRM is Available Now!

2010-08-27 Thread Jayabharath Goluguri
All, I would like to inform you all of the availability of the OMAP4430 Silicon Rev2.0 Public TRM. Direct Link: http://focus.ti.com/pdfs/wtbu/OMAP4430_ES2.0_Public_TRM_vJ.pdf (Caution: 44MB PDF) Alternatively you can go to : http://focus.ti.com/general/docs/wtbu/wtbudocumentcenter.tsp?templa

RE: [PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir

2010-08-27 Thread Gadiyar, Anand
tom.leim...@gmail.com wrote: > > From: Ming Lei > > All hcd's debugfs entries are under usb debugfs root dir already, > so musb should not be a exception. > > Signed-off-by: Ming Lei > --- > drivers/usb/musb/musb_debugfs.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > dif

Re: [PATCH 1/2] USB: musb-gadget: enable autoclear for OUT transfer in both DMA 0 and DMA 1

2010-08-27 Thread Ming Lei
2010/8/27 Gadiyar, Anand : > tom.leim...@gmail.com wrote: >> >> From: Ming Lei >> >> This patch fixes one bugs of OUT transfer in double buffer case: >> >> -the current code only enable autoclear for dma mode 1, and not >> for dma mode 0 >> >> Without this patch, test #5 of usbtest can't be passed

[PATCH] USB: musb: move musb debugfs entry under usb debugfs root dir

2010-08-27 Thread tom . leiming
From: Ming Lei All hcd's debugfs entries are under usb debugfs root dir already, so musb should not be a exception. Signed-off-by: Ming Lei --- drivers/usb/musb/musb_debugfs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/us

RE: [PATCH 1/2] USB: musb-gadget: enable autoclear for OUT transfer in both DMA 0 and DMA 1

2010-08-27 Thread Gadiyar, Anand
tom.leim...@gmail.com wrote: > > From: Ming Lei > > This patch fixes one bugs of OUT transfer in double buffer case: > > -the current code only enable autoclear for dma mode 1, and not > for dma mode 0 > > Without this patch, test #5 of usbtest can't be passed if we > configure musb as g_zero

RE: [PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread Gadiyar, Anand
Ming Lei wrote: > 2010/8/27 Gadiyar, Anand : > > tom.leim...@gmail.com wrote: > >> From: Ming Lei > >> > >> This patch fixes one infinite hang of bulk IN transfer in double buffer > >> case, the hang can be observed easily by test #6 of usbtest if musb is > >> configured as g_zero and fifo mode 3

Re: [PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread Ming Lei
2010/8/27 Gadiyar, Anand : > tom.leim...@gmail.com wrote: >> From: Ming Lei >> >> This patch fixes one infinite hang of bulk IN transfer in double buffer >> case, the hang can be observed easily by test #6 of usbtest if musb is >> configured as g_zero and fifo mode 3 is taken to enable double fifo

RE: [PATCH 2/2] USB: musb-gadget: fix DMA length for OUT transfer

2010-08-27 Thread Gadiyar, Anand
tom.leim...@gmail.com wrote: > > From: Ming Lei > > DMA length should not go beyond the availabe space of request buffer, > so fix it. > > Signed-off-by: Ming Lei > Cc: Anand Gadiyar > Cc: Mike Frysinger > Cc: Sergei Shtylyov There's a small typo in the description. But for the patch itse

[PATCH 2/2] USB: musb-gadget: fix DMA length for OUT transfer

2010-08-27 Thread tom . leiming
From: Ming Lei DMA length should not go beyond the availabe space of request buffer, so fix it. Signed-off-by: Ming Lei Cc: Anand Gadiyar Cc: Mike Frysinger Cc: Sergei Shtylyov --- drivers/usb/musb/musb_gadget.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH 1/2] USB: musb-gadget: enable autoclear for OUT transfer in both DMA 0 and DMA 1

2010-08-27 Thread tom . leiming
From: Ming Lei This patch fixes one bugs of OUT transfer in double buffer case: -the current code only enable autoclear for dma mode 1, and not for dma mode 0 Without this patch, test #5 of usbtest can't be passed if we configure musb as g_zero and use fifo mode 3 to enable double buffer mode.

RE: [PATCH 5/5 v3] OMAP2PLUS: WDT: Conversion to runtime PM

2010-08-27 Thread Varadarajan, Charulatha
> -Original Message- > From: Kevin Hilman [mailto:khil...@deeprootsystems.com] > Sent: Friday, August 27, 2010 4:34 AM > To: Varadarajan, Charulatha > Cc: linux-omap@vger.kernel.org; w...@iguana.be; p...@pwsan.com; Cousson, > Benoit; Nayak, Rajendra; Basak, Partha > Subject: Re: [PATCH 5/

RE: [PATCH 0/5 v3] OMAP2PLUS: WDT: Implement WDT in HWMOD way

2010-08-27 Thread Varadarajan, Charulatha
> -Original Message- > From: Kevin Hilman [mailto:khil...@deeprootsystems.com] > Sent: Friday, August 27, 2010 4:25 AM > To: Varadarajan, Charulatha > Cc: linux-omap@vger.kernel.org; w...@iguana.be; p...@pwsan.com; Cousson, > Benoit; Nayak, Rajendra; Basak, Partha > Subject: Re: [PATCH 0/

Re: [PATCH 05/10] [PM-WIP-MMC] OMAP4 hwmod: Updating hwmod data for MMC controllers

2010-08-27 Thread kishore kadiyala
Benoit, On Mon, Aug 23, 2010 at 1:30 PM, Cousson, Benoit wrote: > Hi Kishore, > > On 8/20/2010 10:10 PM, Kadiyala, Kishore wrote: >> >> Update register offsets and dev attributes for MMC controllers on >> OMAP4 >> >> Cc: Kevin Hilman >> Cc: Benoit Cousson >> Signed-off-by: Kishore Kadiyala >> ---

Re: [PATCH 2/2] USB: musb-gadget: fix OUT transfer in double buffer case

2010-08-27 Thread Ming Lei
Thanks for your review. 2010/8/27 Gadiyar, Anand : > tom.leim...@gmail.com wrote: >> From: Ming Lei >> >> This patch fixes two bugs of OUT transfer in double buffer case: >> >>       -USE_MODE1 should be enabled except for ANOMALY_05000456 case, or >>       else may cause infinite hang and data e

Re: [PATCH 10/10] [PM-WIP-MMC] omap4 hsmmc: Fix the init if CONFIG_MMC_OMAP_HS is not set

2010-08-27 Thread kishore kadiyala
On Fri, Aug 27, 2010 at 4:54 AM, Kevin Hilman wrote: > "kishore kadiyala" writes: > >> From: Benoit Cousson > Avoid possible crash if CONFIG_MMC_OMAP_HS is not set >> >> Cc: Kevin Hilman >> Cc: Adrian Hunter >> Cc: Andrew Morton >> Cc: Madhusudhan Chikkature >> Signed-off-by: Benoit Cousson

Re: [PATCH 09/10] [PM-WIP-MMC] OMAP MMC : Fix crash with CONFIG_PM_RUNTIME

2010-08-27 Thread kishore kadiyala
On Fri, Aug 27, 2010 at 4:53 AM, Kevin Hilman wrote: > "kishore kadiyala" writes: > >> Crash if enabled CONFIG_PM_RUNTIME and power_saving set. >> >> Use get_sync/put_sync properly so that host->nesting_cnt gets >> updated properly. > > This one is my fault for not really understanding the MMC dr

Re: [PATCH 08/10] [PM-WIP-MMC] OMAP MMC: Register offset handling

2010-08-27 Thread kishore kadiyala
On Fri, Aug 27, 2010 at 4:52 AM, Kevin Hilman wrote: > "kishore kadiyala" writes: > >> Since OMAP4 has added new set of registers , this patch adds >> different array's for OMAP3 and OMAP4 and choose the right one >> during run time.Newly added registers are updated at the bottom >> of array. >>

Re: [pm-wip/mmc][PATCH 00/10] OMAP MMC Hwmod & Runtime patches

2010-08-27 Thread kishore kadiyala
Thanks Kevin, I will take up things for MMC from here. Currently working on runtime for MMC and post out once done. Regards, Kishore On Fri, Aug 27, 2010 at 4:47 AM, Kevin Hilman wrote: > "kishore kadiyala" writes: > >> Hi, >> >> 1) The patch series has dependency on Tony's patches >>    http:/

Re: [PATCH 10/20] Move rfbi init to rfbi probe

2010-08-27 Thread Cousson, Benoit
On 8/23/2010 5:57 PM, Guruswamy, Senthilvadivu wrote: From: Senthilvadivu Guruswamy RFBI init and exit moved to rfbi probe and remove. Signed-off-by: Senthilvadivu Guruswamy --- drivers/video/omap2/dss/core.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) d

RE: [PATCH 2/2] USB: musb-gadget: fix OUT transfer in double buffer case

2010-08-27 Thread Gadiyar, Anand
tom.leim...@gmail.com wrote: > From: Ming Lei > > This patch fixes two bugs of OUT transfer in double buffer case: > > -USE_MODE1 should be enabled except for ANOMALY_05000456 case, or > else may cause infinite hang and data error bug in double buffer > Double buffering should stil

RE: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Shilimkar, Santosh
Benoit, > -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Cousson, Benoit > Sent: Friday, August 27, 2010 3:56 PM > To: vishwanath.sripa...@linaro.org; Sripathy, Vishwanath > Cc: linux-omap@vger.kernel.org; linaro-...@lis

RE: [PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread Gadiyar, Anand
tom.leim...@gmail.com wrote: > From: Ming Lei > > This patch fixes one infinite hang of bulk IN transfer in double buffer > case, the hang can be observed easily by test #6 of usbtest if musb is > configured as g_zero and fifo mode 3 is taken to enable double fifo. > > In fact, the patch only re

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Jean Pihet
Benoit, On Fri, Aug 27, 2010 at 12:25 PM, Cousson, Benoit wrote: >> This patch has instrumentation code for measuring latencies for >> various CPUIdle C states for OMAP. Idea here is to capture the >> timestamp at various phases of CPU Idle and then compute the sw >> latency for various c states.

[PATCH 1/2] USB: musb-gadget: fix bulk IN infinite hangs in double buffer case

2010-08-27 Thread tom . leiming
From: Ming Lei This patch fixes one infinite hang of bulk IN transfer in double buffer case, the hang can be observed easily by test #6 of usbtest if musb is configured as g_zero and fifo mode 3 is taken to enable double fifo. In fact, the patch only removes the check for non-empty fifo before l

[PATCH 2/2] USB: musb-gadget: fix OUT transfer in double buffer case

2010-08-27 Thread tom . leiming
From: Ming Lei This patch fixes two bugs of OUT transfer in double buffer case: -USE_MODE1 should be enabled except for ANOMALY_05000456 case, or else may cause infinite hang and data error bug in double buffer -DMA length should not go beyond the availabe space of reque

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Cousson, Benoit
Hi Vishwa, On 8/28/2010 12:08 AM, vishwanath.sripa...@linaro.org wrote: From: Vishwanath BS This patch has instrumentation code for measuring latencies for various CPUIdle C states for OMAP. Idea here is to capture the timestamp at various phases of CPU Idle and then compute the sw latency for

RE: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Sripathy, Vishwanath
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of C V, Silesh > Sent: Friday, August 27, 2010 3:28 PM > To: vishwanath.sripa...@linaro.org > Cc: linux-omap@vger.kernel.org; linaro-...@lists.linaro.org > Subject: Re: [PA

RE: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Sripathy, Vishwanath
> -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Jean Pihet > Sent: Friday, August 27, 2010 3:17 PM > To: vishwanath.sripa...@linaro.org > Cc: linux-omap@vger.kernel.org; linaro-...@lists.linaro.org > Subject: Re: [PAT

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Silesh C V
g 28, 2010 at 3:38 AM, wrote: > From: Vishwanath BS > > This patch has instrumentation code for measuring latencies for > various CPUIdle C states for OMAP. Idea here is to capture the > timestamp at various phases of CPU Idle and then compute the sw > latency for various c states. For OMAP, 32k

Re: [PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread Jean Pihet
Hi, On Sat, Aug 28, 2010 at 12:08 AM, wrote: > From: Vishwanath BS > > This patch has instrumentation code for measuring latencies for > various CPUIdle C states for OMAP. Idea here is to capture the > timestamp at various phases of CPU Idle and then compute the sw > latency for various c state

Re: [PATCH 2/9] omap: mux: Add new style pin multiplexing code for omap3

2010-08-27 Thread Cousson, Benoit
On 8/27/2010 4:29 AM, rockefeller wrote: Hi Tony, In the implementation of omap_mux_init_signal(char *muxname, int val) in arch/arm/mach-omap2/mux.c, it will modify the muxname of caller that passed in and not recover it, did you mean to implement to do so?(I try to explain my point of view a

Re: [PATCH 07/11] OMAP: HSMMC: Fix unused variable warning

2010-08-27 Thread kishore kadiyala
Hi Manju, Patch already posted here : https://patchwork.kernel.org/patch/118871/ Regards, Kishore On Fri, Aug 27, 2010 at 2:26 AM, G, Manjunath Kondaiah wrote: > From: Manjunatha GK > > Fixes warning due to unused variable. > > drivers/mmc/host/omap_hsmmc.c: In function 'omap_hsmmc_suspend': >

[PATCH] OMAP CPUIDLE: CPU Idle latency measurement

2010-08-27 Thread vishwanath . sripathy
From: Vishwanath BS This patch has instrumentation code for measuring latencies for various CPUIdle C states for OMAP. Idea here is to capture the timestamp at various phases of CPU Idle and then compute the sw latency for various c states. For OMAP, 32k clock is chosen as reference clock this as

RE: [PATCHv2] OMAP:DSS:Add support for Additional color modes supported by OMAP4 -

2010-08-27 Thread K, Mythri P
Hi Tomi, Please find the OMAP4 TRM in http://focus.ti.com/general/docs/wtbu/wtbudocumentcenter.tsp?templateId=6123&navigationId=12667 Thanks and regards, Mythri. > -Original Message- > From: Tomi Valkeinen [mailto:tomi.valkei...@nokia.com] > Sent: Thursday, August 26, 2010 4:31 PM > To: