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: 10233483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8122960209 for ; Wed, 21 Feb 2018 16:30:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DEE628BBC for ; Wed, 21 Feb 2018 16:30:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7398228C5C; Wed, 21 Feb 2018 16:30:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C6A4C28C1F for ; Wed, 21 Feb 2018 16:30:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=RQby5hY7W/GgMqrX5pD7XviXSNRHL37eQVKFG+eO0rI=; b=Tts hZuiIYknDCme6lC52hllxkxdoEm+3Un1sGb7LcxGvVv/O1L/RQ4D3N5oLlF+hFHXT1cXbuh+UwKGr Vw3fIUVJr/YZLzxvpInQD6msyx22ZibbMY+v85psyGY+jUKN5zolhSZHKAjoMjZUzdohyFibdB+vm dtAtQIH5OttANzvKf3fOM5hWRLQpLOm+aujeDR1t/XNZuuo6gfEpQCOlumUL/4B/OCL/H6EFo/uhX dUWcAP5ZIdgiSiMyH05ZCtnC3EN7w2la4UGUkDflkVyJTZT8902jcYss0Bob1bJzCgNd7wi0QMnPF SBUIr2L7pX0KZ7u3lvVKp9KKuZqB91w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eoXHN-0006NQ-Mb; Wed, 21 Feb 2018 16:30:01 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eoXHJ-0006M1-Nv; Wed, 21 Feb 2018 16:29:59 +0000 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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180221_082958_107460_F06F26DC X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman , Will Deacon , linux-kernel@vger.kernel.org, "chunfeng.yun@mediatek.com" , Matthias Brugger , Rob Herring , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Olof Johansson , Chaotian Jing MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 {