linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] cpufreq-cpu0: allow OPP table supplied by platform
@ 2014-03-13 10:48 Jisheng Zhang
  2014-03-13 10:55 ` Viresh Kumar
  0 siblings, 1 reply; 8+ messages in thread
From: Jisheng Zhang @ 2014-03-13 10:48 UTC (permalink / raw)
  To: rjw, viresh.kumar; +Cc: cpufreq, linux-pm, linux-arm-kernel

Hi all,

cpufreq-cpu0 is suitable for Marvell Berlin SoC. But there's one issue to address.
The opp is different between chips even on the same step SoC, BG2Q for example.
we can calculate the OPP table from the value of one OTP register. We have two
solutions:

1. bootloader reads OTP register and calculate the OPP table then change dtb
danamically

2. supply one driver in mach-berlin to initialize the OPP table; and modify
cpufreq-cpu0 to allow platform supply OPP table, fall back to of_init_opp_table()
if there's no OPP table.

Which solution is better?

Thanks in advance,
Jisheng

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-03-14 19:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 10:48 [RFC] cpufreq-cpu0: allow OPP table supplied by platform Jisheng Zhang
2014-03-13 10:55 ` Viresh Kumar
2014-03-13 10:56   ` Viresh Kumar
2014-03-13 11:44     ` Jisheng Zhang
2014-03-13 17:43       ` Sören Brinkmann
2014-03-14 12:32       ` Shawn Guo
2014-03-14 15:36         ` Nishanth Menon
2014-03-14 19:32           ` Dave Gerlach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).