cpufreq.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jisheng Zhang <jszhang@marvell.com>
To: rjw@sisk.pl, viresh.kumar@linaro.org
Cc: cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-arm-kernel <linux-arm-kernel-bounces@lists.infradead.org>
Subject: [RFC] cpufreq-cpu0: allow OPP table supplied by platform
Date: Thu, 13 Mar 2014 18:48:59 +0800	[thread overview]
Message-ID: <20140313184859.7d6f6512@xhacker> (raw)

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

             reply	other threads:[~2014-03-13 10:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 10:48 Jisheng Zhang [this message]
2014-03-13 10:55 ` [RFC] cpufreq-cpu0: allow OPP table supplied by platform 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140313184859.7d6f6512@xhacker \
    --to=jszhang@marvell.com \
    --cc=cpufreq@vger.kernel.org \
    --cc=linux-arm-kernel-bounces@lists.infradead.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).