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: 5922421 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 187F79F380 for ; Tue, 3 Mar 2015 13:04:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A6FA20265 for ; Tue, 3 Mar 2015 13:04:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9770B20222 for ; Tue, 3 Mar 2015 13:04:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751477AbbCCNEM (ORCPT ); Tue, 3 Mar 2015 08:04:12 -0500 Received: from mail-pd0-f179.google.com ([209.85.192.179]:42323 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755941AbbCCNDy (ORCPT ); Tue, 3 Mar 2015 08:03:54 -0500 Received: by pdbfl12 with SMTP id fl12so17115656pdb.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=PRJ9cItMeq89gCVmoE8BXu6V3S8VgZcqjR7SP/qsUpfhy+tF9+2XGhNei1QaOsjQJ7 Z9Te6LK4lq9zXyRdRjp9F6HgHaxa9Ag3ZijukFrszl9MjWOt/QNKPGA87EGOcTXPwCq/ QZHpCxcXi99Lc2gMx7YCSxW3cGDnlOrIqLFnvYT9KCp31AtPM+TqmpZS80S72FrPMzjU 941pb5RSQy/wnu7Ezh2JY+qZw6Lzh0YFiU9GGyYbm/XCISbSsAijae8lPnKk0g3U+kEk pbAFZeDh7fvZOsSxlCydR66msGb2q7vP24iSY8DxPDXZgfLRyzUjwbonBTpG96DuAkCW Mp3w== X-Gm-Message-State: ALoCoQncuyhHmJ/4ZKIJEZYWSW4oBxpnOoJIoGf59H6vSuZBUJtXS4RUkw4xjS0Cq9X7+N3wWQVG 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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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)