clk: samsung: add common clock framework helper functions for Samsung platforms
authorThomas Abraham <thomas.abraham@linaro.org>
Sat, 9 Mar 2013 08:02:44 +0000 (17:02 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Mar 2013 09:16:09 +0000 (18:16 +0900)
commit721c42a351b113a9633d2447d9131fe620f2d805
tree9e52f223570c56cb9c5e775670bbc2e2f0fd03f8
parent8ec46b97f24d60645c8f708c87e0caecebd25d77
clk: samsung: add common clock framework helper functions for Samsung platforms

All Samsung platforms include different types of clock including
fixed-rate, mux, divider and gate clock types. There are typically
hundreds of such clocks on each of the Samsung platforms. To enable
Samsung platforms to register these clocks using the common clock
framework, a bunch of utility functions are introduced here which
simplify the clock registration process. The clocks are usually
statically instantiated and registered with common clock framework.

Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tested-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/clk/Makefile
drivers/clk/samsung/Makefile [new file with mode: 0644]
drivers/clk/samsung/clk.c [new file with mode: 0644]
drivers/clk/samsung/clk.h [new file with mode: 0644]