From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031870AbbKEDJl (ORCPT ); Wed, 4 Nov 2015 22:09:41 -0500 Received: from mail.kernel.org ([198.145.29.136]:35865 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030726AbbKEDJj (ORCPT ); Wed, 4 Nov 2015 22:09:39 -0500 Date: Wed, 4 Nov 2015 21:09:33 -0600 From: Rob Herring To: Viresh Kumar Cc: Rafael Wysocki , robh+dt@kernel.org, sboyd@codeaurora.org, lee.jones@linaro.org, linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, mark.rutland@arm.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, nm@ti.com, devicetree@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, open list , "Rafael J. Wysocki" Subject: Re: [PATCH V2 3/5] PM / OPP: Remove 'operating-points-names' binding Message-ID: <20151105030933.GA26677@rob-hp-laptop> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 05, 2015 at 07:11:54AM +0530, Viresh Kumar wrote: > These aren't used until now by any DT files and wouldn't be used now as > we have a better scheme in place now, i.e. opp-property- > properties. > > Remove the (useless) binding without breaking ABI. > > Reviewed-by: Stephen Boyd > Signed-off-by: Viresh Kumar Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/opp/opp.txt | 62 +-------------------------- > 1 file changed, 2 insertions(+), 60 deletions(-) > > diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt > index 61c6f25cf8e2..30c4bb3718bc 100644 > --- a/Documentation/devicetree/bindings/opp/opp.txt > +++ b/Documentation/devicetree/bindings/opp/opp.txt > @@ -45,21 +45,10 @@ Devices supporting OPPs must set their "operating-points-v2" property with > phandle to a OPP table in their DT node. The OPP core will use this phandle to > find the operating points for the device. > > -Devices may want to choose OPP tables at runtime and so can provide a list of > -phandles here. But only *one* of them should be chosen at runtime. This must be > -accompanied by a corresponding "operating-points-names" property, to uniquely > -identify the OPP tables. > - > If required, this can be extended for SoC vendor specfic bindings. Such bindings > should be documented as Documentation/devicetree/bindings/power/-opp.txt > and should have a compatible description like: "operating-points-v2-". > > -Optional properties: > -- operating-points-names: Names of OPP tables (required if multiple OPP > - tables are present), to uniquely identify them. The same list must be present > - for all the CPUs which are sharing clock/voltage rails and hence the OPP > - tables. > - > * OPP Table Node > > This describes the OPPs belonging to a device. This node can have following > @@ -454,54 +443,7 @@ Example 4: Handling multiple regulators > }; > }; > > -Example 5: Multiple OPP tables > - > -/ { > - cpus { > - cpu@0 { > - compatible = "arm,cortex-a7"; > - ... > - > - cpu-supply = <&cpu_supply> > - operating-points-v2 = <&cpu0_opp_table_slow>, <&cpu0_opp_table_fast>; > - operating-points-names = "slow", "fast"; > - }; > - }; > - > - cpu0_opp_table_slow: opp_table_slow { > - compatible = "operating-points-v2"; > - status = "okay"; > - opp-shared; > - > - opp00 { > - opp-hz = /bits/ 64 <600000000>; > - ... > - }; > - > - opp01 { > - opp-hz = /bits/ 64 <800000000>; > - ... > - }; > - }; > - > - cpu0_opp_table_fast: opp_table_fast { > - compatible = "operating-points-v2"; > - status = "okay"; > - opp-shared; > - > - opp10 { > - opp-hz = /bits/ 64 <1000000000>; > - ... > - }; > - > - opp11 { > - opp-hz = /bits/ 64 <1100000000>; > - ... > - }; > - }; > -}; > - > -Example 6: opp-supported-hw > +Example 5: opp-supported-hw > (example: three level hierarchy of versions: cuts, substrate and process) > > / { > @@ -546,7 +488,7 @@ Example 6: opp-supported-hw > }; > }; > > -Example 7: opp-microvolt-, opp-microamp-, turbo-mode-, > +Example 6: opp-microvolt-, opp-microamp-, turbo-mode-, > opp-suspend-: > (example: device with two possible microvolt ranges: slow and fast) > > -- > 2.6.2.198.g614a2ac >