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


Groups > linux.kernel > #1585228

cpufreq: get cpufreq_frequency_table from clk driver

From Vlad Zakharov <Vladislav.Zakharov@synopsys.com>
Newsgroups linux.kernel
Subject cpufreq: get cpufreq_frequency_table from clk driver
Date 2017-02-21 12:20 +0100
Message-ID <tdgEa-1QZ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

I am trying to implement a cpufreq driver for ARCHS cpu.

And I faced with one question I am not able to answer myself. cpufreq framework allows us using cpufreq frequency tables
that store available for current policy range of frequencies with any additional data. As I understand for example it
can be clock configurations for this particular frequency.

Also I have a clk driver that manages actual cpu frequency. In fact it uses very similar tables that contain frequencies
and corresponding values of clock configurations registers that are to be set up with current frequency.

So the question is can I get such tables from clk driver somehow? I would be very convenient: this tables differs for
ARCHS CPU. E.g. on different boards it is clocked by different PLLs and oscillators.

Do you know any way to get the tables from clk driver? Any suggestions or comments might be very helpful.

Thanks!

-- 
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

cpufreq: get cpufreq_frequency_table from clk driver Vlad Zakharov <Vladislav.Zakharov@synopsys.com> - 2017-02-21 12:20 +0100
  Re: cpufreq: get cpufreq_frequency_table from clk driver Viresh Kumar <viresh.kumar@linaro.org> - 2017-02-23 06:00 +0100

csiph-web