From patchwork Sat Jun 27 03:02:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 50397 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F01C8228FD for ; Sat, 27 Jun 2015 03:03:30 +0000 (UTC) Received: by wgjx7 with SMTP id x7sf9468130wgj.3 for ; Fri, 26 Jun 2015 20:03:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=gVahsKm9bCfTh7nA0IkrwikHhs4PECS7f7FRUduSoJw=; b=NYMvERGPaocmBMflcxLsn2IwJDOpqAEozL5/SRGVDrFbSibwP6bZWBT37u0fC5G/Ra /i0ulDUNulFR+4W3RnJSGViqOkkSl4hrpappcyPwPbyO7wje9zmulXD8b7AJs3eO2pD5 DpZSBszUl+Wm7XQqKg+IgnVGcpygxtZ9gEswHaLPavRzsPgshWxLToMNnr8Qut72WdOc xPP+OEB4K/dXV927yMv0WI3mjJ0YPrRwxdB/d+NsEMOj8NghjRzcOPBbN/wPRFTyalGK rwJV2XFu8MswZkJR4klsXlB3yo0PKxWSc9K9NTaGuH/F8TSai+L/mbxUdDYh2u6Kd7OT W0zA== X-Gm-Message-State: ALoCoQlr4j1r6M7C3WiKDor2i9zKdwCPhCnNzNged8D6pILHQJKf2fGSlVG3H1oYScrCFWYRSVd0 X-Received: by 10.152.8.9 with SMTP id n9mr332029laa.1.1435374210215; Fri, 26 Jun 2015 20:03:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.34 with SMTP id n2ls555764laj.15.gmail; Fri, 26 Jun 2015 20:03:29 -0700 (PDT) X-Received: by 10.112.124.164 with SMTP id mj4mr4300223lbb.3.1435374209790; Fri, 26 Jun 2015 20:03:29 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id n10si28969120lah.93.2015.06.26.20.03.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2015 20:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lagh6 with SMTP id h6so2721038lag.2 for ; Fri, 26 Jun 2015 20:03:29 -0700 (PDT) X-Received: by 10.152.42.177 with SMTP id p17mr4280389lal.29.1435374209701; Fri, 26 Jun 2015 20:03:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp295344lbb; Fri, 26 Jun 2015 20:03:28 -0700 (PDT) X-Received: by 10.70.101.3 with SMTP id fc3mr9257272pdb.167.1435374191484; Fri, 26 Jun 2015 20:03:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay3si53186466pbc.54.2015.06.26.20.03.10; Fri, 26 Jun 2015 20:03:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbbF0DDJ (ORCPT + 11 others); Fri, 26 Jun 2015 23:03:09 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34388 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752659AbbF0DDI (ORCPT ); Fri, 26 Jun 2015 23:03:08 -0400 Received: by pabvl15 with SMTP id vl15so77504826pab.1 for ; Fri, 26 Jun 2015 20:03:08 -0700 (PDT) X-Received: by 10.70.42.233 with SMTP id r9mr9225065pdl.140.1435374188002; Fri, 26 Jun 2015 20:03:08 -0700 (PDT) Received: from ubuntu.localdomain (c-24-8-37-141.hsd1.co.comcast.net. [24.8.37.141]) by mx.google.com with ESMTPSA id j7sm34787756pdp.83.2015.06.26.20.03.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jun 2015 20:03:07 -0700 (PDT) From: Lina Iyer To: rjw@rjwysocki.net, ulf.hansson@linaro.org, khilman@linaro.org Cc: geert@linux-m68k.org, k.kozlowski@samsung.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, msivasub@codeaurora.org, agross@codeaurora.org, Lina Iyer Subject: [PATCH RFC v2 15/16] arm: dts: Add power domain device bindings for APQ8084 Date: Fri, 26 Jun 2015 21:02:35 -0600 Message-Id: <1435374156-19214-16-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1435374156-19214-1-git-send-email-lina.iyer@linaro.org> References: <1435374156-19214-1-git-send-email-lina.iyer@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lina.iyer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Define L2 SAW as the power domain provider and individual cpus are the power domain consumers. Signed-off-by: Lina Iyer --- arch/arm/boot/dts/qcom-apq8084.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi index 900ef1f..4a61f8d 100644 --- a/arch/arm/boot/dts/qcom-apq8084.dtsi +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi @@ -23,6 +23,7 @@ qcom,acc = <&acc0>; qcom,saw = <&saw0>; cpu-idle-states = <&CPU_SPC>; + power-domains = <&saw_l2>; }; cpu@1 { @@ -34,6 +35,7 @@ qcom,acc = <&acc1>; qcom,saw = <&saw1>; cpu-idle-states = <&CPU_SPC>; + power-domains = <&saw_l2>; }; cpu@2 { @@ -45,6 +47,7 @@ qcom,acc = <&acc2>; qcom,saw = <&saw2>; cpu-idle-states = <&CPU_SPC>; + power-domains = <&saw_l2>; }; cpu@3 { @@ -56,6 +59,7 @@ qcom,acc = <&acc3>; qcom,saw = <&saw3>; cpu-idle-states = <&CPU_SPC>; + power-domains = <&saw_l2>; }; L2: l2-cache { @@ -183,9 +187,11 @@ }; saw_l2: power-controller@f9012000 { - compatible = "qcom,apq8084-saw2-v2.1-l2", "qcom,saw2"; + compatible = "qcom,apq8084-saw2-v2.1-l2", "qcom,saw2", + "arm,pd"; reg = <0xf9012000 0x1000>; regulator; + #power-domain-cells = <0>; }; acc0: clock-controller@f9088000 {