]> Pileus Git - ~andy/linux/commit
clk: nomadik: declare OF clock provider
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 16 Sep 2013 22:32:34 +0000 (00:32 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 29 Sep 2013 19:07:06 +0000 (21:07 +0200)
commit74227e65f9742f559f6e243ba2c9a983e1f1221d
tree4a14ec1caaaaa84ef29d76ef617d154727ba3ed4
parentea25a900f593cd34347ec884b3acac09ffe07667
clk: nomadik: declare OF clock provider

Common clock framework allows to register clock providers to get called
on of_clk_init() by using CLK_OF_DECLARE. This converts nomadik clock
provider to make use of it and get rid of the mach specific clk init
call. As clocks require system reset controller base address to be
initialized each clock driver checks src_base and calls new
nomadik_src_init if required.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-nomadik/cpu-8815.c
drivers/clk/clk-nomadik.c
include/linux/platform_data/clk-nomadik.h [deleted file]