From patchwork Wed Feb 21 16:29:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 129101 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp809076ljc; Wed, 21 Feb 2018 08:30:06 -0800 (PST) X-Google-Smtp-Source: AH8x2268NpKpCo1qNtCHuQ1xTlIVatf1xtMB/BWdzAs7eP+u4iTBMWViIFEmj1MoazpdfM+Qj98Z X-Received: by 10.101.97.72 with SMTP id o8mr3205204pgv.119.1519230606540; Wed, 21 Feb 2018 08:30:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519230606; cv=none; d=google.com; s=arc-20160816; b=nrBsyEb4HX4f6n9AcDl/5UK/KRBcgTBs8XPzGOAMtw1Ewhx5UJKtpg4wo0Ru5nUH5K 7d+vP/dHWIexv15rBNzyO055rlpV4j8PPQV0uN535qjK5oUoGKAUToOwRTh3RioRV1Y7 MkvtWrgJmLyomfZAVNl17n8XYTfFi82/RAogwpmvuylFtNtV4J1ZySVBPEtSVaslpX7Z HqoAhQc7uVDRD/9ol3D4H6OLZalHHugPobyBc18jIqXMqxr/Dyt6VsOXbGvI1zKxGRQK Oop9M1F1MYQ9A4pEeTFRL5bq81huCp1wwZEdAiWik0O6Osm/4xUlGw/mQV8sRIpeAz/Z P/Mw== 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=lT07cxED8TugVX2TZRaSl+HESVU53He8rIH9se8NPrw=; b=beMnKTWUGi17wmOn0SGV0awtAHcrxth0ltWsboJjEEz0Jt5ar49MyBeo4XfHyM8FN9 WSaC+d//XOD9YwfXwfB9bbE+H3rPO0Nn0Omw5Mjahx6xoW63mAivG4TmX8NtlnoeumTc HiwT+cgwA94ZBeIubNEpVxAIkoa8X9McRFLp8dHjHlv7lXqL5zP0D8il5sV1b21mTYfq kQ8MgEujM0QDnCEOvfv4kYxqWTbsMV9+LfNzLT3gb7ervOsmoc94eE6Npwfiumeafj3T tOTSX9ifD914xjWLSFOPO6IpAjqUO25xrBM/kAqtCqDp/GcH+B3Ic5d9VyeGDe82DD06 YdbQ== 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 72-v6si2901402ple.299.2018.02.21.08.30.06; Wed, 21 Feb 2018 08:30:06 -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 S932614AbeBUQaF (ORCPT + 6 others); Wed, 21 Feb 2018 11:30:05 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:53005 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932328AbeBUQaE (ORCPT ); Wed, 21 Feb 2018 11:30:04 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0M8hmN-1ebWao1Hdb-00wFrp; Wed, 21 Feb 2018 17:29:37 +0100 From: Arnd Bergmann To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , Arnd Bergmann , Olof Johansson , Matthias Brugger , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , "chunfeng.yun@mediatek.com" , Chaotian Jing , Daniel Kurtz , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [v4.15-stable] arm64: dts: add #cooling-cells to CPU nodes Date: Wed, 21 Feb 2018 17:29:19 +0100 Message-Id: <20180221162934.2728048-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:uNkGNBlvrEa55WbfB0nHtYFneKFfOvoB9YRgz03CE7u7kjrPWot KjpNI2VMT9cWd/fRgMG5uRybow1uOo/h9C/K1hM/rK4GontSZxjFLSGFwo4p/k0EynA61Yw BUL88Fjd7k46wYYNt7A0z5RgKz0ObCiDtPxlv1Z5Hezplk2iCKa0M/Z/SaZahc7jTszn5id CTfZbBL7F/4peXlsNaDLQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:Q14ngxBjUtU=:+Hhxn74rXINi6o9bAJxw/3 xfZ+DiNAbNAMsWrOKwQAwwP6UgzsUnnozIsBIHNhd+UQubgiIL3QN9pywntkn97B+xE7TkoV2 BLnOp/7GM0isxu2MHW2Q2+XE3ofO4JkD+ErqB9Dhqji8KPHPLBb3Gea/48UyLQ/dEiIitVjly fSYj0KYprPCreQjj4OehaeYq54Ce7Y0+Vs1NhsFP6FIm3OxGl1earjU8/gvq7ipVEsiSmZbHD oclMOaBL3fhO1+HlTkwR3RZUT31TZp9XTcR3MhkbnMevQMdVY9+tds91OFcTFyeUxzJyKnfiE /KVuZGk+pPOjfYhzkMrDzPQrqgPlFeEdFxWcDzQ/64ZCyE3FnsOhGbmQdCRt6cKepclffz4ce 3QjShKWdlx9WFdzkGOFukJ371qTI6w0iAewTblLsBeG0+QPCXJIZLSLo2QFczrbxPxrgOnw9t ItUQVCH5g+qIK9VY9aQXc2dv8F70aYaMt4GRnmO0urKT8s7gT4EHJvQ1zdovfbyue2BJbvx7Q YLLq/wvKD78pADLRXOV6WcN/7F95CuTc5gjGp8PGeQJ3Yi/QP0EiJG+7K3ULU8DzHu6zkFf2h ss99LTtwiJBjBEipOR9K/gEroYHqOe65geh3Syk8nka2M4uq+FA3t9VyynCt/Vz9FgG2ykDE1 UkhEUvHR1skj5U3liBzZuLpk8V3f7nRaHf0cJ+E+MtpdD1wDxSYbs88xDL5IR2ma00XWc+GxH YESJslxEHSKN5mUXnlyVT7Ts1iTU+X4ynkMGdw== Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org commit acbf76ee05067c3942852019993f7beb69a0f45f upstream. 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 Tested-by: Chunfeng Yun Signed-off-by: Olof Johansson [arnd: backported to 4.15] Signed-off-by: Arnd Bergmann --- 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 diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 26396ef53bde..ea407aff1251 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -81,6 +81,7 @@ reg = <0x000>; enable-method = "psci"; cpu-idle-states = <&CPU_SLEEP_0>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -97,6 +98,7 @@ reg = <0x100>; enable-method = "psci"; cpu-idle-states = <&CPU_SLEEP_0>; + #cooling-cells = <2>; }; cpu3: cpu@101 {