Thread (19 messages) 19 messages, 4 authors, 2017-09-21

[PATCH 1/7] PM / OPP: Add platform specific set_clk function

From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2017-09-19 22:58:44
Also in: linux-pm, lkml

On 24-08-17, 00:10, Dong Aisheng wrote:
This is useful to support platforms which only the clk setting is
different from the generic OPP set rate but others like voltage
setting are still the same.

Users can use this function to register a custom OPP set clk helper
working in place of the default simple clk setting in the generic
dev_pm_opp_set_rate(). Then user can still use dev_pm_opp_set_rate()
with .set_clk() to save a lot duplicated work.
I am not inclined to add this support really. What prevents you to
register a clock for the device (which is CPU in your case) and the
generic clk_set_rate() will eventually call into the platform specific
routine. That's what everyone else is doing.

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help