commit | bca9690b942654f668ffb5124b2bbd0ba0f007bb | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Mon Jan 19 18:05:29 2015 -0800 |
committer | Michael Turquette <mturquette@linaro.org> | Tue Jan 27 11:48:52 2015 -0800 |
tree | b0e4a32c3175916fbe680dbad1687ac9c7185221 | |
parent | 15a02c1f6dd7c2bb150c61d00ffb33f584ff2288 [diff] |
clk: divider: Make generic for usage elsewhere Some devices don't use mmio to interact with dividers. Split out the logic from the register read/write parts so that we can reuse the division logic elsewhere. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Tested-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>