From patchwork Thu Apr 20 05:44:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 97712 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp637489qgf; Wed, 19 Apr 2017 22:49:34 -0700 (PDT) X-Received: by 10.99.6.70 with SMTP id 67mr6420236pgg.122.1492667374403; Wed, 19 Apr 2017 22:49:34 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o28si5247361pgc.170.2017.04.19.22.49.34; Wed, 19 Apr 2017 22:49:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1765055AbdDTFtU (ORCPT + 15 others); Thu, 20 Apr 2017 01:49:20 -0400 Received: from mail-io0-f176.google.com ([209.85.223.176]:32960 "EHLO mail-io0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964933AbdDTFpI (ORCPT ); Thu, 20 Apr 2017 01:45:08 -0400 Received: by mail-io0-f176.google.com with SMTP id k87so55508361ioi.0 for ; Wed, 19 Apr 2017 22:45:08 -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=ZQdBNwcBUl4a4N8hT5Zdtr8gRNF3iByk03GSx0/EJGw=; b=MvDxGICCP0Ie/x7acJClD5Xu5x5Os9AHWgwM0DTL5nBKwXAmEPt/pMMCJP0Q1ywvUb J+mDokQICZ64SmMu5v7oSF+keYMwRxMlhSLVNVVf/NfTG/7HUnc8Dks7Bh0g+ZOfzjCQ MEN4i/PBAm2thZdNpz/LsOwGRoB+51Vwb8t3U= 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=ZQdBNwcBUl4a4N8hT5Zdtr8gRNF3iByk03GSx0/EJGw=; b=gh7JbYUWCEqFzsCb+Tmq8q9N2JQvAtKc742C/NX3HtrNDaAr73iQ7ZT2FJkbiV2Q4P jGIMBFh2FNTzpU+SHdTW/L5W5mkjsFzuHmrdHRkmEG4yPF/b+FbgGyHJT06FmnQREJuQ B8q4u2nei1FsOjNDysVV6EWr5jQNArHXz4Hk/k5157rKvf1R3LFkCr7qjU4Aq2mUBqcL FRMgo8fLQTjUwtR99+MUT3SRAaD0q3ATcN5Jk9PbJkCxfa2igKIDfcUTeG+URyTRfgd8 gMpviL+QIirOteThIeAjozY6dNw8ZE/cwuKSX9P3wIwAGKSIDxOTGK1NK/5Y93G2Spww 3RAQ== X-Gm-Message-State: AN3rC/6owrdiA+Ttm7EAD5u+yMiiMdFazxsMtBfCi0HMdHIOvCJPxo7W zX4eQpPVG74JUPBi X-Received: by 10.84.247.9 with SMTP id n9mr8111516pll.119.1492667106836; Wed, 19 Apr 2017 22:45:06 -0700 (PDT) Received: from localhost ([122.172.121.5]) by smtp.gmail.com with ESMTPSA id g22sm7677333pfd.22.2017.04.19.22.45.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 22:45:06 -0700 (PDT) From: Viresh Kumar To: arm@kernel.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Rafael Wysocki , Viresh Kumar , Krzysztof Kozlowski , Masahiro Yamada , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH V4 2/7] ARM: TI: Use - instead of @ for DT OPP entries Date: Thu, 20 Apr 2017 11:14:13 +0530 Message-Id: X-Mailer: git-send-email 2.12.0.432.g71c3a4f4ba37 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 Acked-by: Tony Lindgren --- .../devicetree/bindings/cpufreq/ti-cpufreq.txt | 20 ++++++++++---------- arch/arm/boot/dts/am4372.dtsi | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) -- 2.12.0.432.g71c3a4f4ba37 diff --git a/Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt index ba0e15ad5bd9..0c38e4b8fc51 100644 --- a/Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt +++ b/Documentation/devicetree/bindings/cpufreq/ti-cpufreq.txt @@ -63,64 +63,64 @@ cpu0_opp_table: opp-table { * because they can not be enabled simultaneously on a * single SoC. */ - opp50@300000000 { + opp50-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <950000 931000 969000>; opp-supported-hw = <0x06 0x0010>; opp-suspend; }; - opp100@275000000 { + opp100-275000000 { opp-hz = /bits/ 64 <275000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x01 0x00FF>; opp-suspend; }; - opp100@300000000 { + opp100-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x06 0x0020>; opp-suspend; }; - opp100@500000000 { + opp100-500000000 { opp-hz = /bits/ 64 <500000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x01 0xFFFF>; }; - opp100@600000000 { + opp100-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0x06 0x0040>; }; - opp120@600000000 { + opp120-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0x01 0xFFFF>; }; - opp120@720000000 { + opp120-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0x06 0x0080>; }; - oppturbo@720000000 { + oppturbo-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0x01 0xFFFF>; }; - oppturbo@800000000 { + oppturbo-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0x06 0x0100>; }; - oppnitro@1000000000 { + oppnitro-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <1325000 1298500 1351500>; opp-supported-hw = <0x04 0x0200>; diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 97fcaf415de1..1532ffe1de63 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -60,32 +60,32 @@ cpu0_opp_table: opp_table0 { compatible = "operating-points-v2"; - opp50@300000000 { + opp50-300000000 { opp-hz = /bits/ 64 <300000000>; opp-microvolt = <950000 931000 969000>; opp-supported-hw = <0xFF 0x01>; opp-suspend; }; - opp100@600000000 { + opp100-600000000 { opp-hz = /bits/ 64 <600000000>; opp-microvolt = <1100000 1078000 1122000>; opp-supported-hw = <0xFF 0x04>; }; - opp120@720000000 { + opp120-720000000 { opp-hz = /bits/ 64 <720000000>; opp-microvolt = <1200000 1176000 1224000>; opp-supported-hw = <0xFF 0x08>; }; - oppturbo@800000000 { + oppturbo-800000000 { opp-hz = /bits/ 64 <800000000>; opp-microvolt = <1260000 1234800 1285200>; opp-supported-hw = <0xFF 0x10>; }; - oppnitro@1000000000 { + oppnitro-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <1325000 1298500 1351500>; opp-supported-hw = <0xFF 0x20>;