From: Heiko Stübner Date: Tue, 26 Aug 2014 22:54:21 +0000 (+0200) Subject: clk: rockchip: implement the fraction divider branch type X-Git-Tag: omap-for-v3.19/prcm-cleanup~65^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2155a71a7ff828eac72367ff9c2a0a2f4fec35b;p=pandora-kernel.git clk: rockchip: implement the fraction divider branch type Rockchip SoCs may provide fraction dividers for some clocks, mostly for i2s and uarts. In contrast to the other registers, these do not use the hiword-mask paradigm, but instead split the register into the upper 16 bit for the nominator and the lower 16 bit for the denominator. The common clock framework got a generic fractional divider clock type recently that can accomodate this setting easily. All currently known fraction dividers have a separate gate too, therefore implement the divider as composite using the ops-struct from fractional_divider clock and add the gate if necessary. Signed-off-by: Heiko Stuebner Signed-off-by: Mike Turquette --- Reading git-diff-tree failed