From patchwork Mon Apr 9 11:43:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 10331137 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 199426037F for ; Mon, 9 Apr 2018 11:44:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E08028B15 for ; Mon, 9 Apr 2018 11:44:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01A1028B1A; Mon, 9 Apr 2018 11:44:15 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, 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 9B31828B18 for ; Mon, 9 Apr 2018 11:44:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178AbeDILoO (ORCPT ); Mon, 9 Apr 2018 07:44:14 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:38972 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751707AbeDILoO (ORCPT ); Mon, 9 Apr 2018 07:44:14 -0400 Received: by mail-pf0-f195.google.com with SMTP id c78so5650905pfj.6 for ; Mon, 09 Apr 2018 04:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=3otSLEKl/C+PXqkoHwvtv1Pn9utIkw+MVKrnx7/KwOg=; b=byo3VBgm9R3dcFy6OQKqlUoy0R13Wc7v7g/BOKnOgUlKffWZ1MwELvXum+yeN91sJM fJKuJttd/1GZ9k2qNN/2onOrwFb4Hc5R+EajDM0zxZBpRr3IOMm4ctk71HrSAtiLZQd4 3WYdbQMZjigrMifEMFM+2/qYsfEnj0GcA6+4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=3otSLEKl/C+PXqkoHwvtv1Pn9utIkw+MVKrnx7/KwOg=; b=kqaBD98wwTLhnnTT4jz73aaCoDqg8jtUQMDYF/asksTrtU1Mpd+ZOIJHkioTz9a9D9 Gs65oYfJoUjfZcJVV3UVFcEZ3EW57M0NpKYDRV4+Q5V/ky4P93t7TtWwMyb4v5Z5jB7F AgMM3FfiYBnYrcKunOMXw1kxUoa1EBmvn9pR6Q98gB6vVU0rUy+J7m0vTBkaF4pSutMl NS+XiEPQTt1q5XYJ/+XgaAmAl61U7aD7AgYkq/pqa2coS4H+SL4/AaPpf4OUZlUN2/UP a3W9qvtcq3f1wx3rg8jzz7fcCb0+1xCUmzhIH18bzIrBuhk+l0jmkv7ET1pzaAoaTL90 f93A== X-Gm-Message-State: AElRT7FsX0Fdp1peuJHHkdYiouPoLyjlYjL8rCO700hoCvLjdO4xmrEj FSpox79s/zOLJY78YE5aG6sTvw== X-Google-Smtp-Source: AIpwx49xZYp7RWKXxDHMbyVQLITpGGXJrICPljXjVQr4LxNBcMkiNAXwYQay7jC3PZ7IEGns9rBtrA== X-Received: by 10.98.102.131 with SMTP id s3mr28669328pfj.89.1523274253593; Mon, 09 Apr 2018 04:44:13 -0700 (PDT) Received: from localhost ([122.171.228.188]) by smtp.gmail.com with ESMTPSA id q13sm375389pgr.52.2018.04.09.04.44.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 04:44:13 -0700 (PDT) From: Viresh Kumar To: Ulf Hansson , Stephen Boyd , Viresh Kumar , Nishanth Menon , "Rafael J. Wysocki" , Kevin Hilman Cc: Viresh Kumar , Rajendra Nayak , Vincent Guittot , linux-pm@vger.kernel.org, Rob Herring Subject: [PATCH V2 01/11] PM / OPP: dt-bindings: Rename "required-opp" as "required-opps" Date: Mon, 9 Apr 2018 17:13:41 +0530 Message-Id: <85cec966b995393b403d7273ec3abf6f0b0a60d5.1523273291.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This property can contain more than one phandle and it must be named "required-opps" instead. Cc: Rob Herring Suggested-by: Stephen Boyd Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/opp/opp.txt | 2 +- Documentation/devicetree/bindings/power/power_domain.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index 4e4f30288c8b..788052d66c9d 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt @@ -159,7 +159,7 @@ properties. - status: Marks the node enabled/disabled. -- required-opp: This contains phandle to an OPP node in another device's OPP +- required-opps: This contains phandle to an OPP node in another device's OPP table. It may contain an array of phandles, where each phandle points to an OPP of a different device. It should not contain multiple phandles to the OPP nodes in the same OPP table. This specifies the minimum required OPP of the diff --git a/Documentation/devicetree/bindings/power/power_domain.txt b/Documentation/devicetree/bindings/power/power_domain.txt index f3355313c020..4733f76cbe48 100644 --- a/Documentation/devicetree/bindings/power/power_domain.txt +++ b/Documentation/devicetree/bindings/power/power_domain.txt @@ -127,7 +127,7 @@ inside a PM domain with index 0 of a power controller represented by a node with the label "power". Optional properties: -- required-opp: This contains phandle to an OPP node in another device's OPP +- required-opps: This contains phandle to an OPP node in another device's OPP table. It may contain an array of phandles, where each phandle points to an OPP of a different device. It should not contain multiple phandles to the OPP nodes in the same OPP table. This specifies the minimum required OPP of the @@ -175,14 +175,14 @@ with the label "power". compatible = "foo,i-leak-current"; reg = <0x12350000 0x1000>; power-domains = <&power 0>; - required-opp = <&domain0_opp_0>; + required-opps = <&domain0_opp_0>; }; leaky-device1@12350000 { compatible = "foo,i-leak-current"; reg = <0x12350000 0x1000>; power-domains = <&power 1>; - required-opp = <&domain1_opp_1>; + required-opps = <&domain1_opp_1>; }; [1]. Documentation/devicetree/bindings/power/domain-idle-state.txt