[PATCH v2 1/7] clk: Add a basic factor clock
From: Michael Turquette <hidden>
Date: 2015-07-24 00:00:01
Also in:
linux-clk
Quoting Maxime Ripard (2015-05-23 00:49:30)
On Fri, May 22, 2015 at 12:35:35PM +0800, Chen-Yu Tsai wrote:quoted
Hi, On Fri, May 22, 2015 at 4:54 AM, Maxime Ripard [off-list ref] wrote:quoted
Some clocks are using a factor component, however, unlike their mux, gate or divider counterpart, these factors don't have a basic clock implementation.I think "multiplier" would be a better name here, considering it is the counterpart of "divider". "factor" implies you can multiply and/or divide the clock rate.You're probably right, I didn't though of it that way :)
I also prefer multiplier over factor. Jim Quinlan submitted a similar patch. See here: http://www.spinics.net/lists/linux-clk/msg00691.html I nacked that patch because Stephen and I are trying to figure out how the basic clock types should work going forward. Code reuse is good, but they are not very maintainable. Since there are two potential users of this code, I should reconsider. Can you two come up with a common implementation that works for both of you? Please do not put any CLK_OF_DECLARE stuff in there (there isn't any now, but I wanted to be clear). Regards, Mike
quoted
Unless of course you plan to add that? :)Hmmm, no, not really. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com