From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19BDEC433E0 for ; Thu, 4 Jun 2020 11:54:57 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 96C1820663 for ; Thu, 4 Jun 2020 11:54:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="o9o3JfL1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96C1820663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=csie.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+4703+4520388+8129055@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id p02vYY4521723xtqEbfrA9xA; Thu, 04 Jun 2020 04:54:56 -0700 X-Received: from wens.tw (wens.tw [140.112.30.76]) by mx.groups.io with SMTP id smtpd.web12.6390.1591240764003489231 for ; Wed, 03 Jun 2020 20:19:24 -0700 X-Received: by wens.tw (Postfix, from userid 1000) id C02B75FD21; Thu, 4 Jun 2020 11:19:19 +0800 (CST) From: "Chen-Yu Tsai (Moxa)" To: nobuhiro1.iwamatsu@toshiba.co.jp, pavel@denx.de Cc: Viresh Kumar , cip-dev@lists.cip-project.org, JohnsonCH.Chen@moxa.com, Stephen Boyd , Rob Herring , "Rafael J . Wysocki" , Chen-Yu Tsai Subject: [cip-dev] [4.4.y-cip 04/15] PM / OPP: Remove 'operating-points-names' binding Date: Thu, 4 Jun 2020 11:18:18 +0800 Message-Id: <20200604031829.3254-5-wens@csie.org> In-Reply-To: <20200604031829.3254-1-wens@csie.org> References: <20200604031829.3254-1-wens@csie.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: NIE4KyZjWPAl5Cbyia7AZ0lGx4520388AA= Content-Type: multipart/mixed; boundary="uTm9MsdmofL1G6iQdrat" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1591271696; bh=Qlt35cUOHPFwoqY+zKVoy+SxOfVn67J27dS1pzGk5kQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=o9o3JfL1neyU1KvsmbuvanOdh0c+dyAQquKbV3vuHIFIKCBvkNjOhfH+lSlikmPMiVh qRkuimimnU6sfpE934PIi9SRsqzY3TI3cgdihBDWLQ6SE8lBc5CWoZe0UFD4gtB8LXDQt QGGvHHzX7924wRGRxq4il2WEdrzu1yY4EH4= --uTm9MsdmofL1G6iQdrat Content-Transfer-Encoding: quoted-printable From: Viresh Kumar commit af87a39a5f7cf6ef252b1aec3e2e6508a40e51f1 upstream. 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 Acked-by: Rob Herring Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki Signed-off-by: Chen-Yu Tsai (Moxa) --- Documentation/devicetree/bindings/opp/opp.txt | 62 +------------------ 1 file changed, 2 insertions(+), 60 deletions(-) diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentatio= n/devicetree/bindings/opp/opp.txt index a3e7f0d5e1fb4..24eac9a977494 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-poi= nts-v2" property with phandle to a OPP table in their DT node. The OPP core will use this phan= dle to find the operating points for the device. =20 -Devices may want to choose OPP tables at runtime and so can provide a li= st 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 uni= quely -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-". =20 -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 O= PP - tables. - * OPP Table Node =20 This describes the OPPs belonging to a device. This node can have follow= ing @@ -448,54 +437,7 @@ Example 4: Handling multiple regulators }; }; =20 -Example 5: Multiple OPP tables - -/ { - cpus { - cpu@0 { - compatible =3D "arm,cortex-a7"; - ... - - cpu-supply =3D <&cpu_supply> - operating-points-v2 =3D <&cpu0_opp_table_slow>, <&cpu0_opp_table_fast= >; - operating-points-names =3D "slow", "fast"; - }; - }; - - cpu0_opp_table_slow: opp_table_slow { - compatible =3D "operating-points-v2"; - status =3D "okay"; - opp-shared; - - opp00 { - opp-hz =3D /bits/ 64 <600000000>; - ... - }; - - opp01 { - opp-hz =3D /bits/ 64 <800000000>; - ... - }; - }; - - cpu0_opp_table_fast: opp_table_fast { - compatible =3D "operating-points-v2"; - status =3D "okay"; - opp-shared; - - opp10 { - opp-hz =3D /bits/ 64 <1000000000>; - ... - }; - - opp11 { - opp-hz =3D /bits/ 64 <1100000000>; - ... - }; - }; -}; - -Example 6: opp-supported-hw +Example 5: opp-supported-hw (example: three level hierarchy of versions: cuts, substrate and process= ) =20 / { @@ -540,7 +482,7 @@ Example 6: opp-supported-hw }; }; =20 -Example 7: opp-microvolt-, opp-microamp-: +Example 6: opp-microvolt-, opp-microamp-: (example: device with two possible microvolt ranges: slow and fast) =20 / { --=20 2.27.0.rc0 --uTm9MsdmofL1G6iQdrat Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Links: You receive all messages sent to this group. View/Reply Online (#4703): https://lists.cip-project.org/g/cip-dev/message= /4703 Mute This Topic: https://lists.cip-project.org/mt/74669298/4520388 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/7279483= 98/xyzzy [cip-dev@archiver.kernel.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --uTm9MsdmofL1G6iQdrat--