kernel-hacking-2024-linux-s.../drivers/clk/ti
Keerthy ced3068344 clk: ti: divider: Add the table parsing to get the best divider value
Currently the divider selection logic blindly divides the parent_rate
by the clk rate and gives the divider value for the divider clocks
which do not have the CLK_SET_RATE_PARENT flag set. Add the clk divider
table parsing to get the closest divider available in the table
provided via Device tree.

The code is pretty much taken from: drivers/clk/clk-divider.c.
and used here to fix up the best divider selection logic.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reported-by: Richard Woodruff <r-woodruff2@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-01-26 16:03:04 -08:00
..
adpll.c
apll.c
autoidle.c
clk-2xxx.c
clk-3xxx-legacy.c
clk-3xxx.c clk: ti: omap36xx: Work around sprz319 advisory 2.1 2016-12-08 13:15:25 -08:00
clk-7xx.c clk: ti: dra7: fix "failed to lookup clock node gmac_gmii_ref_clk_div" boot message 2016-12-08 15:09:12 -08:00
clk-33xx.c
clk-43xx.c
clk-44xx.c
clk-54xx.c
clk-814x.c
clk-816x.c
clk-dra7-atl.c clk: ti: make clk-dra7-atl explicitly non-modular 2016-11-04 13:34:14 -07:00
clk.c
clkt_dflt.c
clkt_dpll.c
clkt_iclk.c
clock.h clk: ti: omap36xx: Work around sprz319 advisory 2.1 2016-12-08 13:15:25 -08:00
clockdomain.c
composite.c
divider.c clk: ti: divider: Add the table parsing to get the best divider value 2017-01-26 16:03:04 -08:00
dpll.c clk: ti: omap36xx: Work around sprz319 advisory 2.1 2016-12-08 13:15:25 -08:00
dpll3xxx.c clk: ti: omap36xx: Work around sprz319 advisory 2.1 2016-12-08 13:15:25 -08:00
dpll44xx.c
fapll.c
fixed-factor.c
gate.c
interface.c
Kconfig
Makefile
mux.c