aboutsummaryrefslogtreecommitdiff
path: root/include/linux/clkdev.h
AgeCommit message (Collapse)AuthorFilesLines
2013-12-04clk: Add common __clk_get(), __clk_put() implementationsSylwester Nawrocki1-0/+5
This patch adds common __clk_get(), __clk_put() clkdev helpers that replace their platform specific counterparts when the common clock API is used. The owner module pointer field is added to struct clk so a reference to the clock supplier module can be taken by the clock consumers. The owner module is assigned while the clock is being registered, in functions _clk_register() and __clk_register(). Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Acked-by: Russell King <[email protected]>
2012-05-02CLKDEV: provide helpers for common clock frameworkRussell King1-0/+3
The common clock framework allocates clocks dynamically. Provide a set of helpers to streamline the clkdev registration of the clock lookups to avoid repetitive code sequences. Reviewed-by: Viresh Kumar <[email protected]> Tested-by: Shawn Guo <[email protected]> Signed-off-by: Russell King <[email protected]>
2011-10-13ARM: 7131/1: clkdev: Add Common Macro for clk_lookupPadmavathi Venna1-0/+7
Added a standardized macro CLKDEV_INIT which can used across all the platforms to support clkdev Suggested-by: Russell King <[email protected]> Acked-by: H Hartley Sweeten <[email protected]> Acked-by: Kukjin Kim <[email protected]> Signed-off-by: Padmavathi Venna <[email protected]> Signed-off-by: Rajeshwari Shinde <[email protected]> Signed-off-by: Russell King <[email protected]>
2010-11-26ARM: 6483/1: arm & sh: factorised duplicated clkdev.cJean-Christop PLAGNIOL-VILLARD1-0/+36
factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% put the arch specific code for allocation as example in asm/clkdev.h Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Acked-by: Paul Mundt <[email protected]> Signed-off-by: Russell King <[email protected]>