From patchwork Sat Jun 13 08:40:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 49839 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9C06E228D8 for ; Sat, 13 Jun 2015 08:40:39 +0000 (UTC) Received: by laboh3 with SMTP id oh3sf16645038lab.0 for ; Sat, 13 Jun 2015 01:40:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=p/0hE7Js21CG/qgvnmrN3mCeuFHeATwbdAb5ZRTB154=; b=bIYeHSfYBmB5kfCLbViDylwgQCUJOcfypfm1mBwa3G/C8bGVYpDLbluD1qCtjCdbIf 1bkAauQihX3iwJAXQgxZ4zgGFUQQiYgkT3enfCK/zLRcpYiFf4fPngWEpscpWkjMo4d7 mCyVSooUQoiQkGkXeDIhH7yjldc65iRmZLXEHHvj80sFyivClYDNeKkZokaRb6EWHpXo N1IKaaJ/6dhjrbwLuNWmU8ErJeIBN2k+fu7OcJs9AL78Xn79L3UULX868Dm/h9z0XNqa GfQhil5Hudb+y1GWWfis0dPVCE53mpLK7GJqaWmE9P1lYt/o2GPel5vUP6AyhLOJxCwL IUdA== X-Gm-Message-State: ALoCoQlS7UHHvfQE1RF12hJT7KZP4twyFaz9Gs160y+FrfX8Th6Xm7ZHmaiHGsNA0mY33VVVHquP X-Received: by 10.180.90.106 with SMTP id bv10mr8557522wib.6.1434184838483; Sat, 13 Jun 2015 01:40:38 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.65 with SMTP id lu1ls636694lac.104.gmail; Sat, 13 Jun 2015 01:40:38 -0700 (PDT) X-Received: by 10.152.219.3 with SMTP id pk3mr18652762lac.114.1434184838319; Sat, 13 Jun 2015 01:40:38 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id gk6si5370144lbc.173.2015.06.13.01.40.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jun 2015 01:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lacdj3 with SMTP id dj3so12290221lac.0 for ; Sat, 13 Jun 2015 01:40:37 -0700 (PDT) X-Received: by 10.152.27.1 with SMTP id p1mr18381890lag.112.1434184837762; Sat, 13 Jun 2015 01:40:37 -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 hn6csp170654lbb; Sat, 13 Jun 2015 01:40:36 -0700 (PDT) X-Received: by 10.66.189.104 with SMTP id gh8mr29864323pac.59.1434184835644; Sat, 13 Jun 2015 01:40:35 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ei4si8654264pbb.116.2015.06.13.01.40.34; Sat, 13 Jun 2015 01:40:35 -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 S1751102AbbFMIkb (ORCPT + 11 others); Sat, 13 Jun 2015 04:40:31 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36087 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbbFMIk3 (ORCPT ); Sat, 13 Jun 2015 04:40:29 -0400 Received: by pabqy3 with SMTP id qy3so35064006pab.3 for ; Sat, 13 Jun 2015 01:40:28 -0700 (PDT) X-Received: by 10.70.37.207 with SMTP id a15mr29944929pdk.4.1434184828560; Sat, 13 Jun 2015 01:40:28 -0700 (PDT) Received: from localhost ([122.167.70.98]) by mx.google.com with ESMTPSA id zx1sm5869551pbb.73.2015.06.13.01.40.26 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 13 Jun 2015 01:40:27 -0700 (PDT) Date: Sat, 13 Jun 2015 14:10:23 +0530 From: Viresh Kumar To: Rafael Wysocki , rob.herring@linaro.org Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, arnd.bergmann@linaro.org, nm@ti.com, broonie@kernel.org, mike.turquette@linaro.org, sboyd@codeaurora.org, grant.likely@linaro.org, olof@lixom.net, Sudeep.Holla@arm.com, devicetree@vger.kernel.org, viswanath.puttagunta@linaro.org, l.stach@pengutronix.de, thomas.petazzoni@free-electrons.com, linux-arm-kernel@lists.infradead.org, ta.omasab@gmail.com, kesavan.abhilash@gmail.com, khilman@linaro.org, santosh.shilimkar@oracle.com Subject: Re: [PATCH V7 3/3] OPP: Add binding for 'opp-suspend' Message-ID: <20150613084023.GA4203@linux> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: viresh.kumar@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.49 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: , On 04-06-15, 21:50, Viresh Kumar wrote: > + opp-suspend = <&suspend_opp>; > - opp00 { > + suspend-opp: opp00 { Minor nit, s/suspend-opp/suspend_opp and here is updated patch From: Viresh Kumar Date: Wed, 20 May 2015 08:27:49 +0530 Subject: [PATCH V8] OPP: Add binding for 'opp-suspend' On few platforms, for power efficiency, we want the device to be configured for a specific OPP while we put the device in suspend state. Add an optional property in operating-points-v2 bindings for that. Acked-by: Nishanth Menon Suggested-by: Nishanth Menon Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/power/opp.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/power/opp.txt b/Documentation/devicetree/bindings/power/opp.txt index 2938c52dbf84..29f115d26f7d 100644 --- a/Documentation/devicetree/bindings/power/opp.txt +++ b/Documentation/devicetree/bindings/power/opp.txt @@ -74,6 +74,8 @@ This describes the OPPs belonging to a device. This node can have following Missing property means devices have independent clock/voltage/current lines, but they share OPP tables. +- opp-suspend: Phandle of the OPP to set while device is suspended. + * OPP Node @@ -145,9 +147,10 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together. cpu0_opp_table: opp_table0 { compatible = "operating-points-v2"; + opp-suspend = <&suspend_opp>; opp-shared; - opp00 { + suspend_opp: opp00 { opp-hz = <1000000000>; opp-microvolt = <970000 975000 985000>; opp-microamp = <70000>; @@ -219,13 +222,14 @@ independently. cpu_opp_table: opp_table { compatible = "operating-points-v2"; + opp-suspend = <&suspend_opp>; /* * Missing opp-shared property means CPUs switch DVFS states * independently. */ - opp00 { + suspend_opp: opp00 { opp-hz = <1000000000>; opp-microvolt = <970000 975000 985000>; opp-microamp = <70000>; @@ -298,9 +302,10 @@ DVFS state together. cluster0_opp: opp_table0 { compatible = "operating-points-v2"; + opp-suspend = <&suspend_opp0>; opp-shared; - opp00 { + suspend_opp: opp00 { opp-hz = <1000000000>; opp-microvolt = <970000 975000 985000>; opp-microamp = <70000>; @@ -323,9 +328,10 @@ DVFS state together. cluster1_opp: opp_table1 { compatible = "operating-points-v2"; + opp-suspend = <&suspend_opp1>; opp-shared; - opp10 { + suspend_opp: opp10 { opp-hz = <1300000000>; opp-microvolt = <1045000 1050000 1055000>; opp-microamp = <95000>;