Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1645114
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 01/21] clk: divider: Make divider_round_rate take the parent clock |
| Date | 2017-05-19 04:00 +0200 |
| Message-ID | <tIFmW-3k7-9@gated-at.bofh.it> (permalink) |
| References | <tI1Sy-ck-7@gated-at.bofh.it> <tI1Sz-ck-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 05/17, Maxime Ripard wrote: > So far, divider_round_rate only considers the parent clock returned by > clk_hw_get_parent. > > This works fine on clocks that have a single parents, this doesn't work on > muxes, since we will only consider the first parent, while other parents > may totally be able to provide a better combination. > > Clocks in that case cannot use divider_round_rate, so would have to come up > with a very similar logic to work around it. Instead of having to do > something like this, and duplicate that logic everywhere, create a > divider_round_rate parent to allow caller to give an additional parameter > for the parent clock to consider. > > Reviewed-by: Chen-Yu Tsai <wens@csie.org> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> > --- Acked-by: Stephen Boyd <sboyd@codeaurora.org> -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 01/21] clk: divider: Make divider_round_rate take the parent clock Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-05-17 09:50 +0200 Re: [PATCH v3 01/21] clk: divider: Make divider_round_rate take the parent clock Stephen Boyd <sboyd@codeaurora.org> - 2017-05-19 04:00 +0200
csiph-web