diff options
author | Tejas Patel <tejas.patel@xilinx.com> | 2019-12-04 22:35:59 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-01-23 13:25:37 -0800 |
commit | 34bbe036170785bd288d8a74573ee8ad7946f4a1 (patch) | |
tree | b1a8079be2cfff78ebc8c07e71e2bf08656a2f2f /include | |
parent | 4ebd92d2e228ceb33bafa273fd9cb2b16615cdd4 (diff) |
clk: zynqmp: Add support for clock with CLK_DIVIDER_POWER_OF_TWO flag
Existing clock divider functions is not checking for
base of divider. So, if any clock divider is power of 2
then clock rate calculation will be wrong.
Add support to calculate divider value for the clocks
with CLK_DIVIDER_POWER_OF_TWO flag.
Signed-off-by: Tejas Patel <tejas.patel@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Link: https://lkml.kernel.org/r/1575527759-26452-7-git-send-email-rajan.vaja@xilinx.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions