summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_fcu_controls.c
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-08-27 00:54:21 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-02 15:03:17 -0700
commitb2155a71a7ff828eac72367ff9c2a0a2f4fec35b (patch)
treeafd52740aeb4785f6fbfefc3182800209e95bd1d /drivers/macintosh/windfarm_fcu_controls.c
parent4abe240878db394b399a12a63f01324bcd65c547 (diff)
downloadblackbird-op-linux-b2155a71a7ff828eac72367ff9c2a0a2f4fec35b.tar.gz
blackbird-op-linux-b2155a71a7ff828eac72367ff9c2a0a2f4fec35b.zip
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 <heiko@sntech.de> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/macintosh/windfarm_fcu_controls.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud