]> 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>
Wed, 2 Nov 2011 11:51:14 +0000 (20:51 +0900)
commitfd73b98e431aa6489e4fb7591acb508ecd5f132c
tree86fe8087378699c9ae0fd99d9fcc6a09c59c229f
parentc59dd58cf080b0ea4aff834182729015654b7de2
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-exynos4/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