serial: xilinx_uartps: Get clock rate info from dts
authorJosh Cartwright <josh.cartwright@ni.com>
Mon, 21 Jan 2013 18:57:41 +0000 (19:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 21:56:46 +0000 (13:56 -0800)
commit2326669ccbd901dffeefb66ed742c294b2e8041b
tree2bee32550a8e14ba0f930e65011a4ff00841b32c
parent1f9db0921f212ad8fdf4bacfdf23590e64272f90
serial: xilinx_uartps: Get clock rate info from dts

Add support for specifying clock information for the uart clk via the
device tree. This eliminates the need to hardcode rates in the device
tree.

Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/zynq-7000.dtsi
drivers/tty/serial/xilinx_uartps.c