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: 10156133 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 8E15A60231 for ; Wed, 10 Jan 2018 21:07:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F8A61FF29 for ; Wed, 10 Jan 2018 21:07:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73F40209CD; Wed, 10 Jan 2018 21:07:48 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 0ED921FF29 for ; Wed, 10 Jan 2018 21:07:48 +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=PyjMRqty4O2phQXnUPu8dg6Da+EIcP9Oa1fBePDs++0=; b=BKi l77oMRjOHgKiG5pXkm001jRYTyW/K9Ss3xcSKb+GuXyq1kyZXGJaAYTROMQiAOwjECyethaUR78Dq ecPLu+Sc29EB0h10dPTF2oaWlxOv5AOML+FNylbwg6eKq4Hca8qoNbBOaRqmg0bHZTlgsReciEVpL isXYyhQZen8Ryy2zg17QDHnZH6bICurBtliYbli1RTwqzrxj575LsVrKP8vv0KXtG5GmpRncMOI2j QH1L491QjG3uKzdiLNQdVfUDlaJT3Y5KZ725c7h3B8Ug308jTWgfPfm0X//pjr/uQS4NN63fVwl2W Pd6lGFnuwUw4k93CJK1ab2m52dtZ1ug==; 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 1eZNb7-0008Aq-8v; Wed, 10 Jan 2018 21:07:45 +0000 Received: from mout.kundenserver.de ([217.72.192.74]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eZNar-0007oJ-GQ; Wed, 10 Jan 2018 21:07:32 +0000 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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180110_130729_977127_67605A5C X-CRM114-Status: GOOD ( 10.37 ) 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, arm@kernel.org, Arnd Bergmann , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, "dawei.chien@mediatek.com" , Rob Herring , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Chunfeng Yun , Chaotian Jing , Andrew-sh Cheng 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 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 --- 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";