CLOCKSOURCE: mips-gic: Split clocksource and clockevent initialization
CLOCKSOURCE: mips-gic: Split clocksource and clockevent initialization

This is preparation work for the introduction of clockevent frequency
update with a clock notifier. This is only possible when the device
is passed a clk struct, so let's split the legacy and devicetree
initialization.

Reviewed-by: Andrew Bresticker <6f9d97df82107736b1c4f0e11d74242c25499ec8@chromium.org>
Signed-off-by: Ezequiel Garcia <7248f52d8926fd82a5eb079a13afe9dd79e34c7a@imgtec.com>
Acked-by: Daniel Lezcano <e9fa45941f2ebe89c1b9d6c5f339ab42eadb8567@linaro.org>
Cc: 2578944098299abf708b08eff6fcf60565553586@vger.kernel.org
Cc: 562397917b9a8bf316569a848858b12fb417723f@linux-mips.org
Cc: eb682e570f95b554c8a7dc560ee59b91b930a718@vger.kernel.org
Cc: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>
Cc: James Hartley <5296817ddfee78b978732d5c9fd364965b060169@imgtec.com>
Cc: Govindraj Raja <69b92ce5f3a593e1802107136aab371af0e6bd97@imgtec.com>
Cc: Damien Horsley <24535c6808591f19fa2392ddaf07f7f918bca0a7@imgtec.com>
Cc: James Hogan <7b991e0ed3868402616e5d23759b9fbda223f8bd@imgtec.com>
Cc: Ezequiel Garcia <eb6a2f962bb597f98b2c2b9c4698da19710ddfa3@vanguardiasur.com.ar>
Patchwork: https://patchwork.linux-mips.org/patch/10781/
Signed-off-by: Ralf Baechle <92f48d309cda194c8eda36aa8f9ae28c488fa208@linux-mips.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs