commit | 6d9252bd9a4bb1dadc1f199fd276e3464a251085 | [log] [tgz] |
---|---|---|
author | Rajendra Nayak <rnayak@ti.com> | Thu May 17 15:52:13 2012 +0530 |
committer | Mike Turquette <mturquette@linaro.org> | Wed Jul 11 15:36:42 2012 -0700 |
tree | a1dc6ff2959667705d3ed5e4a0504fe268645f01 | |
parent | bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a [diff] |
clk: Add support for power of two type dividers Quite often dividers and the value programmed in the register have a relation of 'power of two', something like value div 0 1 1 2 2 4 3 8... Add support for such dividers as part of clk-divider. The clk-divider flag 'CLK_DIVIDER_POWER_OF_TWO' should be used to define such clocks. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>