diff options
author | Rajendra Nayak <rnayak@ti.com> | 2012-05-17 14:22:13 +0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-07-12 02:36:42 +0400 |
commit | 6d9252bd9a4bb1dadc1f199fd276e3464a251085 (patch) | |
tree | a1dc6ff2959667705d3ed5e4a0504fe268645f01 /include/linux/clk-provider.h | |
parent | bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a (diff) | |
download | linux-6d9252bd9a4bb1dadc1f199fd276e3464a251085.tar.xz |
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>
Diffstat (limited to 'include/linux/clk-provider.h')
0 files changed, 0 insertions, 0 deletions