cpm_uart: Add generic clock API support to set baudrates
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Mon, 28 Jul 2008 08:42:16 +0000 (10:42 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jul 2008 13:47:32 +0000 (08:47 -0500)
commit80776554b6c93cf828ddc702010c6a189aa0d0e9
tree23d4ce7299449b778a28c2de531ec40292235706
parent7485d26b7e13ee8ff82adb271ac90a996c1fe830
cpm_uart: Add generic clock API support to set baudrates

This patch introduces baudrate setting support via the generic clock API.
When present the optional device tree clock property is used instead of
fsl-cpm-brg. Platforms can then define complex clock schemes, to output
the serial clock on an external pin for instance.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/Kconfig
drivers/serial/cpm_uart/cpm_uart.h
drivers/serial/cpm_uart/cpm_uart_core.c