From: Sebastian Hesselbarth Date: Sat, 17 Nov 2012 14:22:22 +0000 (+0100) Subject: clk: mvebu: add mvebu core clocks. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fa4cf442ff2872000d9110686371775795a32b;p=pandora-kernel.git clk: mvebu: add mvebu core clocks. This driver allows to provide DT clocks for core clocks found on Marvell Kirkwood, Dove & 370/XP SoCs. The core clock frequencies and ratios are determined by decoding the Sample-At-Reset registers. Although technically correct, using a divider of 0 will lead to div_by_zero panic. Let's use a ratio of 0/1 instead to fail later with a zero clock. Signed-off-by: Gregory CLEMENT Signed-off-by: Sebastian Hesselbarth Signed-off-by: Andrew Lunn Tested-by Gregory CLEMENT --- Reading git-diff-tree failed