From patchwork Thu Jun 22 03:45:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 106143 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp2257368qgd; Wed, 21 Jun 2017 20:45:30 -0700 (PDT) X-Received: by 10.84.224.75 with SMTP id a11mr574426plt.85.1498103130074; Wed, 21 Jun 2017 20:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498103130; cv=none; d=google.com; s=arc-20160816; b=BixiPVkl3554c55/htZWSTIaFfrHsczKvvA/k05EFidROao+STJW/krYLpGpHRW97f qcZBmtOmk8ga4R3xfnWo9mFiUTafIs4kLNCi+DLT4Ii3RpkeVkr7+iorylphUMVd7xHX uroBr/8ANT+rpSLutHK6GtaHA6iDq10rJdv6SVvSdkUylE9VP6Y4yK3lE/ilUohd827A 5Uu+d1UfijLvamT9iNVJFW4AgGl5Y0vRX8U1/npsF55gFQEJTD+kxFZUMFmtgerA/X99 UkPRJuTdCpAkJSA8uVdtZqvhQTjClUINuQx6inXBt4xseGMQv3yys+ATjnQreiExKyU1 ln0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Ix8cfq6hxq3BXRJZrtEMX8fKa0McsWzg44ZvOHQV47Q=; b=lkb1uWp4gr3mxWcTabihMYqp/MmkXd8Cbk79M/rPWSmRash+GfdfPVcx+KqskZdvGJ 8WqB/W9YBTTPYHrxEO4x7vnvvSeoJLNxXd40vtVTWHsltSvf8udRPjls/NTFMDk//CIs FzQAOBurrIVzh5PDd1ZQjgVUF77o7lCvtTr0jSFnIMm6G6i0vxiGHXZ1OMef9vgQNRVE ax1PlKMuDyeLbTikWQrXy4mmfaAqNUGqL1yla/0yAsWyzWBNkZXdHFsA+mzHABZZKwQS Bbd9MBRGZh22njlWrw/iBVIzxKOPH4XM42iOykdc/IDA3MnMpmW5EK5hmcoASseTCjlB T9VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=VB8TzorG; 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 s20si237218pgo.427.2017.06.21.20.45.29; Wed, 21 Jun 2017 20:45:30 -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.b=VB8TzorG; 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 S1752062AbdFVDp0 (ORCPT + 14 others); Wed, 21 Jun 2017 23:45:26 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:32921 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751883AbdFVDp0 (ORCPT ); Wed, 21 Jun 2017 23:45:26 -0400 Received: by mail-pf0-f178.google.com with SMTP id e7so2844939pfk.0 for ; Wed, 21 Jun 2017 20:45:25 -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; bh=Ix8cfq6hxq3BXRJZrtEMX8fKa0McsWzg44ZvOHQV47Q=; b=VB8TzorG2ye8A8vHE3Qpo64w0JrzehcFV3N0YXb9GdOnixhUOl3uJwnTBoOkLoG/M4 D9elPjZVOkYMcvdwup0JJoP5Kc7DHgdaZMOZ+C+Bu4lW69LZue/mw59r68otf/Mwjh7H MgP2s64MmNpc+wFNxfwlN2nkz73wF8rKMMVhg= 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; bh=Ix8cfq6hxq3BXRJZrtEMX8fKa0McsWzg44ZvOHQV47Q=; b=RUGYlMT9xTAZMNdcVkBEbxsiVKG3AjDZhhp7m0NjW+hZTKxkCnCjd6l1Ivnpw41N4g xRpyd/pDCz8pyo21DgEZYVqkpw9ZYiyQZ9DFeNDIVi9nrTw314dOsiiAGyzH33Aqc38G 8HObeUgPE8QFAfEcA93Uh/M4viVQo2fstlzoLQ2myWkE5Ejo4loNsPNUQkUS36y0CeU+ WJJXEwrWcs//X+XyK7fXgH0T6g9EV22PDtl1dWtXHSbajTWaoPFm5Do1f/2mePeeV0D9 sK5BmRAd8ePR9vqqnI0LIpjA8RtD5kmm5XkcZBDOfrCq4YBHHSWJ5uPT35+uJSnNqBeK LL2Q== X-Gm-Message-State: AKS2vOypuDFbL59TWux4gNg3XLbuUA6md1Sc+kmOWjISLaUyKISrHfht 2g1Ib0jUP8mn6U6T X-Received: by 10.84.224.8 with SMTP id r8mr569915plj.235.1498103125353; Wed, 21 Jun 2017 20:45:25 -0700 (PDT) Received: from localhost ([122.172.59.234]) by smtp.gmail.com with ESMTPSA id r63sm391769pgr.65.2017.06.21.20.45.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 20:45:23 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar , Nishanth Menon , Stephen Boyd Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Krzysztof Kozlowski , Masahiro Yamada , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V5 Resend] PM / OPP: Use - instead of @ for DT entries Date: Thu, 22 Jun 2017 09:15:11 +0530 Message-Id: <31dd4526b3975260a669494aaaaa19323f6d201d.1498103050.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.13.0.71.gd7076ec9c9cb Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Compiling the DT file with W=1, DTC warns like follows: Warning (unit_address_vs_reg): Node /opp_table0/opp@1000000000 has a unit name, but no reg property Fix this by replacing '@' with '-' as the OPP nodes will never have a "reg" property. Reported-by: Krzysztof Kozlowski Reported-by: Masahiro Yamada Suggested-by: Mark Rutland Signed-off-by: Viresh Kumar Acked-by: Rob Herring Reviewed-by: Stephen Boyd --- @Rafael: You haven't applied it yesterday and I couldn't find it in patchwork anymore, so I am assuming that I need to send it again. Documentation/devicetree/bindings/opp/opp.txt | 38 +++++++++++++-------------- 1 file changed, 19 insertions(+), 19 deletions(-) -- 2.13.0.71.gd7076ec9c9cb diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index 63725498bd20..e36d261b9ba6 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt @@ -186,20 +186,20 @@ Example 1: Single cluster Dual-core ARM cortex A9, switch DVFS states together. compatible = "operating-points-v2"; opp-shared; - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp@1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp@1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; clock-latency-ns = <290000>; @@ -265,20 +265,20 @@ independently. * independently. */ - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp@1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp@1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; opp-microamp = <90000; @@ -341,20 +341,20 @@ DVFS state together. compatible = "operating-points-v2"; opp-shared; - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>; opp-microamp = <70000>; clock-latency-ns = <300000>; opp-suspend; }; - opp@1100000000 { + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-microvolt = <1000000 980000 1010000>; opp-microamp = <80000>; clock-latency-ns = <310000>; }; - opp@1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <1025000>; opp-microamp = <90000>; @@ -367,20 +367,20 @@ DVFS state together. compatible = "operating-points-v2"; opp-shared; - opp@1300000000 { + opp-1300000000 { opp-hz = /bits/ 64 <1300000000>; opp-microvolt = <1050000 1045000 1055000>; opp-microamp = <95000>; clock-latency-ns = <400000>; opp-suspend; }; - opp@1400000000 { + opp-1400000000 { opp-hz = /bits/ 64 <1400000000>; opp-microvolt = <1075000>; opp-microamp = <100000>; clock-latency-ns = <400000>; }; - opp@1500000000 { + opp-1500000000 { opp-hz = /bits/ 64 <1500000000>; opp-microvolt = <1100000 1010000 1110000>; opp-microamp = <95000>; @@ -409,7 +409,7 @@ Example 4: Handling multiple regulators compatible = "operating-points-v2"; opp-shared; - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <970000>, /* Supply 0 */ <960000>, /* Supply 1 */ @@ -422,7 +422,7 @@ Example 4: Handling multiple regulators /* OR */ - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>, /* Supply 0 */ <965000 960000 975000>, /* Supply 1 */ @@ -435,7 +435,7 @@ Example 4: Handling multiple regulators /* OR */ - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <975000 970000 985000>, /* Supply 0 */ <965000 960000 975000>, /* Supply 1 */ @@ -467,7 +467,7 @@ Example 5: opp-supported-hw status = "okay"; opp-shared; - opp@600000000 { + opp-600000000 { /* * Supports all substrate and process versions for 0xF * cuts, i.e. only first four cuts. @@ -478,7 +478,7 @@ Example 5: opp-supported-hw ... }; - opp@800000000 { + opp-800000000 { /* * Supports: * - cuts: only one, 6th cut (represented by 6th bit). @@ -510,7 +510,7 @@ Example 5: opp-supported-hw compatible = "operating-points-v2"; opp-shared; - opp@1000000000 { + opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt-slow = <915000 900000 925000>; opp-microvolt-fast = <975000 970000 985000>; @@ -518,7 +518,7 @@ Example 5: opp-supported-hw opp-microamp-fast = <71000>; }; - opp@1200000000 { + opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt-slow = <915000 900000 925000>, /* Supply vcc0 */ <925000 910000 935000>; /* Supply vcc1 */