From: Shawn Guo Date: Wed, 22 Aug 2012 13:36:27 +0000 (+0800) Subject: clk: add of_clk_src_onecell_get() support X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~78^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=494bfec99922d54054d2d0873f1017680cfc3f13;p=pandora-kernel.git clk: add of_clk_src_onecell_get() support For those SoCs that have hundreds of clock outputs, their clock DT bindings could reasonably define #clock-cells as 1 and require the client device specify the index of the clock it consumes in the cell of its "clocks" phandle. Add a generic of_clk_src_onecell_get() function for this purpose. Signed-off-by: Shawn Guo Reviewed-by: Rob Herring Signed-off-by: Mike Turquette --- Reading git-diff-tree failed