From patchwork Fri May 10 13:27:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Kao X-Patchwork-Id: 10938837 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B621B112C for ; Fri, 10 May 2019 13:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A259228BCE for ; Fri, 10 May 2019 13:29:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9605128BE2; Fri, 10 May 2019 13:29:22 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY 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 45AD928BCE for ; Fri, 10 May 2019 13:29:22 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=OpITGvXZIb4TdszVxlEBHlhn758ex7aemTkUiI0TcnE=; b=l5SnWVojn+xdzR fpWHg2Oy/5hhAynmjekQaYSf/x2f3cj4lYudF2pNzIPOcn3vivHZhAq5MYRqY1mN5D0BkPeWwW0rn 7ax5eU/eBzYNeFpuREO70Jn7pTcFJlhQW4mEg4nWmL5Dch0ZVfEm1cpZH7nxRE8P5NGPAAvlU05gF pcmToNf8QE7D4suj61Hx3DOuNj1OraDfqICfAPJ/J0A3ylFQ4TpWnnoB+sAvMPpeHB0f6LKEQGeQN XDmMdOArWt8AMYNhjRgFrZb2vdKxS5txI0QX0PZTTAF90YBHxsgQ/U58lt3tsJxnslPVdNHR2etK6 Q8ZLYg8/khxrlzQIz8SA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hP5aT-0003u0-U2; Fri, 10 May 2019 13:29:21 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hP5aR-0003tD-1U; Fri, 10 May 2019 13:29:20 +0000 X-UUID: 92cc804760f94725af861b0e063b64cf-20190510 X-UUID: 92cc804760f94725af861b0e063b64cf-20190510 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 725766648; Fri, 10 May 2019 05:27:26 -0800 Received: from MTKMBS01N2.mediatek.inc (172.21.101.79) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 10 May 2019 06:27:25 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 10 May 2019 21:27:10 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 10 May 2019 21:27:10 +0800 From: michael.kao To: Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , Matthias Brugger , Subject: [PATCH v2 3/8] arm64: dts: mt8183: Add #cooling-cells to CPU nodes Date: Fri, 10 May 2019 21:27:01 +0800 Message-ID: <1557494826-6044-4-git-send-email-michael.kao@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1557494826-6044-1-git-send-email-michael.kao@mediatek.com> References: <1557494826-6044-1-git-send-email-michael.kao@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 8336847EAA702472685A4546EE562E7D2DA13545CC464BBBB765F6D87EB3AE712000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190510_062919_083457_2F7918CF X-CRM114-Status: GOOD ( 10.79 ) 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: devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "michael.kao" , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The #cooling-cells property needs to be specified to allow a CPU to be used as cooling device. Signed-off-by: Michael.Kao --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 8f9fd9a..bf8b0a8 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -11,6 +11,8 @@ #include #include #include "mt8183-pinfunc.h" +#include + / { compatible = "mediatek,mt8183"; interrupt-parent = <&sysirq>; @@ -59,6 +61,7 @@ reg = <0x000>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -67,6 +70,7 @@ reg = <0x001>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -75,6 +79,7 @@ reg = <0x002>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -83,6 +88,7 @@ reg = <0x003>; enable-method = "psci"; dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu4: cpu@100 { @@ -91,6 +97,7 @@ reg = <0x100>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu5: cpu@101 { @@ -99,6 +106,7 @@ reg = <0x101>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu6: cpu@102 { @@ -107,6 +115,7 @@ reg = <0x102>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu7: cpu@103 { @@ -115,6 +124,7 @@ reg = <0x103>; enable-method = "psci"; dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; };