OMAP: UART: omap_device conversions, remove implicit 8520 assumptions
authorKevin Hilman <khilman@deeprootsystems.com>
Mon, 27 Sep 2010 14:49:38 +0000 (20:19 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 29 Sep 2010 19:42:56 +0000 (12:42 -0700)
commit6f251e9db1093c187addc309b5f2f7fe3efd2995
treebecc3755857d797e6633c6a4a8e714c128aad097
parent046465b76a41a32a8d56e691b167fb9ba7729970
OMAP: UART: omap_device conversions, remove implicit 8520 assumptions

Major rework of OMAP UART init for omap_device conversion as well as
use with either 8250 driver or new omap-serial driver.

In preparation for a new omap-serial driver, remove 8250 assumptions
and dependencies from the serial core.

Convert UART core and PM support to use omap_device layer. Also add
support for both console on 8250 or omap-serial driver.

omap_device conversion:
- Convert clock API calls to omap_device calls
- Remove all static platform_data setup and configuration.  This is
  all done by the omap_device build phase.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/serial.c