OMAP2+: UART: Remove uart clock handling code from serial.c

Alan Cox alan at
Fri Apr 29 09:20:18 EDT 2011

On Fri, 29 Apr 2011 18:09:46 +0530
"Govindraj.R" <govindraj.raja at> wrote:

> Cleanup serial.c file in preparation to addition of runtime api's in omap-serial
> file. Remove all clock handling mechanism as this will be taken care with
> pm runtime api's in omap-serial.c file itself.
> 1.) Remove omap-device enable and disable. We can can use get_sync/put_sync api's
> 2.) Remove context save/restore can be done with runtime_resume callback for
>     get_sync call. No need to save context as all reg details available in
>     uart_port structure can be used for restore, so add missing regs in
>     uart port struct.
> 3.) Add func to identify console uart.
> 4.) Erratum handling informed as flag to driver and func to handle erratum
>     can be moved to omap-serial driver itself.
> Signed-off-by: Govindraj.R <govindraj.raja at>

The tty parts of this look fine, the OMAP bits I have no idea.

So for the tty bits with my serial maintainer hat on

Acked-by: Alan Cox <alan at>

but its mostly up to the ARM/OMAP people

More information about the linux-arm-kernel mailing list