]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: samsung: remove all uses of get_clksrc and set_clksrc
authorThomas Abraham <thomas.abraham@linaro.org>
Mon, 24 Oct 2011 09:47:57 +0000 (11:47 +0200)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 8 Nov 2011 07:53:23 +0000 (16:53 +0900)
commitd4df91552d952cefd0739fb5d640744bb656e9ae
treede2fc52df02eace160de88fb585e802b5a5bb0ba
parent0240105fddaab1da2996061132fd817886f6a7eb
serial: samsung: remove all uses of get_clksrc and set_clksrc

With clkdev based clock lookup support, the clock set and get operation
using clock names communicated between the samsung uart driver and the
SoC specific extension can be removed.

In addition to that, for each platform specific extension, add the
default clock selection, number of clock options for uart baud generator,
clock selection bit mask and shift values which is required by the
clkdev support in samsung uart driver.

The default clock selection value 'def_clk_sel' specifies the default clock
to be used as the source clock for baud rate generator in case the platform
code does not specify the same.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/init.c
arch/arm/plat-samsung/include/plat/regs-serial.h
drivers/tty/serial/s3c2410.c
drivers/tty/serial/s3c2412.c
drivers/tty/serial/s3c2440.c
drivers/tty/serial/s3c6400.c
drivers/tty/serial/s5pv210.c
drivers/tty/serial/samsung.h