From patchwork Tue Mar 3 13:03:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 45367 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6782A2142B for ; Tue, 3 Mar 2015 13:04:21 +0000 (UTC) Received: by wghk14 with SMTP id k14sf28681430wgh.0 for ; Tue, 03 Mar 2015 05:04:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Wio79zd1JM37PIkkOWkiGjybWawRzevZg6UJIXCD6fY=; b=H0UQtYGDzL3ON0sKvcnT/3EFmLO3mF4Rn3fd6ENgHwECnMc1OHe/M5e4uLnZJO7joT dltUPYRqTr6kAugNOvTNnw2PRoyVhzNCXmjciNxsrYU66zUDC6W+GsZpH7Gj+n3aeH0o lo/tJ5FnBq5N2TlmIzr+Wr0UQvZDeVZrRh65p45sjJJRUw5FneGdcU5OnnQNVKW4IHeT 5qAU/06t0mV5XlePT0VZeJZmgWHZKeK4QxOIlyO3Fl8AIvp6dfk1IYL8+Bw+FfKvkLh3 TRzSVX2SOKD6dd1uICPFh2aAZsAa00jxhAai1IochwmhDoRwubXvDWjpfh/C25vf1Cx+ 9icQ== X-Gm-Message-State: ALoCoQnaWCymSz7hMbBTVVqqQlTCeK5iKLVRsNuGLvuXD3djwlpTBJIAqrV4zD1QUsC424qBXKm7 X-Received: by 10.152.88.40 with SMTP id bd8mr4553910lab.0.1425387860601; Tue, 03 Mar 2015 05:04:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.195 with SMTP id o3ls35653laf.82.gmail; Tue, 03 Mar 2015 05:04:20 -0800 (PST) X-Received: by 10.112.239.38 with SMTP id vp6mr7610180lbc.48.1425387860426; Tue, 03 Mar 2015 05:04:20 -0800 (PST) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id g17si516088lbh.17.2015.03.03.05.04.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 05:04:20 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lamq1 with SMTP id q1so14040366lam.0 for ; Tue, 03 Mar 2015 05:04:20 -0800 (PST) X-Received: by 10.112.185.66 with SMTP id fa2mr28236693lbc.117.1425387860335; Tue, 03 Mar 2015 05:04:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp549322lbj; Tue, 3 Mar 2015 05:04:19 -0800 (PST) X-Received: by 10.70.140.162 with SMTP id rh2mr55808301pdb.131.1425387858535; Tue, 03 Mar 2015 05:04:18 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bp4si939919pac.105.2015.03.03.05.04.17; Tue, 03 Mar 2015 05:04:18 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756601AbbCCNEN (ORCPT + 28 others); Tue, 3 Mar 2015 08:04:13 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:44443 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756560AbbCCNDy (ORCPT ); Tue, 3 Mar 2015 08:03:54 -0500 Received: by padbj1 with SMTP id bj1so27548456pad.11 for ; Tue, 03 Mar 2015 05:03:54 -0800 (PST) X-Received: by 10.68.218.202 with SMTP id pi10mr56315995pbc.13.1425387834116; Tue, 03 Mar 2015 05:03:54 -0800 (PST) Received: from localhost.localdomain ([180.150.148.224]) by mx.google.com with ESMTPSA id ak7sm971123pad.47.2015.03.03.05.03.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 03 Mar 2015 05:03:53 -0800 (PST) From: Leo Yan To: Viresh Kumar , Shawn Guo , Thomas Petazzoni , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Leo Yan Subject: [PATCH 2/2] ARM: mvebu: update cpufreq-dt's platform data Date: Tue, 3 Mar 2015 21:03:37 +0800 Message-Id: <1425387817-11382-3-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425387817-11382-1-git-send-email-leo.yan@linaro.org> References: <1425387817-11382-1-git-send-email-leo.yan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leo.yan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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)