From patchwork Wed Jan 10 21:06:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 124136 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5751304qgn; Wed, 10 Jan 2018 13:07:40 -0800 (PST) X-Google-Smtp-Source: ACJfBotJfov2mCj6P0aDSdH9ACLsavV0/pImzwtY9TbxhlqllFCPwOQtoaopTQleV4A4F9Xcjg1V X-Received: by 10.99.183.76 with SMTP id w12mr1740879pgt.331.1515618460671; Wed, 10 Jan 2018 13:07:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515618460; cv=none; d=google.com; s=arc-20160816; b=ZZCnYAYAZlxXUCRcN974JijT2dgpzmZq+GQzLH8oS3x6nx6D+dIAf0ZG41zQRgnPla EuGwp3RPUc23R/yMSPn/Azq3ycSt9AeP9kzec4mgib8S9K1oPWqcjmf6bziFIjVUpfaI J/gF8hPmVo8LvL9sfNsVoZYQc9WR/facDKM/cblAfqupFXDdxu1VA5gUt6Ho6rJJSz7T MmSPbi3ICC+q1dDHMRhwEFcA0PV6iHpZe9EDcnxTJ6/XGb/99hiqqBye4LjDCIlLmhpC D7t9asOnBvsLmK7ySpapOvOCIk8pV1REMgD6SEB/Zpfq7B4GwgSpXKDCsCXKYuFCo/yt PmsQ== 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=aLZnL/QNj/TjAlKpYWBW0fUfb7/540Sd+XQGyXEeBu4=; b=GHS3zCIoDc9mDaiaG8o3aUTb4eAQogJVxUvZDgypK9hjAUBOil1hX2oKjFpMfuAOus lyGyMwHnb2jafIfk7V4VLh/0oLM7v2k7Zr0ExxL1Urtee4Wj0PEIeuWcO5LOZG5vx+am RolY1z/62A7ebpa+ut5idBF3F6LIZDh5Db4BK3xRrPOyXLdPJxTlrkiX5EQKuiq+/qKj NhwUmV+m4Dm67ciY1BWvGZtNbl08sxH+BrfL1u9i5bPc65Fd7DqeUk3GsG0DnuGgviNo 9Acn13ughcln1vqpfeU0sXqKNoI/HrGlIMg/Whjca+8UNXt4scj15LHvheW5zMbsDszt /cbg== 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 i1si351784pgq.829.2018.01.10.13.07.40; Wed, 10 Jan 2018 13:07:40 -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 S1752666AbeAJVHj (ORCPT + 6 others); Wed, 10 Jan 2018 16:07:39 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:56038 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752700AbeAJVHh (ORCPT ); Wed, 10 Jan 2018 16:07:37 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lmc9z-1f8AVZ3iC3-00aEvk; Wed, 10 Jan 2018 22:07:11 +0100 From: Arnd Bergmann To: Matthias Brugger Cc: arm@kernel.org, Arnd Bergmann , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Chunfeng Yun , Daniel Kurtz , Andrew-sh Cheng , Chaotian Jing , "dawei.chien@mediatek.com" , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: add #cooling-cells to CPU nodes Date: Wed, 10 Jan 2018 22:06:48 +0100 Message-Id: <20180110210706.2331225-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Fy6Pv96VXQhon1AvXOSkV8M5qJnChHY3cmEWp/m43b1RiWU380s kixzlNgz4RANulfH+HYCFD0F3FBoKBqxzYP6eKTDBHO3mktCr2st12IoNDArrjPgDKZpyGt LfPd1wvZxnxINxwn/woITN8RHkEkMFsZ4S88/9LvRqv6Cjnhq3PkhF7s4uMJ/dNDTP6No7o TKawPwt6AZ44lRoHjOHxQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:Vf589V5bYQU=:371HgG7OyIe6j+hiZyprIr 2RCwyypcypC2WPu51MmUafQT0eFyVV5POJNFUCumWZTb4B6z+wntYJD+c+Mb7+4woia0ukt/s P8WoSmGTgFK1dWv0cSytT75bNwfxy7ujkhvVbG0+LdTI7TwA8SM6/PImU8V7md9CvLHIcoOUf cb00pG+HCusyQWc0YHJCgjAJMwHwMteplVOntqhd/e6z/VqB9qvimBDAkoziwgUSH3wxoP+si 8T79xiNJoou9sotVzTXQE+EborNq5T3uYpqmxEp9BI1rsw9k9/TwHyRrivmyDavHGFgPSTxp2 NHm+VagzMuEQ3NPhGg7mexgRSTIdhj7mOLABUluGlaI7PpZXZAdfWHh9GBjlM03ZKDNKZzV5k 98UlFQtnbdBNENnJsQTVO//6JzWA/zLOztsawcNxZ6AYP+tUIqHwG40I6jRPVVw7uJNDTzHqc DFJsSALiJzT7vGgstKhMIPhlAk8rZO4ojx1OBGXBMECoWAvRGMvK7zoYmmmNrh2WLiG1RM3l6 Apja8N3fW5KO3y+29jF4hWOL+ytV9VtgMxidPRKgZDykph4vOZlRwO/7zKYlC0+VrIrbg7Gxi llAw1yhcHWAB/y3JXs0Qq8WSYbIwUta7SR3LGHXIu9k/NU8IyJHvPqGg7e56R/U4DMjQ1+07K CHPAlzdxmN1qvvqdx8Y6m9p1KKMP881y8MGtlZwePQ9yXQt1kQ274qdklGtpbc2BG0O36MPcy rBye502f8ahzhVuGTu5Kaw0lKtSXReemZe8kDQ== Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org dtc complains about the lack of #coolin-cells properties for the CPU nodes that are referred to as "cooling-device": arch/arm64/boot/dts/mediatek/mt8173-evb.dtb: Warning (cooling_device_property): Missing property '#cooling-cells' in node /cpus/cpu@0 or bad phandle (referred from /thermal-zones/cpu_thermal/cooling-maps/map@0:cooling-device[0]) arch/arm64/boot/dts/mediatek/mt8173-evb.dtb: Warning (cooling_device_property): Missing property '#cooling-cells' in node /cpus/cpu@100 or bad phandle (referred from /thermal-zones/cpu_thermal/cooling-maps/map@1:cooling-device[0]) Apparently this property must be '<2>' to match the binding. Signed-off-by: Arnd Bergmann --- If this looks ok, I'd apply it directly to the fixes branch for 4.15, as the warning is one that was introduced in this release. --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 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 Tested-by: Chunfeng Yun diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index b477ad790071..9fbe4705ee88 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -155,6 +155,7 @@ reg = <0x000>; enable-method = "psci"; cpu-idle-states = <&CPU_SLEEP_0>; + #cooling-cells = <2>; clocks = <&infracfg CLK_INFRA_CA53SEL>, <&apmixedsys CLK_APMIXED_MAINPLL>; clock-names = "cpu", "intermediate"; @@ -179,6 +180,7 @@ reg = <0x100>; enable-method = "psci"; cpu-idle-states = <&CPU_SLEEP_0>; + #cooling-cells = <2>; clocks = <&infracfg CLK_INFRA_CA57SEL>, <&apmixedsys CLK_APMIXED_MAINPLL>; clock-names = "cpu", "intermediate";