aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorTejas Patel <tejas.patel@xilinx.com>2019-12-04 22:35:59 -0800
committerStephen Boyd <sboyd@kernel.org>2020-01-23 13:25:37 -0800
commit34bbe036170785bd288d8a74573ee8ad7946f4a1 (patch)
treeb1a8079be2cfff78ebc8c07e71e2bf08656a2f2f /Documentation/devicetree/bindings
parentclk: zynqmp: Fix divider calculation (diff)
downloadlinux-dev-34bbe036170785bd288d8a74573ee8ad7946f4a1.tar.xz
linux-dev-34bbe036170785bd288d8a74573ee8ad7946f4a1.zip
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 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions