ARM: Orion: UART: Get the clock rate via clk_get_rate().
authorAndrew Lunn <andrew@lunn.ch>
Sat, 24 Dec 2011 02:06:34 +0000 (03:06 +0100)
committerMike Turquette <mturquette@linaro.org>
Tue, 8 May 2012 23:33:57 +0000 (16:33 -0700)
commit74c335761acdfd94736d28ba0b941a2efb9c81f0
tree48a1011670391a6dfd8b2b1fac33a4f0221fe0d2
parent4f04be62af95119d258b8035f498100e43c8c527
ARM: Orion: UART: Get the clock rate via clk_get_rate().

Let the machine pass to the platform which clock is used by the uart.
Enable the clock and use clk_get_rate() to determine its rate.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Jamie Lentin <jm@lentin.co.uk>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-dove/common.c
arch/arm/mach-kirkwood/common.c
arch/arm/mach-mv78xx0/common.c
arch/arm/mach-orion5x/common.c
arch/arm/plat-orion/common.c
arch/arm/plat-orion/include/plat/common.h