From patchwork Thu Dec 21 21:44:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 122600 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1442694qgn; Thu, 21 Dec 2017 13:45:01 -0800 (PST) X-Google-Smtp-Source: ACJfBovgnxR3VVCq7gysnvWUq7/cKW2+mOHErnQGaFe//Ni+wnGI+xz6R5581Y8rJmcuBqor78gt X-Received: by 10.101.93.8 with SMTP id e8mr10736206pgr.214.1513892701794; Thu, 21 Dec 2017 13:45:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513892701; cv=none; d=google.com; s=arc-20160816; b=r48/bFQSUJDOQgl3wYtODmCmaA76ONLGsurBPaBQJskX/Ts/K+E0lGaN/RcvA7RiNS VbVkewfKMrArrS2FHepR1ySnq8ipw7RPvTpIUJGyfY/RdEGvFir2yH4xKZcK4SgW7Fe6 RprKDE0AU25TAc14opdwBVIu9W0QoL5PUl87VSTtZkfWs6l8/jfLgqaMiLxmSGNuh7iX ewb1VzZeFkH9r6tYmhc+OcZwKC69iWaXndbWN886Jv/P4s7F5id5KS3nr+xeosbEAR6Z YcoQIJIslBCzWok0qrSey/VpXIF+LkwwpEaMJQicBoH8mtKfF/m8IPk63kMKUyM5XgsU 6LIg== 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 :arc-authentication-results; bh=X44mxF25Mqwi1R09f/cJPB7Kis38m7VTzZ/Y5T/2UXo=; b=MbRaynX86BlK3MDDs8HVR1y6MaeU5j9rENxV230sM3vLFjrk4tfndEmJgF7HrIANV+ Dkr/mCNOqBLv2MkLLImbi1IqxczBZUJQ9032+9JhVe8rqbaCb6xyxAOlNRcpdbDoylmR CQ6tagFQOO70AfY7nbT5GK4drYHcrfwS+kLnIVU6lhwIBwDe58bTtSjJxIH/iMtPVuaN cPUoM0ERH+9pSGq5PKLwx0aJLWURMbykIqkzV5pHg6gl7kkHKYPWGnjXjmmU9tvEw3N7 awoS3R7ex5e901XkHSfSiFAF6FPvvoSVFJOxvJIlxPopcZPzw9J0NMHVD9HRFw6qmI8p npRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si15166125plh.804.2017.12.21.13.45.01; Thu, 21 Dec 2017 13:45:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755562AbdLUVpA (ORCPT + 6 others); Thu, 21 Dec 2017 16:45:00 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:62481 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755174AbdLUVo7 (ORCPT ); Thu, 21 Dec 2017 16:44:59 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lg0Wh-1ems5C2sGJ-00pcsm; Thu, 21 Dec 2017 22:44:33 +0100 From: Arnd Bergmann To: Shawn Guo Cc: Jingchang Lu , Arnd Bergmann , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: ls1021a: fix incorrect clock references Date: Thu, 21 Dec 2017 22:44:20 +0100 Message-Id: <20171221214432.3658852-1-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3dglQaqu2FL3pu65tf77aB+fn0T4P984LM1QrQDbTqlnE= Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org dtc warns about two 'clocks' properties that have an extraneous '1' at the end: arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a:clocks[1]) Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2190000/sgtl5000@a arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2190000/sgtl5000@a:clocks[1]) The clocks that get referenced here are fixed-rate, so they do not take any argument, and dtc interprets the next cell as a phandle, which is invalid. Signed-off-by: Arnd Bergmann --- arch/arm/boot/dts/ls1021a-qds.dts | 2 +- arch/arm/boot/dts/ls1021a-twr.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index 940875316d0f..67b4de0e3439 100644 --- a/arch/arm/boot/dts/ls1021a-qds.dts +++ b/arch/arm/boot/dts/ls1021a-qds.dts @@ -215,7 +215,7 @@ reg = <0x2a>; VDDA-supply = <®_3p3v>; VDDIO-supply = <®_3p3v>; - clocks = <&sys_mclk 1>; + clocks = <&sys_mclk>; }; }; }; diff --git a/arch/arm/boot/dts/ls1021a-twr.dts b/arch/arm/boot/dts/ls1021a-twr.dts index a8b148ad1dd2..44715c8ef756 100644 --- a/arch/arm/boot/dts/ls1021a-twr.dts +++ b/arch/arm/boot/dts/ls1021a-twr.dts @@ -187,7 +187,7 @@ reg = <0x0a>; VDDA-supply = <®_3p3v>; VDDIO-supply = <®_3p3v>; - clocks = <&sys_mclk 1>; + clocks = <&sys_mclk>; }; };