Home
last modified time | relevance | path

Searched hist:ac3e3fb424d44109dda3b1a3459e1b30fa60ac4a (Results 1 – 1 of 1) sorted by relevance

/linux/include/linux/amba/
H A Dserial.hdiff ac3e3fb424d44109dda3b1a3459e1b30fa60ac4a Wed Jun 02 21:40:22 CEST 2010 Linus Walleij <linus.walleij@stericsson.com> ARM: 6158/2: PL011 baudrate extension for ST-Ericssons derivative

Implementation of the ST-Ericsson baudrate extension in the PL011
block. In this modified variant it is possible to change the
sampling factor from 16 to 8, and thanks to this we can get higher
baudrates while still using the same peripheral clock.

Also replace the simple division to determine the baud divisor
with DIV_ROUND_CLOSEST() rather than a simple integer division.

Cc: Alessandro Rubini <rubini@unipv.it>
Cc: Jerzy Kasenberg <jerzy.kasenberg@tieto.com>
Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>