lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] atmel_serial: Filter out FP during baud rate detection
hi Haavard,

> I made a change to u-boot that used the FP (Fractional Part) field of
> BRGR to achieve more accurate baud rate generation. Unfortunately, the
> atmel_serial driver looks at the whole BRGR register when trying to
> detect the baud rate that the port is currently running at, so setting
> FP to a nonzero value breaks the baud rate detection.

> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>

Acked-by: Andrew Victor <linux@maxim.org.za>

The FP (Fractional Part) is not supported on some AT91 processors
(RM9200, SAM9261) though.
Those bits in BRGR are undefined.


Regards,
Andrew Victor


\
 
 \ /
  Last update: 2008-05-27 20:09    [W:0.058 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site