From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756600AbbCCNEN (ORCPT ); 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 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: leo.yan@linaro.org (Leo Yan) Date: Tue, 3 Mar 2015 21:03:37 +0800 Subject: [PATCH 2/2] ARM: mvebu: update cpufreq-dt's platform data In-Reply-To: <1425387817-11382-1-git-send-email-leo.yan@linaro.org> References: <1425387817-11382-1-git-send-email-leo.yan@linaro.org> Message-ID: <1425387817-11382-3-git-send-email-leo.yan@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.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 --- 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