From: Liu Ying Date: Thu, 4 Jul 2013 09:22:26 +0000 (+0800) Subject: ARM: imx: add common clock support for fixup div X-Git-Tag: v3.12-rc1~115^2~6^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbe7fc8aaeefc71a75c2688602ba5bb570c0a265;p=pandora-kernel.git ARM: imx: add common clock support for fixup div One register may have several fields to control some clocks. It is possible that the read/write values of some fields may map to different real functional values, so writing to the other fields in the same register may break a working clock tree. A real case is the aclk_podf field in the register 'CCM Serial Clock Multiplexer Register 1' of i.MX6Q/SDL SoC. This patch introduces a fixup hook for divider clock which is called before writing a value to clock registers to support this kind of divider clocks. Signed-off-by: Liu Ying Signed-off-by: Shawn Guo --- Reading git-diff-tree failed