Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-27 Thread Govindraj
On Sat, Jun 25, 2011 at 5:00 AM, Kevin Hilman khil...@ti.com wrote: Govindraj.R govindraj.r...@ti.com writes: Adapts omap-serial driver to use pm_runtime api's. 1.) Populate reg values to uart port which can be used for context restore. Please make this part a separate patch. 2.) Moving

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-27 Thread Kevin Hilman
Govindraj govindraj...@gmail.com writes: On Sat, Jun 25, 2011 at 5:00 AM, Kevin Hilman khil...@ti.com wrote: Govindraj.R govindraj.r...@ti.com writes: Adapts omap-serial driver to use pm_runtime api's. 1.) Populate reg values to uart port which can be used for context restore. Please make

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-24 Thread Kevin Hilman
Govindraj.R govindraj.r...@ti.com writes: Adapts omap-serial driver to use pm_runtime api's. 1.) Populate reg values to uart port which can be used for context restore. Please make this part a separate patch. 2.) Moving context_restore func to driver from serial.c 3.) Adding

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-09 Thread Jon Hunter
Hi Govindraj On 06/08/2011 11:35 PM, Govindraj wrote: On Thu, Jun 9, 2011 at 2:09 AM, Jon Hunterjon-hun...@ti.com wrote: Hi Govindraj, On 6/8/2011 6:23 AM, Govindraj.R wrote: [snip] + +#define OMAP_UART_AUTOSUSPEND_DELAY (30 * HZ) /* Value is msecs */ [snip] @@ -1295,18 +1381,36 @@

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-09 Thread Jon Hunter
On 06/09/2011 03:49 PM, Jon Hunter wrote: Hi Govindraj On 06/08/2011 11:35 PM, Govindraj wrote: On Thu, Jun 9, 2011 at 2:09 AM, Jon Hunterjon-hun...@ti.com wrote: Hi Govindraj, On 6/8/2011 6:23 AM, Govindraj.R wrote: [snip] + +#define OMAP_UART_AUTOSUSPEND_DELAY (30 * HZ) /* Value is

[PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-08 Thread Govindraj.R
Adapts omap-serial driver to use pm_runtime api's. 1.) Populate reg values to uart port which can be used for context restore. 2.) Moving context_restore func to driver from serial.c 3.) Adding port_enable/disable func to enable/disable given uart port. enable port using get_sync and disable

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-08 Thread Jon Hunter
Hi Govindraj, On 6/8/2011 6:23 AM, Govindraj.R wrote: [snip] + +#define OMAP_UART_AUTOSUSPEND_DELAY (30 * HZ) /* Value is msecs */ [snip] @@ -1295,18 +1381,36 @@ static int serial_omap_probe(struct platform_device *pdev) up-uart_dma.rx_dma_channel = OMAP_UART_DMA_CH_FREE;

Re: [PATCH v3 04/12] Serial: OMAP: Add runtime pm support for omap-serial driver

2011-06-08 Thread Govindraj
On Thu, Jun 9, 2011 at 2:09 AM, Jon Hunter jon-hun...@ti.com wrote: Hi Govindraj, On 6/8/2011 6:23 AM, Govindraj.R wrote: [snip] + +#define OMAP_UART_AUTOSUSPEND_DELAY (30 * HZ) /* Value is msecs */ [snip] @@ -1295,18 +1381,36 @@ static int serial_omap_probe(struct platform_device