From: James Hogan Date: Tue, 15 Jan 2013 15:27:45 +0000 (+0000) Subject: metag: init common clk and use "core" clk X-Git-Tag: v3.11-rc1~79^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa279dda4d9a442d824cd333e8b72078b83e855;p=pandora-kernel.git metag: init common clk and use "core" clk If the common clock framework is enabled, call of_clk_init(NULL) in time_init() to register device tree clocks with the clock framework. After this time_init() calls a new function init_metag_clocks(), which looks for a clock named "core" in the node compatible with "img,meta" (usually the root node). If found the get_core_freq machine callback is overridden to obtain the core clock frequency using that clock. Signed-off-by: James Hogan Cc: Mike Turquette Cc: Grant Likely Cc: Rob Herring Cc: devicetree-discuss@lists.ozlabs.org --- Reading git-diff-tree failed