From patchwork Thu Oct 31 19:18:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 3121811 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CFE809F466 for ; Thu, 31 Oct 2013 19:18:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 126EA20453 for ; Thu, 31 Oct 2013 19:24:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2109420437 for ; Thu, 31 Oct 2013 19:24:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755432Ab3JaTYb (ORCPT ); Thu, 31 Oct 2013 15:24:31 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:46698 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755428Ab3JaTYb (ORCPT ); Thu, 31 Oct 2013 15:24:31 -0400 Received: from lunn by vps0.lunn.ch with local (Exim 4.80) (envelope-from ) id 1VbxlT-0006zd-7Y; Thu, 31 Oct 2013 20:18:43 +0100 From: Andrew Lunn To: Sebastian Hesselbarth , Jason Cooper , rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, linux ARM , Andrew Lunn Subject: [PATCH v3 4/4] mvebu: Dove: Add clocks and DFS interrupt to cpu node in DT. Date: Thu, 31 Oct 2013 20:18:31 +0100 Message-Id: <1383247111-26834-4-git-send-email-andrew@lunn.ch> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1383247111-26834-1-git-send-email-andrew@lunn.ch> References: <1383247111-26834-1-git-send-email-andrew@lunn.ch> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 The dove-cpufreq driver needs access to the DDR and CPU clock. There is also an interrupt generated when the DFS hardware completes a change of frequencey. Add these to the cpu node in DT. Signed-off-by: Andrew Lunn Tested-by: Sebastian Hesselbarth --- arch/arm/boot/dts/dove.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 1fd615d27532..e96d7a6a2fb8 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -19,6 +19,10 @@ device_type = "cpu"; next-level-cache = <&l2>; reg = <0>; + clocks = <&core_clk 1>, <&core_clk 3>; + clock-names = "cpu_clk", "ddrclk"; + interrupt-parent = <&pmu_intc>; + interrupts = <0>; }; };