aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-05-22clk: Add of_clk_get_by_clkspec() helperSylwester Nawrocki1-0/+1
This patch adds of_clk_get_by_clkspec() helper function, which does only a struct clk lookup from the clock providers. It is used in the subsequent patch where parsing of a clock from device tree and the lookup from providers needed to be split. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
2013-12-04clk: Provide not locked variant of of_clk_get_from_provider()Sylwester Nawrocki1-0/+16
Add helper functions for the of_clk_providers list locking and an unlocked variant of of_clk_get_from_provider(). These functions are intended to be used in the clkdev to avoid race condition in the device tree based clock look up in clk_get(). Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>