]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a982dc9e53a67caad98a477ffcde4c14a5c86e6
tree9e52f223570c56cb9c5e775670bbc2e2f0fd03f8
parent8e9c3cdbb38298135cb424a37ef17b5fa6776b36
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]