clk: mvebu: refactor corediv driver to support more SoC
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 14 Feb 2014 20:15:02 +0000 (17:15 -0300)
committerJason Cooper <jason@lakedaemon.net>
Mon, 17 Feb 2014 02:33:57 +0000 (02:33 +0000)
This commit refactors the corediv clock driver so that it is capable
of handling various SOCs that have slightly different corediv clock
registers and capabilities.

It introduces a clk_corediv_soc_desc structure that encapsulates all
the SoC specific details.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

No differences found