Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753154AbeAJVHm (ORCPT + 1 other); Wed, 10 Jan 2018 16:07:42 -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 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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(+) 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"; -- 2.9.0