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: 5922451 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7A81EBF440 for ; Tue, 3 Mar 2015 13:06:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8EDE3202BE for ; Tue, 3 Mar 2015 13:06:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B562820225 for ; Tue, 3 Mar 2015 13:06:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YSmV6-0000Xk-GT; Tue, 03 Mar 2015 13:04:40 +0000 Received: from mail-pd0-f173.google.com ([209.85.192.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YSmUh-0000JU-Gq for linux-arm-kernel@lists.infradead.org; Tue, 03 Mar 2015 13:04:15 +0000 Received: by pdbfl12 with SMTP id fl12so17115674pdb.9 for ; Tue, 03 Mar 2015 05:03:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E/vvkEhlL0vzFXqh2sJIMpYGm7SA4oEMhKrwavnqZ8U=; b=lqbucpNMwy3TlY1xBNNBVEVdZffyN7JQbLK1o+PGByGcrOXjAWyIRQuxNfArdg5D/0 lNnlM5tuXw61W4Fj9voRk8PgY27ZM853FMeHfDYaTzpJtEJ7XP/AlDfclurk7hNGtify cmJsci869XMoB93URfGKt+b564+dp5TlFYKEKiaYlY7RSbgMB+frGSHwiLfIMYEDmZet oLPbBvLTIvz7IbNU6tSn6vj3lkSoJCwkTejeLJQ9MwXOcRz1Mwu3sYrcY1WI5avG7IOS cCOeFjWuC0dsGQ5p02yUEnCvjetKL6rQZuW1mzvuvJHGy1uhNmLIMarjXApA59OlHPJc 641g== X-Gm-Message-State: ALoCoQlJwZ+2DkADkKlO9DMpCUUXdNNksn6KhOj2U0GIXHI+0VqayTie6DUnPMsYtnCJeHGSEBNc 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150303_050415_600206_40CB1155 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Leo Yan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)