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)
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>

No differences found