Thread (25 messages) 25 messages, 3 authors, 2022-12-13

Re: [PATCH v8 4/9] phy: fsl: Add Lynx 10G SerDes driver

From: Stephen Boyd <sboyd@kernel.org>
Date: 2022-12-07 02:17:49
Also in: linux-arm-kernel, linux-clk, linux-devicetree, linux-doc, linux-phy

Quoting Sean Anderson (2022-11-01 16:27:21)
On 11/1/22 16:10, Stephen Boyd wrote:
quoted
quoted
Oh, I remember why I did this. I need the reference clock for clk_hw_round_rate,
which is AFAICT the only correct way to implement round_rate.
Is the reference clk the parent of the clk implementing
clk_ops::round_rate()?
Yes. We may be able to produce a given output with multiple reference
rates. However, the clock API provides no mechanism to say "Don't ask
for the parent clock to be rate X, you just tried it and the parent
clock can't support it." So instead, we loop over the possible reference
rates and pick the first one which the parent says it can round to.
Sorry, I'm lost. Why can't you loop over possible reference rates in
determine_rate/round_rate clk op here?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help