linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: leo.yan@linaro.org (Leo Yan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: mvebu: update cpufreq-dt's platform data
Date: Tue,  3 Mar 2015 21:03:37 +0800	[thread overview]
Message-ID: <1425387817-11382-3-git-send-email-leo.yan@linaro.org> (raw)
In-Reply-To: <1425387817-11382-1-git-send-email-leo.yan@linaro.org>

Change to use cpufreq-dt's platform data of clk_domain_boundary; in
the old code the initial value is true, that means every CPU has the
dedicated clock. So assign as CPUFREQ_DT_CLK_PER_CPU.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 arch/arm/mach-mvebu/pmsu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 8b9f5e2..1fd3f89 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -573,7 +573,7 @@ int mvebu_pmsu_dfs_request(int cpu)
 }
 
 struct cpufreq_dt_platform_data cpufreq_dt_pd = {
-	.independent_clocks = true,
+	.clk_domain_boundary = CPUFREQ_DT_CLK_PER_CPU,
 };
 
 static int __init armada_xp_pmsu_cpufreq_init(void)
-- 
1.9.1

      parent reply	other threads:[~2015-03-03 13:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 13:03 [PATCH 0/2] cpufreq-dt: support for cluster level clock Leo Yan
2015-03-03 13:03 ` [PATCH 1/2] cpufreq-dt: support " Leo Yan
2015-03-03 13:10   ` Viresh Kumar
2015-03-03 14:03     ` Leo Yan
2015-03-03 15:19       ` Viresh Kumar
2015-03-04  2:35         ` Leo Yan
2015-03-03 13:03 ` Leo Yan [this message]

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=1425387817-11382-3-git-send-email-leo.yan@linaro.org \
    --to=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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 NNTP newsgroup(s).