[RFC] cpm_uart: Add generic clock API support to set baudrates

Kumar Gala galak at kernel.crashing.org
Sat Jul 26 03:39:36 EST 2008


On Jul 24, 2008, at 7:05 AM, Laurent Pinchart wrote:

> 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.
>
> This is required to support RS485 ports on a platform I'm working on  
> (TBox
> CPU32 - see http://www.cse-semaphore.com/products/t-box/t-box-ms.php).
>
> ---
> drivers/serial/cpm_uart/cpm_uart.h      |    1 +
> drivers/serial/cpm_uart/cpm_uart_core.c |   26 ++++++++++++++++++ 
> +-------
> 2 files changed, 20 insertions(+), 7 deletions(-)

I'm having problems applying due to mailer formatting.

- k



More information about the Linuxppc-dev mailing list