From: Linus Walleij Date: Wed, 2 Jun 2010 19:40:22 +0000 (+0100) Subject: ARM: 6158/2: PL011 baudrate extension for ST-Ericssons derivative X-Git-Tag: v2.6.36-rc1~591^2~1^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3e3fb424d44109dda3b1a3459e1b30fa60ac4a;p=pandora-kernel.git 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 Cc: Jerzy Kasenberg Signed-off-by: Marcin Mielczarczyk Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed