Thread (36 messages) 36 messages, 6 authors, 2020-01-23

Re: [PATCH v3 5/6] clk: zynqmp: Fix divider calculation

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-01-23 22:59:02
Also in: linux-clk, linux-devicetree, lkml

Quoting Rajan Vaja (2019-12-04 22:35:58)
zynqmp_clk_divider_round_rate() returns actual divider value
after calculating from parent rate and desired rate, even though
that rate is not supported by single divider of hardware. It is
also possible that such divisor value can be achieved through 2
different dividers. As, Linux tries to set such divisor value(out
of range) in single divider set divider is getting failed.

Fix the same by computing best possible combination of two
divisors which provides more accurate clock rate.

Signed-off-by: Michal Simek <redacted>
Signed-off-by: Tejas Patel <redacted>
Signed-off-by: Rajan Vaja <redacted>
---
Applied to clk-next


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help