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: 133025 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp168104ljb; Mon, 9 Apr 2018 04:44:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+2nLpYpdvxzQGAFt2yN70z6fqnOydY2U7/8032BnM8EfdzFiu6mQ59XtWKc1rhx5W3fjZ6 X-Received: by 10.99.140.14 with SMTP id m14mr25438521pgd.320.1523274255767; Mon, 09 Apr 2018 04:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523274255; cv=none; d=google.com; s=arc-20160816; b=k64Ruce+aiN+mSzF7SfJ3L8KZ39ioO+48XgfaRTj/wOvdQSH+JLKWJgP29Uoc+BrYB aGQ/R1aj2M1uvpQZRy5B7K20shq4oLah5A5Y84AYiuMC2lFWpiflg31pF6zsER+aXyji 4hpF3rZc1J0yqriEfpTL6kOSNvXruft5VrK9MXwlzEb7k1TdSY3AlKHmFTerNfuALogj MPjb2mV+Q29XRs/3n71c3kycwwvaUtH8W9D+HwL3SPfRQQuBYVH4J89zYLvR9MUlOGDT hSnWg3eXvDP5kN3YvwWTLuzm/WGEA0b5hLuu+KM1bjlYMmVeXYjwRyQ0YT1cFZ3atEgN L1gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=3otSLEKl/C+PXqkoHwvtv1Pn9utIkw+MVKrnx7/KwOg=; b=UOlS+usVqI/jXn3CuI1gN9S61BQdP8sTzsBWe9zyT3DD2p17BR456SlSwmbRM/gQhG 97IdlLtO3F0g1Kv5zeRoZ8qxAnCPBtxoYIqOpPUvapUemCOxTOPqdRCY5zxRsQfB1WeJ or1nvdioQjdKqQ/ysmiBmc7aN+2Iwvn1l30+v3lBtrO/aGgNJ155NviK6tCu6Ypi2l4K 9/9GEsSHZG9JqMV7pMDG7Dk51HJasKqc+cUcONMZXCZvP08DKQCJ3OO74ru0q9wkjFy/ Z2SkFu2OvverwozI77I31HWtWEymC1tR1yiYH15KhBA2kSS2s8Tsu/J/4rfaOSlkfwI/ Tgfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=byo3VBgm; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j188si105815pgc.584.2018.04.09.04.44.15; Mon, 09 Apr 2018 04:44:15 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=byo3VBgm; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752178AbeDILoO (ORCPT + 11 others); 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-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 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 --- Documentation/devicetree/bindings/opp/opp.txt | 2 +- Documentation/devicetree/bindings/power/power_domain.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.15.0.194.g9af6a3dea062 Reviewed-by: Ulf Hansson Reviewed-by: Rob Herring 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