From patchwork Wed Aug 24 13:48:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Jackman X-Patchwork-Id: 9297871 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C8E94607F0 for ; Wed, 24 Aug 2016 13:49:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BABF028FC5 for ; Wed, 24 Aug 2016 13:49:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF8CD28FDE; Wed, 24 Aug 2016 13:49:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D97828FC5 for ; Wed, 24 Aug 2016 13:49:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753607AbcHXNtm (ORCPT ); Wed, 24 Aug 2016 09:49:42 -0400 Received: from foss.arm.com ([217.140.101.70]:48500 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753014AbcHXNtk (ORCPT ); Wed, 24 Aug 2016 09:49:40 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6E419BA9; Wed, 24 Aug 2016 06:50:23 -0700 (PDT) Received: from brendan-thinkstation.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0A4413F32C; Wed, 24 Aug 2016 06:48:41 -0700 (PDT) From: Brendan Jackman To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net Cc: andy.gross@linaro.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, Axel Haslam , devicetree@vger.kernel.org, Marc Titinger , Lina Iyer , Lorenzo Pieralisi , Sudeep Holla Subject: [RFC 5/6] arm64: dts: Add Juno r0 CPU power domain tree Date: Wed, 24 Aug 2016 14:48:21 +0100 Message-Id: <20160824134822.3591-6-brendan.jackman@arm.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160824134822.3591-1-brendan.jackman@arm.com> References: <1470351902-43103-3-git-send-email-lina.iyer@linaro.org> <20160824134822.3591-1-brendan.jackman@arm.com> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP --- arch/arm64/boot/dts/arm/juno.dts | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts index a7270ef..4e086ec 100644 --- a/arch/arm64/boot/dts/arm/juno.dts +++ b/arch/arm64/boot/dts/arm/juno.dts @@ -90,6 +90,7 @@ next-level-cache = <&A57_L2>; clocks = <&scpi_dvfs 0>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A57_0_PD>; }; A57_1: cpu@1 { @@ -100,6 +101,7 @@ next-level-cache = <&A57_L2>; clocks = <&scpi_dvfs 0>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A57_1_PD>; }; A53_0: cpu@100 { @@ -110,6 +112,7 @@ next-level-cache = <&A53_L2>; clocks = <&scpi_dvfs 1>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A53_0_PD>; }; A53_1: cpu@101 { @@ -120,6 +123,7 @@ next-level-cache = <&A53_L2>; clocks = <&scpi_dvfs 1>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A53_1_PD>; }; A53_2: cpu@102 { @@ -130,6 +134,7 @@ next-level-cache = <&A53_L2>; clocks = <&scpi_dvfs 1>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A53_2_PD>; }; A53_3: cpu@103 { @@ -140,6 +145,7 @@ next-level-cache = <&A53_L2>; clocks = <&scpi_dvfs 1>; cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; + power-domains = <&A53_3_PD>; }; A57_L2: l2-cache0 { @@ -151,6 +157,47 @@ }; }; + power-domains { + CLUSTER_A57_PD: cluster-a57-pd { + #power-domain-cells = <0>; + }; + + A57_0_PD: a57-pd@0 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A57_PD>; + }; + + A57_1_PD: a57-pd@1 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A57_PD>; + }; + + + CLUSTER_A53_PD: cluster-a53-pd { + #power-domain-cells = <0>; + }; + + A53_0_PD: a53-pd@0 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A53_PD>; + }; + + A53_1_PD: a53-pd@1 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A53_PD>; + }; + + A53_2_PD: a53-pd@2 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A53_PD>; + }; + + A53_3_PD: a53-pd@3 { + #power-domain-cells = <0>; + power-domains = <&CLUSTER_A53_PD>; + }; + }; + pmu_a57 { compatible = "arm,cortex-a57-pmu"; interrupts = ,