clk/samsung: add support for multuple clock providers
authorRahul Sharma <rahul.sharma@samsung.com>
Tue, 24 Dec 2013 13:41:34 +0000 (14:41 +0100)
committerChanho Park <chanho61.park@samsung.com>
Fri, 8 Aug 2014 06:25:34 +0000 (15:25 +0900)
commitaca4c1441a53505be0f2643db2d6d9a75c59af7d
treebd178443e79e6dde29ab371e9a8383f74fb043bb
parentf01f1e35c318475b4ba2ffe121b4b89efde8a6e5
clk/samsung: add support for multuple clock providers

Samsung CCF helper functions do not provide support to
register multiple Clock Providers for a given SoC. Due to
this limitation SoC platforms are not able to use these
helpers for registering mulitple clock providers and are
forced to bypass this layer.

This layer is modified acordingly to enable the support.

Clockfile for exynos4, exynos5250, exynos5420, exynos5440
and S3c64xx are also modified as per changed helper functions.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
[t.figa: Backported to 3.10 kernel]
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/clk/samsung/clk-exynos4.c
drivers/clk/samsung/clk-exynos5250.c
drivers/clk/samsung/clk-exynos5440.c
drivers/clk/samsung/clk.c
drivers/clk/samsung/clk.h