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

2011-05-04 Thread Govindraj
On Thu, May 5, 2011 at 2:05 AM, Kevin Hilman wrote: > "Govindraj.R" 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. >> 2.) Moving context_restore func to driver from serial.c >> 3.) Adding port_enabl

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

2011-05-04 Thread Paul Walmsley
Hi Govindraj, On Wed, 4 May 2011, Kevin Hilman wrote: > "Govindraj.R" writes: > > > +++ b/arch/arm/mach-omap2/serial.c > > @@ -189,6 +189,21 @@ static void omap_serial_fill_default_pads(struct > > omap_board_data *bdata) > > } > > } > > > > +static void omap_uart_wakeup_enable(struct pl

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

2011-05-04 Thread Kevin Hilman
"Govindraj.R" 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. > 2.) Moving context_restore func to driver from serial.c > 3.) Adding port_enable/disable func to enable/disable given uart port. > enabl

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

2011-04-29 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 u