mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
5f5a7a5578
Instead of using clock names supplied in platform data, use a generic clock name 'clk_uart_baud' to look up clocks. The platform code should register clocks with the name 'clk_uart_baud' which can be used by the baud rate generator. The clock lookup and selection of the best clock as baud rate clock is reworked. Platform code can specify the clocks that can be used as source for the baud clock (as supported previously by passing names of clocks). A new member is added to the platform data 'clk_sel' which holds a bit-field value with each bit representing a baud source clock. If a bit at any bit position is set, that clock is looked up to participate in the selection of the baud clock source. 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> |
||
---|---|---|
.. | ||
include/plat | ||
adc.c | ||
clock-clksrc.c | ||
clock.c | ||
cpu.c | ||
dev-backlight.c | ||
dev-uart.c | ||
devs.c | ||
dma-ops.c | ||
dma.c | ||
init.c | ||
irq-vic-timer.c | ||
Kconfig | ||
Makefile | ||
pd.c | ||
platformdata.c | ||
pm-check.c | ||
pm-gpio.c | ||
pm.c | ||
pwm-clock.c | ||
pwm.c | ||
s3c-dma-ops.c | ||
time.c | ||
wakeup-mask.c |