summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* clk: Add of_clk_get_by_clkspec() helperSylwester Nawrocki2014-05-231-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>
* clk: Provide not locked variant of of_clk_get_from_provider()Sylwester Nawrocki2013-12-041-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>