Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567828

Re: [PATCH] clk: ti: divider: Add the table parsing to get the best divider value

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: ti: divider: Add the table parsing to get the best divider value
Date 2017-01-27 01:20 +0100
Message-ID <t42qK-5Ez-5@gated-at.bofh.it> (permalink)
References <sJS0W-1Sd-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/02, Keerthy wrote:
> 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>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] clk: ti: divider: Add the table parsing to get the best  divider value Stephen Boyd <sboyd@codeaurora.org> - 2017-01-27 01:20 +0100

csiph-web