]> git.karo-electronics.de Git - linux-beck.git/commit
clk: make ICST driver handle the VCO registers
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Nov 2012 22:01:04 +0000 (23:01 +0100)
committerMike Turquette <mturquette@linaro.org>
Wed, 21 Nov 2012 19:02:20 +0000 (11:02 -0800)
commit7a9ad671ac0a0ec2fc86887a9416f837c0cfb801
treee95cc3a618fad12634532f028363f85aeb5e4b57
parent401301ccdf516fa4b3b90216414a2a15fb826208
clk: make ICST driver handle the VCO registers

It turns out that all platforms using the ICST VCO are really
just touching two registers, and in the same way as well: one
register with the VCO configuration as such, and one lock register
that makes it possible to write to the VCO.

Factor this register read/write into the ICST driver so we can
reuse it in the IM-PD1 driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/versatile/clk-icst.c
drivers/clk/versatile/clk-icst.h
drivers/clk/versatile/clk-integrator.c
drivers/clk/versatile/clk-realview.c