clk: axi-clkgen: Add support for v2
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 17 Feb 2014 09:31:53 +0000 (10:31 +0100)
committerMike Turquette <mturquette@linaro.org>
Thu, 27 Feb 2014 01:02:29 +0000 (17:02 -0800)
commit1887c3a64fab8300a5be3fb5fd8d6474a63b50a0
tree8313a1c3590e3aeec2fa828ca723bf9876e483fc
parent62ac983b614149db5a98f333dbb13848cb6b7524
clk: axi-clkgen: Add support for v2

This patch adds support for the new v2 version of the axi-clkgen core.
Unfortunately the method of accessing the registers is quite different on v2,
while the content still stays largely the same. So the patch adds a small
abstraction layer which implements the specific read and write functions for v1
and v2 in callback functions.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Documentation/devicetree/bindings/clock/axi-clkgen.txt
drivers/clk/clk-axi-clkgen.c