]> git.baikalelectronics.ru Git - kernel.git/commit
clk: vt8500: parse pmc_base from clock driver
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 4 Sep 2013 11:58:11 +0000 (13:58 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 29 Sep 2013 19:08:54 +0000 (21:08 +0200)
commit002f15a4300130cc125a16cd3ab6fd9d7885314d
treee4ec4e062a4fc961494deb6f5d9ec3f5bd548c3b
parente47309a3b86fbf431e2b8604f503a80cb6b783c5
clk: vt8500: parse pmc_base from clock driver

Currently, clock providers for vt8500 depend on machine_init providing
pmc_base address before calling of_clk_init. With upcoming arch-wide
.time_init calling of_clk_init, we should make clock providers independent
of mach code. This adds a pmc_base parsing helper to current clock provider
that gets called if there is no pmc_base set, yet.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Acked-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-vt8500.c